-
1. Re: PooledInvokerHA
joshid Jan 5, 2005 10:52 AM (in response to joshid)My apologies this is running on JBOSS 3.2.6 w/ Java 1.4.2_05
-
2. Re: PooledInvokerHA
joshid Jan 6, 2005 9:09 AM (in response to joshid)To respond to my posting, I've gotten the PoolInvokerHA working.
To do this I copied and pasted the PooledInvoker entry in jboss-service.xml, appended HA to the class name, and made the MBean name unique (e.g., jboss:service=invoker,type=pooledha). Once I had my PooledInvokerHA MBean defined I followed the instructions on http://www.jboss.org/wiki/Wiki.jsp?page=PooledInvokerConfig with the only difference being that I used the PooledInvokerHA MBean for the clustered <invoker-proxy-bindings> entries.
The only issue I ran into was that the PooledInvokerHA attribute, ClientConnectAddress, was initially set to ${jboss.bind.address}. For my environment the ${jboss.bind.address} resolves to 0.0.0.0. So after the JNDI lookup it appeared that the client was attempting to use 0.0.0.0 to incorrectly connect to itself (running the client and server locally was fine but running the client and server on separate boxes caused problems). To resolve I simply removed ClientConnectAddress entry entirely --which I read somewhere then calls InetAddress.getLocalAddress(). With the attribute removed the ciorrect IP of the server was set in the ClientConnectAddress.
After working past the above, the PooledInvokerHA is working well and the cluster is behaving much better under higher loads.