• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

tomcat timeout error

 
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?


 
S Shehab
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any help guys ??
 
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
S Shehab
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Sherif Shehab wrote:Myeclipse



in this case it would be better to ask in https://coderanch.com/forums/f-12/IDEs-Version-Control-other-tools
 
S Shehab
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !!
 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
S Shehab
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !!!
 
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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&
 
S Shehab
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unfortunately re-installing Tomcat in Eclipse did not work for me.
 
S Shehab
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
S Shehab
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good to hear that ..
 
Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic