When you obtain the initial context do you also specify the address of a JBoss installation to use in addition to the jnp.partitionName?
yes, how do you assign/use jnp.partitionName?
As per the example test class
Of course the partition name is what we are using in the server.
If we don't supply the bogus URL the connection is forced to localhost (Always) no matter what the partitionname. If no server on localhost, then it takes any available server with no regard to the partition name.
If we supply the bogus URL it times out and connect to the specified partition and ignores localhost if it is not a member of the partition.
If we supply an empty string for the URL, a NoSuchElementException org.jnp.interfaces.NamingContext.removeServer(Name).
So as you can see we are at a loss and still debugging trying to resolve this issue.
One other point, even using the bogus URL, if a client is up and the partition goes away. The HARMIClient will NEVER reconnect to the partition when a member is restarted unless that member is on the localhost.
Any help resolving this will be greatly appreciated.