Hello,
I have setup an EJB cluster consisting of two nodes running on a Linux machine (using ports-01 and ports-02). My problem is retrieving an EJB from a third JVM (same machine) using HA-JNDI (multicast method). I've read JBossClustering.pdf doc, it says if you want to use multicast JNDI lookup, use empty Context.PROVIDER_URL. So I did this:
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, "");
12:50:53,474 ERROR [STDERR] javax.naming.NameNotFoundException: ejb not bound 12:50:53,475 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(Naming Server.java:491)