码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-07-23 09:32:49      阅读:142      评论:0      收藏:0      [点我收藏+]

标签:

tomcat超时解问题

在eclipse启动tomcat时遇到超时45秒的问题:

错误:Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds

错误提示就是我们限定了部署的时间导致的错误。
修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。 
把其中的start-timeout="45" 改为  start-timeout="100" 或者更长,根据不同同学的工程大小来设置。
最后重启eclipse就可以了。

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.

解决办法。


1.在 eclipse菜单-》window->preferencs里找到server 中最下面一项:server timeout delay 设置成 Unlimited 即可!
但是eclipse 3.6,3.7中没有找到这一选项。


2.修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。
  <font color="ed1c24">start-timeout="1000"</font> stop-timeout="15" testEnvironment="true" timestamp="5"></div> <div>    <list key="modules" value0="newkia::org.eclipse.jst.jee.server:newkia::jst.web::2.5"/></div> <div>  


把 start-timeout="45" 改为 start-timeout="1000" 或者更长


记得要重启eclipse

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

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

标签:

原文地址:http://blog.csdn.net/xiaole0313/article/details/47016425

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!