Hi

Maybe you should implement a polling mechanism where the client can ask wether the data is available or not...

The session timeout has nothing to do with the http timeout. The session timout only defines the time after tomcat frees the resources hold by the session - which is used to identify a client doint multiple requests.

greets,
mike

Altug B. Altintas wrote:

Hi Rob,

Tomcat closes my connection on applications in 60 minutes,  i have measured
it.

I downloaded tomcat sources and i found that WebdavServlet.java file has a
field

 /**
    * Default lock timeout value.
    */
   private static final int DEFAULT_TIMEOUT = 3600;

i think this value cannot be changed from outside (from conf files ... )

Any idea ? Build it again ?

Regards
Altug.




----- Original Message ----- From: "Rob Harrington" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, January 29, 2004 3:51 PM
Subject: Re: request timeout - page cannot be displayed





I may have a similar problem.  See my message from
yesterday:
"connectionTimeout and disableUploadTimeout"

Assuming you've got something like this in web.xml:

 <session-config>
   <session-timeout>360</session-timeout>
 </session-config>

that should take care of your session (the above
allows for a 6 hour session).

However, there appears to be a separate 'connection
timeout' or 'request timeout' concept which will
prevent a long request's results from ever displaying.
60 minutes seems to be the limit, but I haven't
pinned this down.

I've tried using 'connectionTimeout' and
'disableUploadTimeout' but neither seems to have any
effect.

Sorry to answer your question with a question, but
maybe we can pursue this together.

-Rob


--- "Altug B. Altintas" <[EMAIL PROTECTED]> wrote:


Hi
We have got a page which process a request for a
long time (because of algoritm) so we set
"session-timeout = 1000" in web.xml
but if the user request this page, it starts to
process and then after a time (~30 min) browser
gives "page cannot be displayed" but the request is
still be processed in server so the user cannot see
anything. Which parameter can i set to solve this
problem.

Regards
Altug


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to