Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Server Timeout on Startup
Server Timeout on Startup [message #175746] Sun, 30 July 2006 12: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 17:34 Go to previous messageGo to next message
Darryl Miles is currently offline Darryl MilesFriend
Messages: 123
Registered: July 2009
Senior Member
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 17:52 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
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: Thu Sep 19 01:58:49 GMT 2024

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

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

Back to the top