[标题]:[转]JBoss was unable to start within 50 seconds
[时间]:2009-5-14
[摘要]:在Eclipse中JBoss不能正确启动,Java EE,J2EE
[关键字]:超时,JBoss,
[环境]:jboss-5.0.1.GA、Eclipse for Java EE:version3.4.1、Windows XP SP3
[作者]:Winty (wintys@gmail.com) http://www.blogjava.net/wintys
[错误]:
在Eclipse中启动JBoss 5.0时出现如下错误:
Server JBoss v5.0 at localhost was unable to start within 50 seconds. If the server requires more time, try increasing the timeout in the server editor.
[原因]:
50seconds不够用,当然要增加时间,才能完成启动。
[解决]:
方法一:
在EclipseWorkBench\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml中,将start-timeout="50"改成start-timeout="500"
servers.xml:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<servers>
<server hostname="localhost" id="JBoss v5.0 at localhost" name="JBoss v5.0 at localhost" runtime-id="JBoss v5.0" server-type="org.eclipse.jst.server.generic.jboss5" server-type-id="org.eclipse.jst.server.generic.jboss5" start-timeout="500" stop-timeout="15" timestamp="2">
<map jndiPort="1099" key="generic_server_instance_properties" port="8080" serverAddress="127.0.0.1" serverConfig="default"/>
<list key="modules" value0="MyEJBTest::org.eclipse.jst.jee.server:MyEJBTest::jst.web::2.5" value1="MyHelloWorld::org.eclipse.jst.jee.server:MyHelloWorld::jst.ejb::3.0"/>
<list key="Generic_Server_Modules_List" value0="org.eclipse.jst.jee.server:MyEJBTest" value1="org.eclipse.jst.jee.server:MyHelloWorld"/>
</server>
</servers>
方法2:
在EclipseForJavaEE\plugins\org.eclipse.jst.server.generic.jboss_1.5.205.v200805140145\plugin.xml中,将id="org.eclipse.jst.server.generic.jboss5"的serverType标签属性startTimeout="50000"改成startTimeout="500000"
<serverType
runtime="true"
class="org.eclipse.jst.server.generic.core.internal.GenericServer"
id="org.eclipse.jst.server.generic.jboss5"
initialState="stopped"
supportsRemoteHosts="false"
runtimeTypeId="org.eclipse.jst.server.generic.runtime.jboss5"
description="%jboss5serverTypeDescription"
launchConfigId="org.eclipse.jst.server.generic.core.launchConfigurationType"
behaviourClass="org.eclipse.jst.server.generic.core.internal.GenericServerBehaviour"
name="%jboss5serverTypeName"
startTimeout="500000"
stopTimeout="15000"
hasConfiguration="false"
launchModes="run,debug,profile">
</serverType>
[参考资料]:
[1] Eclipse JBoss5Beta4 struts问题 : http://topic.csdn.net/u/20080627/10/d4168af3-a8b3-4db5-8eaf-4773b9cce8b8.html
[2] eclipse中jboss启动时提示 50 seconds 超时 : http://www.cnblogs.com/ztf2008/archive/2009/03/20/1417579.html
分享到:
相关推荐
jboss jbpm 5.0 最新版jboss jbpm 5.0 最新版jboss jbpm 5.0 最新版jboss jbpm 5.0 最新版jboss jbpm 5.0 最新版jboss jbpm 5.0 最新版jboss jbpm 5.0 最新版
jboss-5.0工具jboss-5.0工具jboss-5.0工具jboss-5.0工具jboss-5.0工具
Drools Jboss Rules 5.0 Developer's Guide, This book guides you through various features of Drools, such as rules, ruleflows, decision tables, complex event processing, Drools Rete implementation with ...
jboss-5.0.0.GA.zip 分为两卷 jboss5.0.part1.rar jboss5.0.part2.rar
jboss-5.0.0.GA.zip 分为2卷: jboss5.0.part1.rar jboss5.0.part2.rar
Drools JBoss Rules 5.0 Developer's Guide Drools 5.0开发教程
JBOSS5.0配置详解.docx
- JBoss出品 - 支持dropins安装 - Eclipse Neon上安装成功
netty5.0源码包 + 需要的所有jar包 + 例子 解压导入eclipse即可运行
Jboss启动报Failed to parse WEB-INFweb.xml; - nested throwable错误
JBoss.at.Work.A.Practical.Guide.Oct.2005.chm
jboss-eap-5.0.2.zip,来自于官网,因为改动代码需要用到比较老的jboss-eap包,所以自己找到了这个资源,免费共享给大家,适用于JDK1.6
yeclipse7.0+JBoss5.0测试EJB3.0环境搭建过程详解
2.1. An Introduction to JMX ..........................................................................................................16 2.1.1. Instrumentation Level .....................................
JBoss in Action is the first book to focus on teaching readers in detail how to use the JBoss application server. Unlike other titles about JBoss, the authors of JBoss in Action go deeper into the ...
JBoss in Action is the first book to focus on teaching readers in detail how to use the JBoss application server. Unlike other titles about JBoss, the authors of JBoss in Action go deeper into the ...
This is the final release of JBoss Application Server v4.2.0. JBoss AS 4.2 is a stepping stone from JBoss 4.0 to JBoss 5.0. It combines a lot (but not all) of the exciting new features of JBoss 5, but...
jboss-5.1.0.GA 下载地址
Myeclipse7.0+JBoss5.0测试EJB3.0环境搭建过程源代码