jboss (Server JBoss v5.0 at localhost was unable to start within 50 seconds) 异常
?
解决办法:
修改 workspace/.metadata/.plugins/org.eclipse.wst.server.core/servers.xml文件。
?
重启eclipse就可以了。转载之http://blog.csdn.net/java85140031/article/details/7105700?
但是我还是发现有问题,上面那个?port="8080" 这个端口好像还跟..\jboss-5.0.1.GA\server\default\deploy\jbossweb.sar\server.xml这个文件中的端口一样,再加上上面的修改,
?
server.xml文件修改如下
?<!-- A HTTP/1.1 Connector on port 8080 -->
? ? ? <Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}"?
? ? ? ? ? ? ? ?connectionTimeout="20000" redirectPort="8443" />
? ? ? <!-- Add this option to the connector to avoid problems with?
? ? ? ? ? .NET clients that don't implement HTTP/1.1 correctly?
? ? ? ? ?restrictedUserAgents="^.*MS Web Services Client Protocol 1.1.4322.*$"
? ? ? -->
? ? ? <!-- A AJP 1.3 Connector on port 8009 -->
? ? ? <Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}"
? ? ? ? ?redirectPort="8443" />
二个红颜色的部分一样,我就ok了