JBOSS 的启动问题

(1) 【出错信息】 启动JBoss时出错: "Address already in use: JVM_Bind:8080"

      【解决方案】 修改JBoss端口: 8080端口在\jboss\server\default\deploy\jboss-web.deployer\server.xml中

(2) ★查看当前系统端口使用情况: netstat   -a

(3) 【出错信息】 java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
    java.net.BindException: Address already in use: JVM_Bind

    需要修改的文件的路径:jboss-4.2.2.GA\server\default\conf\jboss-service.xml  

    把1098改为其它未被占用的端口号码即可;

Xml代码 
<attribute name="Port">1099</attribute> 
<attribute name="RmiPort">1098</attribute> 

主机路径有可能不同,因为有些工程自己修改了放jboss-service.xml 文件的路径。

猜你喜欢

转载自xiaoyuzhou.iteye.com/blog/1258443