[jboss-user] [Clustering/JBoss] - Re: HA-JNDI Lookup doesn?t work from other (not the binder)S
saho
do-not-reply at jboss.com
Tue Dec 19 10:28:18 EST 2006
Thank you,
i have now changed to testing purposes my application to JBoss 4.0.5.
Now form JNDI View i see that the object is registered to the HA-JNDI.
But still the lookup form other Service doesn?t work, even if i specify the server by the providerURL ("ServerName":1100).
Note: I use the all configuration with clustering Services.
I have also tried with this context set (from wiki http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHAJNDIUseCluster)
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.
return new InitialContext(p);
And still i cant?t find(NameNotFound) the object by ictx.lookup(?myobject?); from other Service.
I don?t understand what I make wrong, can someone explain me please ?
Thaks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995030#3995030
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995030
More information about the jboss-user
mailing list