-
1. Re: jboss-ejb-client.properties bug in latest nightly?
markus78 Feb 3, 2012 9:04 AM (in response to markus78)Okej, I figured it out seems like the property jboss.host.name cannot be the same for 2 servers on the same machine .. so modifying jboss.host.name for server TWO above fixed the problem,
a bit strange that I have to modify the host.name property, there is also an jboss.node.name property would that not be a better property to use for this?
/Markus
-
2. Re: jboss-ejb-client.properties bug in latest nightly?
jaikiran Feb 3, 2012 9:59 AM (in response to markus78)1 of 1 people found this helpfulmarkus78 wrote:
a bit strange that I have to modify the host.name property, there is also an jboss.node.name property would that not be a better property to use for this?
We don't use jboss.host.name. jboss.node.name is the right property to set when running two instances on the same machine.
-
3. Re: jboss-ejb-client.properties bug in latest nightly?
markus78 Feb 3, 2012 10:31 AM (in response to jaikiran)Okey, are you sure? , when we used debug logging we could see that the ejb client code rejected the second ejb receiver with the node name set to our "jboss-host-name" property, the jboss-node-name is equal to the server-name set first in the standalone.xml right? our unittests did not work when changing server name ( verified that jboss.node.name changed accordingly via the jboss_cli )... but when changing "host-name" the tests passed and we could se in the debug printouts that the "node-name" changed...
-
4. Re: jboss-ejb-client.properties bug in latest nightly?
jaikiran Feb 3, 2012 11:05 AM (in response to markus78)markus78 wrote:
Okey, are you sure? , when we used debug logging we could see that the ejb client code rejected the second ejb receiver with the node name set to our "jboss-host-name" property, the jboss-node-name is equal to the server-name set first in the standalone.xml right?
Without knowing which property you are referring to, I can't be sure What's jboss-host-name property? Where do you set it? You don't have to change it at all. Just change -Djboss.node.name on the server side.
-
5. Re: jboss-ejb-client.properties bug in latest nightly?
markus78 Feb 3, 2012 11:41 AM (in response to jaikiran)Thanks for your time & answers, I went back and did it over again, and -Djboss.node.name works fine, not sure what went wrong the first time around!
BR
/Markus