Websphere 门户、jboss portlet 桥、jsf、richfaces、facelets - HTTP 500 OK 消息 - a4j 模式面板、丰富工具提示的问题

发布于 2024-12-17 10:51:13 字数 912 浏览 0 评论 0原文

我们正在使用以下内容: Websphere 门户 6.1.0.2 Websphere 应用服务器 7.0.0.17 丰富的面孔 - 3.3.3 Facelets - jsf-facelets-1.1.15 战斧12 - 1.1.9 Jboss portletbridge - 2.1 Final

此配置在我们的门户环境中大部分工作正常,并且在直接通过应用程序/门户服务器访问时完全工作。

当通过 IHS Web 服务器访问时,所有页面都会出现,但是当通过 firebug/httpfox 等查看时,会在 richfaces 和 a4j 相关资源(如 org.ajax4jsf.javascript.AjaxScript 和 org.ajax4jsf.javascript.PrototypeScript)上看到 HTTP 500 OK 消息, org/richfaces/renderkit/html/scripts/jquery/jquery.js 和org/richfaces/renderkit/html/scripts/tooltip.js

如果我查看这些文件的内容,它包含所有数据,但对于这些资源的 GET 请求只有 500 OK 标记,并且浏览器会忽略使用那些资源。我尝试过 firefox、IE 7/8、chrome,模式面板和工具提示不起作用,在 IE 中它抱怨 AFJ 未定义、工具提示未定义等。我浏览了论坛并尝试了很多建议,但并不幸运。也尝试过直接提供资源,但也不太幸运。

正如我之前所说,直接通过 Websphere 门户服务器访问它时效果很好。所有组件都工作正常。

因此,想向了解堆栈溢出的人核实一下,他们是否可以解释为什么我在通过 Web 服务器访问时会收到有关 A4J、Tooltip、ModalPanel undefined 的错误(尽管所需的资源看起来已正确发送,但已被标记)并显示 500 OK 错误消息)。我可以提供任何必要的其他详细信息。

感谢您为解决这个谜团提供的任何帮助。

We are using the following:
Websphere Portal 6.1.0.2
Websphere App Server 7.0.0.17
Richfaces - 3.3.3
facelets - jsf-facelets-1.1.15
tomahawk12 - 1.1.9
Jboss portlet bridge - 2.1 final

This configuration is mostly working fine on our portal environment and completely works when accessed through app/portal server directly.

When accessed through the IHS web server, all the page comes up but when looked through firebug/httpfox, etc see HTTP 500 OK messages on richfaces and a4j related resources like org.ajax4jsf.javascript.AjaxScript and org.ajax4jsf.javascript.PrototypeScript, org/richfaces/renderkit/html/scripts/jquery/jquery.js and org/richfaces/renderkit/html/scripts/tooltip.js

If I look at the content for those files, it has every bit of data, but just a stamp of 500 OK for the GET request for those resources and the browser is ignoring using those resources. I have tried firefox, IE 7/8, chrome and the modal panel and tooltip does not work and in IE it complaing AFJ undefined, tooltip undefined, etc. I have scoured throuh forums and have tried a lot of suggestions and have not been lucky. Have also tried making the resources available directly, but have not been lucky with that as well.

Like I said earlier, it works just fine when accessing it through Websphere portal server directly. All the components work just fine.

So, wanted to check with knowledgable people on stack overflow if they can shed any light on why I get errors about A4J, Tooltip, ModalPanel undefined when accessing through a web server (eventhough the resources needed looks like is being sent correctly except its been stamped with a 500 OK error message). I can provide any additional details necessary.

Appreciate any help in getting this mystery solved.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

笑咖 2024-12-24 10:51:13

我对在 WAS+IHS 中运行的应用程序有同样的问题,但是...我认为问题是由 IHS 引起的,因为没有 IHS,WAS 返回 200 OK。

也许您应该看到这个链接解释一些关于编写重定向规则。

I have the same problem with an application running in WAS+IHS but... I think that, the problem is caused by IHS, because without IHS, WAS returned 200 OK.

Maybe you should see this link explain something about write a rule for REDIRECT.

或十年 2024-12-24 10:51:13

我们解决了问题。问题是 IHS 有一个 ESI 设置 - 通过插件启用边缘缓存。与 IBM 合作后,他们要求我们将 ESI 缓存属性设置为 false,它也开始从 Web 服务器和 F5 工作。

We got the issue resolved. The problem was IHS had a setting for ESI - edge side caching enabled through the plugin. After working with IBM, they asked us to set the ESI caching property to false and it started working from web server adn F5 as well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文