简体   繁体   中英

Tomcat Server Timeout in Eclipse

I'm having problems with my Tomcat Server in eclipse. I get the following timeout 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.

And this is what I get in the console:

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

Could someone please help me?

Thanks in advance

In Eclipse goto

Servers view => double click tomcat => drop down the Timeouts section.

Update time as per your requirement.

Also refer to this URL for in detail steps.

Go to Windows option -> select Preference .

Than Select General -> Network Connection .

Than select the Active Provider as Manual .

Then restart the tomcat. It will works.

Hope it will help you.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM