aspose file tools*
The moose likes Tomcat and the fly likes tomcat timeout error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat timeout error" Watch "tomcat timeout error" New topic
Author

tomcat timeout error

Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Hi Guys ,
i'm trying to run my Tomcat server this error occurs then the server stops :



here is the log :



I tried to increase the timeout but still the above error occurs .. !!!

Any recommendations ?



Thanks,
Sherif
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Any help guys ??
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
Sherif Shehab wrote:Hi Guys ,
i'm trying to run my Tomcat server this error occurs then the server stops :



I tried to increase the timeout but still the above error occurs .. !!!



How did you change timeout if it is still show the same 45 seconds? What environment are you using?
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Hi ,

I changed it to 60 secs then make it back to 45 , Myeclipse , windows xp and tomcat 6.0.14
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
Sherif Shehab wrote:Myeclipse


in this case it would be better to ask in http://www.coderanch.com/forums/f-12/IDEs-Version-Control-other-tools
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

i fixed it i reinstalled the tomcat server !!! i don't know what was the problem but this solved it !!
Jeevan Sunkersett
Ranch Hand

Joined: Jul 03, 2007
Posts: 77
Where exactly to change to increase the Tomcat timeout (I assume is the default) value from 45?

Note: this is not the session timeout value .... but the timeout referred to in this error....

>>Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.

Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Hi Guys ,
As far as i remember that i fixed this issue by restarting the machine and all went fine !!!
Bai Shen
Ranch Hand

Joined: Sep 24, 2008
Posts: 323
Jeevan Sunkersett wrote:Where exactly to change to increase the Tomcat timeout (I assume is the default) value from 45?

Note: this is not the session timeout value .... but the timeout referred to in this error....

>>Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.



It's an Eclipse setting. But changing it doesn't help as Tomcat starts within a couple seconds, but for some reason Eclipse doesn't recognize that and times out. Or at least that's what I've been able to tell.
Lars Vogel
Ranch Hand

Joined: Oct 10, 2007
Posts: 55
Check out the following thread on the Eclipse forums there the same problem is discussed: http://www.eclipse.org/forums/index.php?t=msg&goto=511764&

Tutorials about Java, Eclipse and Webprogramming http://www.vogella.de
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Guys ,
the best solution i have tried is to remove the server then make a new one , this worked with me fine ...
Lars Vogel
Ranch Hand

Joined: Oct 10, 2007
Posts: 55
Unfortunately re-installing Tomcat in Eclipse did not work for me.
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Lars Vogel wrote:Unfortunately re-installing Tomcat in Eclipse did not work for me.


Lars ,

in this case you need to install the eclipse again from it's site then unzip it , then work with a fresh installation
Lars Vogel
Ranch Hand

Joined: Oct 10, 2007
Posts: 55
Thanks. So a "real" full installation is required (Eclipse + Tomcat). I think that is a little bit to extreme. I'll try to work on this issue with my friends from Eclipse and hope that we find a simpler solution.

But thank you for advice; I'll try your suggestion. In case I find a simpler solution I'll post it to this thread.
Lars Vogel
Ranch Hand

Joined: Oct 10, 2007
Posts: 55
Starting Eclipse with -clean worked for me.

I have summerized how to analyse the problem in a small blog entry which can be found here:

Apache Tomcat 6.0 Server Unable to Start.
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Good to hear that ..
 
Don't get me started about those stupid light bulbs.
 
subject: tomcat timeout error