It looks like it is not possible to replace -b 0.0.0.0 with set of system properties
passed to jvm with as -D parameters.
I prepare migration to JBoss 5.1.0.GA from JBoss 4.2.3, and while playing with
run.conf.bat, found that -b command line option can not be mimicked with java system
properties.
Here is what happens.
I do not set bind_addr in XML files.
When I use -b 0.0.0.0, I see what is actually expected (services listen on all interfaces,
JGroups node name is properly assigned:
...
GMS: address is 147.249.124.180:3847 (cluster=Partition112)
...
18:00:17,046 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
...
But when I use -Djboss.bind.address=0.0.0.0, JGroups node name is not assigned properly. I
am getting:
...
GMS: address is 0.0.0.0:4011 (cluster=Partition112)
...
10:01:29,377 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
...
The same happens when I use -Djboss.bind.address=0.0.0.0 -Dbind.address=0.0.0.0
Isn't JGroups supposed to use only -Djgroups.bind_address? Because it looks like the
only way to make clustering work without XML is to use -b option.
Is this behavior expected?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233920#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...