Debug Mode timeout Tomcat

Global Warrior picture Global Warrior · May 28, 2012 · Viewed 11.4k times · Source

I try to start my Tomcat in debug mode but it throws the following error:

Server Tomcat v7.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

I even tried to update the timeout time but it still gets timed out. But, when I try to start the tomcat (in non debugging mode) it starts normally. Any idea what might be causing problem?

Answer

Global Warrior picture Global Warrior · Jul 4, 2012

Figured out the reason. If we have too many breakpoints the debug mode strangely takes too much time to start. Disable all the breakpoints and start in debug mode, when started enable the breakpoints as needed.