eclipse中jboss启动时提示超时

来源:互联网 发布:海纳百川软件 编辑:程序博客网 时间:2024/04/29 05:13
Server JBoss v4.2 at localhost was unable to start within 50 seconds.
If the server requires more time, try increasing the timeout in the server editor.

在window->preferences->JBoss-IDE->Jboss Server里却不能设置超时时间

搜到一个解决办法
把原先配置全部清除(干脆用一个新的eclipse),
修改clipse/plugins /org.eclipse.jst.server.generic.jboss_1.5.205.v200805140145下的plugin.xml文件,
将50000该大一点就可以了

实验后发现不行,估计是eclipse需要用新的,未启动过的。
后来发现下面的方法可以,共享给大家:
F:/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/servers.xml
<server auto-publish-setting="1" hostname="localhost" id="JBoss v4.2 at localhost" name="JBoss v4.2 at localhost" runtime-id="JBoss v4.2" server-type="org.eclipse.jst.server.generic.jboss42" server-type-id="org.eclipse.jst.server.generic.jboss42" start-timeout="50" stop-timeout="15" timestamp="7">
把 start-timeout="50" 改为  start-timeout="120"
重启eclipse就可以了

原创粉丝点击