Atea - Hero's Grave

面向对象,开源,框架,敏捷,云计算,NoSQL,商业智能,编程思想。

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  40 随笔 :: 0 文章 :: 28 评论 :: 0 Trackbacks
以前没碰到过这种问题,在eclipse下只转过Tomcat,没超时过。
后来奔向了netbeans。据我所知netbeans没有server超时设定,时间太长的话项目build会失败但server总是能起来。这样再build项目的话运行是没问题的。

如今项目要用eclipse转JBoss,于是遇到了timeout:

'Starting SERVER_NAME' has encountered a problem.
Server SERVER_NAME was unable to start within 50 seconds. If the server requires more time, try increasing the timeout in the server editor.

找了半天没找到server editor...
当时不能上网,就一个个文件点开排查。
最后找到了修改方法:
编辑servers.xml(your_workspace/.metadata/.plugins/org.eclipse.wst.server.core/servers.xml),搜索"start-timeout",把值改大,比如start-timeout="50000"。当然,需要重启eclipse。

PS:刚才搜索到了另一个方法,明天再试试:
Double-click the server in the Servers view to open the server editor. Then expand the Timeouts section on the right side of the editor.
posted on 2008-09-03 18:07 Atea 阅读(3850) 评论(3)  编辑  收藏 所属分类: IDE

评论

# re: 用eclipse启动server超时的解决办法 2008-09-03 20:11 Kevin Chen
汗死,双击你添加的服务器,会出现一个可编辑的面板,有个Timeout的可以设置的,哪里需要那么复杂  回复  更多评论
  

# re: 用eclipse启动server超时的解决办法[未登录] 2008-09-04 08:28 Atea
@Kevin Chen
呵呵,也就是方法2。找到了..  回复  更多评论
  

# re: 用eclipse启动server超时的解决办法 2008-11-18 11:50 啊啊阿
方法3:
直接点击ECLIPSE 的菜单 WINDOWS-->preferences,选择SERVER,进行设置  回复  更多评论
  


只有注册用户登录后才能发表评论。


网站导航: