我在一台机器上使用两个 JBoss 4.2.2 实例。我在第二个实例中更改了所有端口号。在启动第二个实例时仍然显示一个波纹管错误。
14:28:58,624 WARN [ServiceController] Problem starting service jboss.mq:service=InvocationLayer,type=UIL2
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
14:29:00,228 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
State: FAILED
Reason: java.net.BindException: Address already in use
I Depend On: jboss.mq:service=Invoker
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
State: FAILED
Reason: java.net.BindException: Address already in use
I Depend On: jboss.mq:service=Invoker
但是服务器在这两种情况下都启动了。任何人都可以建议如何纠正这个错误。提前致谢。