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, ""); | Using this method, I got this result: | 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) | EJB is bound though, because if I change JNDI port to localhost:1199, things work just fine. I am running JBoss 4.0.1 on SuSe Linux 8, JDK 1.4.2 Any help would be appreciated. Thanks, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3889067#3889067 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3889067 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
