"toddh" wrote:
I'm runnning JBoss 3.2.3 with two nodes clustered on the same machine using the TCP-based JGroups cluster configuration.
Both instances start fine and recognize the other node in the cluster.
My client app is using the following properties in its own jndi.properties to connect with the cluster.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=jnp://localhost:11100,jnp://localhost:12100 #java.naming.provider.url=jnp://localhost:11099,jnp://localhost:12099
It looks like the client only tries the last url in the list and fails if that server isn't available. Notice that one line is commented out. I tried using both the standard JNDI port and the HA-JNDI port and neither one gives me failover.
What do I need to configure in order for my client to failover to the other servers in the list?