Does JNDI support passing multiple URLs, for example:
| Properties p = new Properties();
| p.put(Context.INITIAL_CONTEXT_FACTORY,
| "org.jnp.interfaces.NamingContextFactory");
| p.put(Context.URL_PKG_PREFIXES,
"jboss.naming:org.jnp.interfaces");
| p.put(Context.PROVIDER_URL, "serverA:1099,serverB:1099");
| Context c = new InitialContext(p);
When I try this only serverA is checked when a lookup is performed. If I set the servers
up to use HA-JNDI and change the ports to 1100, then both are checked.
Is it possible to tell JNDI to check multiple URLs without setting up HA-JNDI?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073227#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...