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.