启动Tomcat报(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

一、概述:本人在部署ssh项目环境后,启动tomcat6.0中,eclipse弹出一个错误提示框,错误如上所示。经过上网调查,整理了一下解决方案。

二、解决方案:

1.直接修改ecplise的文件配置。

打开WorkSpace下文件为
 .metadata\.plugins\org.eclipse.wst.server.core\servers.xml, 打开文件。把其中的start-timeout="45"
改为  start-timeout="100" 或者更长,根据不同同学的工程大小来设置。最后重启eclipse就可以了。

2.通过Eclipse界面修改。

双击Servers的选项卡里的Tomcat服务器,打开如下界面,在页面右半部分有个Timeouts配置项,点开,更改‘start(in
seconds)’参数值为100或更大 --> 然后保存配置。

3.整理其他人出现的问题(仅供参考)。

按理说这样就OK了。但是我却惊奇的发现问题并没有解决。我在思考,难道是tomcat出了问题?于是换了个tomcat,果然,tomcat可以正常启动了。但是,问题出在哪了呢?对比这两个Tomcat
Server的配置视图时,我发现了在Timeouts配置项下面有个Ports配置项。两者有差别。不正常的server下缺少一个port name 为 "HTTP/1.1" 、port number为 "8080" 的配置项。此时恍然大悟。随后在Project Explorer里打开Servers---server.xml。发现以下代码被注释掉了:

<Connector connectionTimeout="20000" executor="tomcatThreadPool" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>

<Connector connectionTimeout="20000" executor="tomcatThreadPool" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>。

版权声明:本文为博主原创文章,未经博主允许不得转载。

时间: 2024-12-13 09:43:43

启动Tomcat报(Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds)的问题的相关文章

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

在eclipse里启动tomcat的时候出现以下的错误: Server Tomcat v6.0 at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.在servers view里,双击server,会打开该server的设置窗口,在右上部有Timeouts的设置部分,设置timeout

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... 当启动tomcat时候出现 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 serve

(转)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... 当启动tomcat时候出现 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 serve

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

eclipse 中tomcat启动超时报错如下: Starting Tomcat v7.0 Server at localhost' has encountered a problem 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 edit

Tomcat启动超时问题Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds

Tomcat启动超时问题Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds 学习了:https://www.cnblogs.com/qupengkun/p/4897100.html 原来双击还可以出现内容:

报错: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.

翻译:本地主机上的Tomcat v7.0服务器无法在45秒内启动.如果服务器需要更多时间,请尝试在服务器编辑器中增加超时时间. 原因:无法在45秒内启动. 解决:增加tomcat的Timeouts. Tomcat v7.0 Server at localhost(stoped) - (右键选择)open - Timeouts - 设置start (in seconds)为145. 参考: 解决 Tomcat v7.0 Server at localhost was unable to start

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.

在部署的时候出现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.也就是我们限定了部署的时间导致的错误,经过在网上的查找,找到了以下的解决方案: 我们找到当前工程的workplace目录,然后按下面的操作:找到workspace\

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

用SSM搭建的项目,部署时出现了以下错误 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. 启动时间设置得太短,导致无法正常启动. 我使用的是MyEclipse2015,直接通过页面进行修改 也可以通过修改配置文件的方式解决:

Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires

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. 问题描述: OS:Windows 7 x64 Eclipse: Eclipse Java EE IDE for Web Developers.Version: Luna Serv