Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Server Timeout on Startup
Server Timeout on Startup [message #175746] Sun, 30 July 2006 08:05 Go to next message
Eclipse UserFriend
Originally posted by: clivejcox.yahoo.co.uk

I have read some posts on this, but hoped some clarification could be given.
My case is: I use tomcat and I get a server timeout message after 45
seconds - my app takes around 1.5 minutes to startup. Changing the Server
preferences "Server timeout delay" to "Longer" or "Long" makes no difference
to the time before this message appears.

A few points:
- I assume this message is just informational, as my app seems to run even
though it comes up.
- Any chance the mysterious "Longer", "Long" could be changed to just a
number of seconds parameter and have it actually be used?

Thanks

Clive
Re: Server Timeout on Startup [message #175958 is a reply to message #175746] Tue, 01 August 2006 13:34 Go to previous messageGo to next message
Eclipse UserFriend
Clive Cox wrote:
> I have read some posts on this, but hoped some clarification could be given.
> My case is: I use tomcat and I get a server timeout message after 45
> seconds - my app takes around 1.5 minutes to startup. Changing the Server
> preferences "Server timeout delay" to "Longer" or "Long" makes no difference
> to the time before this message appears.
>
> A few points:
> - I assume this message is just informational, as my app seems to run even
> though it comes up.
> - Any chance the mysterious "Longer", "Long" could be changed to just a
> number of seconds parameter and have it actually be used?

Tomcat reports how many milli seconds it took for the server startup to
complete.

What does it report. It looks something like:

Aug 1, 2006 4:32:01 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3563 ms


If there a legitimate reason for the long startup ? Its usualy caused
by long running ContextListener's. Maybe you are using really complex
Hibernate+Spring ?

I have a helper class that delegates the startup of Hibernate to a
background thread but only under my development environment. This gives
me faster code/debug/test cycles.

Darryl
Re: Server Timeout on Startup [message #175966 is a reply to message #175746] Tue, 01 August 2006 13:52 Go to previous message
Eclipse UserFriend
I believe the default timeout was 45s for Tomcat 5.0.x and 5.5.x, and
30s for Tomcat 4.0.x and 4.1.x. Choosing "Longer" only increased it to
slightly less than double the default. So even "Longer" may have been
too short for your app, even for Tomcat 5.x. Changes have been made for
WTP 1.5.1 that will improve this. See:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=151993

Cheers,
Larry

Clive Cox wrote:
> I have read some posts on this, but hoped some clarification could be given.
> My case is: I use tomcat and I get a server timeout message after 45
> seconds - my app takes around 1.5 minutes to startup. Changing the Server
> preferences "Server timeout delay" to "Longer" or "Long" makes no difference
> to the time before this message appears.
>
> A few points:
> - I assume this message is just informational, as my app seems to run even
> though it comes up.
> - Any chance the mysterious "Longer", "Long" could be changed to just a
> number of seconds parameter and have it actually be used?
>
> Thanks
>
> Clive
>
>
>
>
Previous Topic:more path questions
Next Topic:BEA WebLogic Server 9.2-pluggin ???
Goto Forum:
  


Current Time: Tue Jul 08 03:21:12 EDT 2025

Powered by FUDForum. Page generated in 0.04719 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top