(RHL JBoss AS 5.1)
I have a jboss instance which is running on port 5000 (Instance1)
I have a separate jboss instance on the same box (Instance2), it is not clustered with Instance1.
For Instance1 the server.xml file for the node1 profile has a connector setting of:
Instance1 is started with ./run.sh -c node 1 -b 123.456 -Djboss.default.jgroups.stack=tcp
Instance 1 runs fine. I have a node 2 profile, which is a copy of node 1, including everything in the server.xml file i.e. port=5000
I start Instance2 with:
./run.sh -c node 2 -b 123.456 -Djboss.service.binding.set=ports-01 -Djboss.default.jgroups.stack=tcp -Djboss.messaging.ServerPeerID=1
However, when I review server.log for Instance2 I see several error messages:
ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=WebServer state=Create
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use /123.456:5000
2015-07-14 14:55:17,158 ERROR [org.apache.coyote.http11.Http11Protocol] (main) Error initializing endpoint
java.net.BindException: Address already in use /123.456:5000
I thought that the -Djboss.service.binding.set=ports-01 parameter should set the port to 5100 but it appears not to be.
Can anyone help?
Retrieving data ...