本文共 682 字,大约阅读时间需要 2 分钟。
在控制台的打印输出中已经输出了:13:59:11,662 INFO [Server] JBoss (MX MicroKernel) [4.0.4RC1 (build: CVSTag=JBoss_4_0_4_RC1 date=200602071519)] Started in 31s:387ms
并且网页上可以成功访问。但是一直处于starting状态,一会儿就会报错说启动超时。
参考:http://stackoverflow.com/questions/298312/starting-jboss-from-eclipse
1.将jboss-4.0.3\server\default\deploy\jbossweb-tomcat55.sar\server.xml中配置的端口号保存到eclipse中
i am also facing same issue, after change the port number it has worked for me.
Port number in server.xml and jboss port number should be same.
goto -> jboss-4.0.3\server\default\deploy\jbossweb-tomcat55.sar\server.xml
Connector port="9090"
goto -> Double click on server and change your port number as what you gave in server.xml
转载地址:http://abjpn.baihongyu.com/