Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: request timeout - page cannot be displayed

Altug B. Altintas

2004-01-29

Replies:

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" <robot252@(protected)>
To: "Tomcat Users List" <tomcat-user@(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" <altuga@(protected):
> > 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: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.