JSF/ICEFaces 渲染响应时间很长

发布于 2024-07-30 10:05:29 字数 254 浏览 4 评论 0原文

我有一个 JSF/ICEFaces 应用程序,工作正常,但突然间它开始在渲染响应阶段花费非常长的时间! 我可以从控制台看出 java 部分完成得很好,但显示网页需要 10 分钟!

我使用 JBoss 作为我的应用程序服务器。

您能告诉我如何调试这个问题吗? 我什至不知道从哪里开始。 请告诉我在这里放置一些代码是否有助于了解问题的根源。 首先,您认为这是 JBoss 问题还是应用程序问题?

谢谢,

I have a JSF/ICEFaces application that was working fine but all of the sudden it started taking sinfully long time in rendering response phase! I can tell from the console that the java part completes fine but it takes like 10 minutes to display the web page!

I'm using JBoss as my application server.

Could you please tell me how to go about debugging this problem? I don't even know where to start. Please tell me also if putting some code here will help in knowing the root of the problem. To start with, do you think it's a JBoss problem or application problem?

Thanks,

Tam

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

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

发布评论

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

评论(2

南烟 2024-08-06 10:05:29

阅读 BalusC:调试 JSF 生命周期

是您的页面特别复杂? 例如,如果您有一个大型数据表,其中每行都包含逻辑,那么渲染阶段可能需要很长时间。

Have a read of BalusC: Debug JSF lifecycle

Is your page particularly complex? For example if you have a large dataTable where each row contains logic then the render phase may take ages.

冷清清 2024-08-06 10:05:29

您可以尝试使用 Firebug 等工具来查看是否有一些 Ajax 功能阻止渲染过程。 据我所知,IceFaces 很大程度上依赖于在应用程序的服务器端执行所有操作,然后将结果发送到浏览器进行显示。
也许您对组件的使用会产生大量与服务器的通信,或者组件无法更新。

我会研究 IceFaces,事实证明,在我使用它的过程中,它一直不稳定且容易出现问题。 他们有自己的论坛,您经常可以在其中找到问题的答案。 我认为是在 Icefaces.org 上。 但如果不了解更多,我无法真正判断问题出在哪里。

You could try to use tools like Firebug to see if there is some Ajax functionality that blocks the render process. IceFaces as I know it relies heavily on doing everything on the serverside of the application and then send the results to the browser for displaying.
Maybe your use of the components generates a lot of communication to the server or the component can not be updated.

I would look into IceFaces it has proven as unstable and problem prone all the times I worked with it. They have a own forum where you often find an answer to your problems. I think it is on Icefaces.org. But without knowing more I can't really tell where the problem is.

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