The trouble was the "Lookup" object. It was not working well. As this was an
internal developed object, I replaced the lookup by this code that I found in "SACHA
LABOUREY, BILL BURKE The JBoss Group JBoss AS Clustering" book.
...
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, "localhost:1100"); // HA-JNDI port.
initialContext = new InitialContext(p);
....
then I do
initialContext.bind()...
initialContext.rebind()...
and it is working well.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060881#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...