This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat timeout error

 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?


 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any help guys ??
 
Misha Ver
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i fixed it i reinstalled the tomcat server !!! i don't know what was the problem but this solved it !!
 
Jeevan Sunkersett
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys ,
As far as i remember that i fixed this issue by restarting the machine and all went fine !!!
 
Bai Shen
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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&
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unfortunately re-installing Tomcat in Eclipse did not work for me.
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good to hear that ..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic