Hallo I am just trying to learn more about JBoss.
I have a single Windows XP machine.
JBoss 4.0.2.GA
With a non-clustered setup I have never had any problems with JNDI. However when I try even the simplest application in a cluster (vertical, copied the all configuration two times and used the BindingManager in one of them), I cannot get a connection to the JNDI Service working.
Both instances start up normally. In the the jmx-console I can see the HAJNDI.
With
jndi.properties on the client side
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming java.naming.provider.url=localhost:1100
javax.naming.NotContextException
at org.jnp.server.NamingServer.lookup(NamingServer.java:285)
at org.jboss.ha.jndi.TreeHead.lookupLocally(TreeHead.java:296)
at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:215)
at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Met