Tam
Tam

Reputation: 12042

JSF/ICEFaces takes very long time in rendering response

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

Upvotes: 1

Views: 5835

Answers (2)

Damo
Damo

Reputation: 11550

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.

Upvotes: 1

Janusz
Janusz

Reputation: 189484

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.

Upvotes: 1

Related Questions