Wednesday, January 22, 2014

Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds

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.

Problem :


We come across this common exception when start / restart tomcat web server and it doesn't start in default 45 seconds.

Exception I Encountered Was :


###################################################################################################################

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 :


Generally this exception is caused when Tomcat Server doesnt start within the default server startup time which is 45 second. To resolve this you can increase the server timeout settings as explained below.

Example :


- Double click on the server in eclipse
- In Overview tab select Timeouts
- For Start (in seconds) increase the time in seconds appropriately
- Save and restart the server
- This should resolve the exception.

Similar Exception :

     
- 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


No comments:

Post a Comment