---- "Bjørn T Johansen" <[EMAIL PROTECTED]> schrieb:
> I am having a problem with an myfaces application... They are working on 
> shifts, so I have set a long session
> timeout, so they don't have to login and out all the time... (Have set it to 
> 720 )
> The problem is, that when they have been away from the application a long 
> time and then get back, the application
> has long delays (and we are talking about several minutes) from starting to 
> wait for a page and until it is
> rendered... This does not happend if they logout when they stop using the 
> application and then log in again when
> they want to use it again...
> 
> Is there some config I am missing or is this an IE bug or? Any suggestions?

I have not heard of this before, or experienced it myself.

I cannot imagine how it could be a myfaces issue. It could be a servlet engine 
one, where the session has been serialized to disk and is not being brought 
back in promptly. But more likely there is an IE or network issue such that the 
connection to the server is failing initially, the browser is waiting for a 
timeout, then it is again trying and succeeding.

I suggest that you try some tests.

One would be to use Firefox, with the LiveHeaders addon enabled. If you do not 
get the same behaviour then it is an IE problem; if you do get the problem then 
the data logged by the LiveHeaders addon should help.

Another thing to try would be to add a filter to your web.xml which just logs 
how long each request takes. If the problem is inside the server (whether the 
server itself, or myfaces code somehow) then it will show up pretty clearly.

Regards,
Simon

Reply via email to