-1

我在一台机器上使用两个 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

但是服务器在这两种情况下都启动了。任何人都可以建议如何纠正这个错误。提前致谢。

4

2 回答 2

2

您是否在 jbossmq-service.xml 中配置了 jboss mq 端口?如果没有看到https://community.jboss.org/wiki/ConfigurePorts?_sscc=t

于 2012-10-25T09:24:26.687 回答
1

听起来您仍然需要为 MQ 服务进行端口配置(即不使用默认值)。

更多信息:

于 2012-10-25T09:30:56.400 回答