3

我在 Eclipse 中的 Tomcat 服务器出现问题。我收到以下超时错误:

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.

这就是我在控制台中得到的:

Nov 03, 2013 11:59:57 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program   Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;.
Nov 03, 2013 11:59:58 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property    'source' to 'org.eclipse.jst.jee.server:Gift Registry Application' did not find a matching property.
Nov 03, 2013 11:59:59 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Nov 03, 2013 11:59:59 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Nov 03, 2013 11:59:59 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3088 ms
Nov 03, 2013 11:59:59 AM org.apache.catalina.core.StandardService startInternal 
INFO: Starting service Catalina
Nov 03, 2013 11:59:59 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
Nov 03, 2013 12:00:03 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Nov 03, 2013 12:00:03 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Nov 03, 2013 12:00:03 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3796 ms

有人可以帮我吗?

提前致谢

4

3 回答 3

13

在 Eclipse 中转到

服务器视图 => 双击 tomcat => 下拉超时部分。

根据您的要求更新时间。

另请参阅URL 了解详细步骤。

于 2013-11-03T17:12:59.440 回答
5

转到Windows 选项 -> 选择 Preference

选择 General -> Network Connection

比选择 Active Provider 作为Manual

然后重启tomcat。它会起作用。

希望它会帮助你。

于 2014-11-03T08:33:05.477 回答
1

对我来说,将开始时间从 45 秒更改为 10 分钟,并在启动服务器后等待 5 分钟解决了问题。

于 2016-08-20T12:49:54.753 回答