Tag Archives: _DEBUGGER _03 _Server Tomcat v8.0 Server at localhost was unable to start within xx seconds

_DEBUGGER _03 _Server Tomcat v8.0 Server at localhost was unable to start within xx seconds

Summary of experience_ DEBUGGER _ 03 _ Server Tomcat v8.0 Server at localhost was unable to start within xx seconds

A good web project is running. Tomcat can’t open it for some reason. The error is as follows:

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

Through the phenomenon and Baidu search analysis, draw conclusions and solutions

Let’s look at the solution first:

Double click the Tomcat server under the server directory of eclipse

Modify the timeout value of Tomcat startup. Generally speaking, lengthening the startup time can be solved directly

Analysis reason:

According to what I observed: start directly can be started, and the debugger will start timeout. After adjusting the time length, if you hit many breakpoints and start again through the debugger, it will also timeout

Conclusion: it can be considered that the space occupied by direct startup is less than that occupied by debugger as much as possible, and the amount of data loaded in the space occupied by debugger startup will also increase, which will lead to the long time and side length required to start tomcat, and the startup will fail if the limited startup time is exceeded, From this experience, the debugger will take 3 to 5 times more startup time than direct start (I increased the original 45s startup time to 180s before successful startup). The more breakpoints, the longer the debugger will take to start.