Have someone had the same problem? I'm using tomee 1.5.1 and I can't look up a remote bean either:
java.lang.NullPointerException at org.apache.openejb.client.JNDIContext.createBusinessObject(JNDIContext.java:188) at org.apache.openejb.client.JNDIContext.lookup(JNDIContext.java:232) at javax.naming.InitialContext.lookup(InitialContext.java:411) at [...] That's the configuration of my ContextFactory: Properties props = new Properties(); props.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.RemoteInitialContextFactory"); props.put(Context.PROVIDER_URL, "http://"+server+"/tomee/ejb"); I've tried before to use ejbd protocol ("ejbd://127.0.0.1:8080") but this have not worked ... Can someone help me? Best regards Superhans -- View this message in context: http://openejb.979440.n4.nabble.com/NullPointerException-when-JNDI-lookup-for-remote-bean-tp4407278p4660005.html Sent from the OpenEJB User mailing list archive at Nabble.com.