server at localhost was unable to start within 45 seconds的解决办法
来源:互联网 发布:简单的平面设计软件 编辑:程序博客网 时间:2024/06/06 01:03
在网上查了好多资料,大部分童鞋在遇到此问题时的做法是去更改Tomcat的start-timeout配置参数,把超时时间改的长一些。我的eclipse是galileo版本。具体做法是:
双击servers的选项卡里的Tomcat服务器(注意是双击哦),打开Tomcat的配置视图 --> 在页面右半部分有个Timeouts配置项,点开,更改‘start(in seconds)’参数值为100或更大 --> 然后保存配置。
按理说这样就OK了。但是我却惊奇的发现问题并没有解决。我在思考,难道是tomcat出了问题?于是换了个tomcat,果然,tomcat可以正常启动了。但是,问题出在哪了呢?对比这两个Tomcat Server的配置视图时,我发现了在Timeouts配置项下面有个Ports配置项。两者有差别。不正常的server下缺少一个port name 为 "HTTP/1.1" 、port number为 "8080" 的配置项。此时恍然大悟。随后在Project Explorer里打开Servers---server.xml。发现以下代码被注释掉了:
双击servers的选项卡里的Tomcat服务器(注意是双击哦),打开Tomcat的配置视图 --> 在页面右半部分有个Timeouts配置项,点开,更改‘start(in seconds)’参数值为100或更大 --> 然后保存配置。
按理说这样就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"/>
0 0
- server at localhost was unable to start within 45 seconds的解决办法
- Server at localhost was unable to start within 45 seconds
- Server at localhost was unable to start within 45 seconds
- Server at localhost was unable to start within 45 seconds
- Server at localhost was unable to start within 45 seconds解决办法
- Server at localhost was unable to start within 45 seconds解决办法
- Server at localhost was unable to start within 45 seconds解决办法(测试中)
- Server at localhost was unable to start within 45 seconds解决办法
- Server at localhost was unable to start within 45 seconds解决办法
- Server at localhost was unable to start within 45 seconds解决办法
- Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds 的解决方法
- myeclipse启动tomcat遇到Server at localhost was unable to start within 45 seconds的问题
- Eclipse Server Tomcat v7.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.
- 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
- 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
- InstallShield基本操作
- 依赖注入框架Autofac的简单使用
- VxWorks任务调度与中断
- 1001. 害死人不偿命的(3n+1)猜想 (15)
- iOS下的Notification的使用
- server at localhost was unable to start within 45 seconds的解决办法
- poj 2251 Dungeon Master
- LeetCode Insert Interval
- 4.2 ForkJoin_拆分任务
- Listener实践
- 河北拓睿网络科技有限公司
- 青岛城乡客运一体化 市区校车智能系统加强
- nrpe
- mybatis入门学习