Thursday, December 24, 2009

Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. What if the server requires more time?

Problem: Debugging a web app on Tomcat within Eclipse that takes more than 45 seconds to start-up, which prompts the following message:

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.

Solution: I'm not sure where the server editor is located, but changing the start-timeout="45" in workspace\.metadata\.plugins\org.eclipse.wst.server.core\server.xml would help, make sure restart eclipse after the change.

13 comments:

  1. Thank you, it was useful also for me!

    ReplyDelete
  2. it helped me too..thanks!

    ReplyDelete
  3. it Works!! just change n restart eclipse.. :) enjoy power coding..

    ReplyDelete
  4. You just have to double click the server in Eclipse, in the servers perspective, when you double clic it you will see a window showing server config and a section named Timeouts.

    hope it work for you.

    itjrodrigu@gmail.com

    ReplyDelete
  5. i did time out 90 then my eclipse is working perfectly

    ReplyDelete