-
1. Re: HA-JNDI and HA-JMS problem
brian.stansberry Sep 21, 2007 3:46 PM (in response to igain)Looks like System.getProperty(IConstants.SYSTEM_HOST_PROP) is returning null.
-
2. Re: HA-JNDI and HA-JMS problem
igain Sep 21, 2007 4:27 PM (in response to igain)Yeah you are right that property is retrning null
The value is Icontants.SYSTEM_HOST_PROP=jboss.bind.address
So when i start jboss server with -b <ip-address> switch i will get the binding ip address of the server and using i am constructing provider_url for Context.
And both jboss nodes i am starting with partition name as QA-Cluster
and binding addrress as 192.168.1.101 and 102
so command is
run.sh -c all -b 192.168.1.101 -g QA-Cluster
run.sh -c all -b 192.168.1.102 -g QA-Cluster
Am i missing something here while starting ? or something else is problem -
3. Re: HA-JNDI and HA-JMS problem
brian.stansberry Sep 21, 2007 4:46 PM (in response to igain)If IConstants.SYSTEM_HOST_PROP="jboss.bind.address" and you're starting with -b, that should work. Sounds like you need to run it in a debugger or add some logging or something to see why 'host' is getting set to null.