Jboss 7.1 final clustering - destination address may not be null
mpgong Dec 3, 2012 1:06 PMHello,
I'm trying to create a simple cluster on one machine with a domain and after changing the interface definition to the ip address of my machine, the domain is starting with the following errors.
[Server:server-two] 12:59:08,274 INFO [org.xnio] (MSC service thread 1-4) XNIO Version 3.0.3.GA [Server:server-two] 12:59:08,284 INFO [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.0.3.GA [Server:server-one] 12:59:08,286 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.host.controller.client: org.jboss.msc.service.StartException in service jboss.host.controller.client: java.lang.IllegalArgumentException: destination address may not b e null [Server:server-one] at org.jboss.as.server.mgmt.domain.HostControllerServerClient.start(HostControllerServerClient.java:161) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] [Server:server-one] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] [Server:server-one] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] [Server:server-one] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_01] [Server:server-one] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_01] [Server:server-one] at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_01] [Server:server-one] Caused by: java.lang.IllegalArgumentException: destination address may not be null [Server:server-one] at org.jboss.remoting3.remote.RemoteConnectionProvider.connect(RemoteConnectionProvider.java:98) [jboss-remoting-3.2.2.GA.jar:3.2.2.GA] [Server:server-one] at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:296) [jboss-remoting-3.2.2.GA.jar:3.2.2.GA] [Server:server-one] at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:251) [jboss-remoting-3.2.2.GA.jar:3.2.2.GA] [Server:server-one] at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:349) [jboss-remoting-3.2.2.GA.jar:3.2.2.GA] [Server:server-one] at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:337) [jboss-remoting-3.2.2.GA.jar:3.2.2.GA] [Server:server-one] at org.jboss.as.protocol.ProtocolChannelClient.connect(ProtocolChannelClient.java:125) [jboss-as-protocol-7.1.0.Final.jar:7.1.0.Final] [Server:server-one] at org.jboss.as.protocol.ProtocolChannelClient.connectSync(ProtocolChannelClient.java:134) [jboss-as-protocol-7.1.0.Final.jar:7.1.0.Final] [Server:server-one] at org.jboss.as.server.mgmt.domain.HostControllerServerConnection.openChannel(HostControllerServerConnection.java:158) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] [Server:server-one] at org.jboss.as.server.mgmt.domain.HostControllerServerConnection.connect(HostControllerServerConnection.java:86) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] [Server:server-one] at org.jboss.as.server.mgmt.domain.HostControllerServerClient.start(HostControllerServerClient.java:135) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] [Server:server-one] ... 5 more [Server:server-one] [Server:server-two] 12:59:08,494 INFO [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 3.2.2.GA [Server:server-two] 12:59:08,947 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.host.controller.client: org.jboss.msc.service.StartException in service jboss.host.controller.client: java.lang.IllegalArgumentException: destination address may not b e null [Server:server-two] at org.jboss.as.server.mgmt.domain.HostControllerServerClient.start(HostControllerServerClient.java:161) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] [Server:server-two] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] [Server:server-two] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] [Server:server-two] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_01] [Server:server-two] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_01] [Server:server-two] at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_01] [Server:server-two] Caused by: java.lang.IllegalArgumentException: destination address may not be null [Server:server-two] at org.jboss.remoting3.remote.RemoteConnectionProvider.connect(RemoteConnectionProvider.java:98) [jboss-remoting-3.2.2.GA.jar:3.2.2.GA] [Server:server-two] at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:296) [jboss-remoting-3.2.2.GA.jar:3.2.2.GA] [Server:server-two] at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:251) [jboss-remoting-3.2.2.GA.jar:3.2.2.GA] [Server:server-two] at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:349) [jboss-remoting-3.2.2.GA.jar:3.2.2.GA] [Server:server-two] at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:337) [jboss-remoting-3.2.2.GA.jar:3.2.2.GA] [Server:server-two] at org.jboss.as.protocol.ProtocolChannelClient.connect(ProtocolChannelClient.java:125) [jboss-as-protocol-7.1.0.Final.jar:7.1.0.Final] [Server:server-two] at org.jboss.as.protocol.ProtocolChannelClient.connectSync(ProtocolChannelClient.java:134) [jboss-as-protocol-7.1.0.Final.jar:7.1.0.Final] [Server:server-two] at org.jboss.as.server.mgmt.domain.HostControllerServerConnection.openChannel(HostControllerServerConnection.java:158) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] [Server:server-two] at org.jboss.as.server.mgmt.domain.HostControllerServerConnection.connect(HostControllerServerConnection.java:86) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] [Server:server-two] at org.jboss.as.server.mgmt.domain.HostControllerServerClient.start(HostControllerServerClient.java:135) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] [Server:server-two] ... 5 more [Server:server-two]
I've been following the AS7 cluster howto and the book by F. Marchioni, but can't get the cluster to work. If i use the address 127.0.0.1 it seems to work fine, but that isn't what we want.
My env is running ipv4 and ipv6 which i think is the issue, but the server is started using the preferipv4 property.
Any idea what i might be doing wrong?
Thanks.