i have tried with http://localhost:8080/tomee/ejb for get the InitialContext of JNDI
i have also added the file ejb-jar-xml at war file with <?xml version="1.0" encoding="UTF-8"?> <ejb-jar xmlns = "http://java.sun.com/xml/ns/javaee" version = "3.1" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation = "http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"> </ejb-jar> but i get: run: gen 07, 2014 10:26:59 AM org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri=http://localhost:8080/tomee/ejb} gen 07, 2014 10:27:01 AM mauro.clienttomee.MioClientTomee main SEVERE: null javax.naming.NameNotFoundException: global/ejbsutomee/TestBean does not exist in the system. Check that the app was successfully deployed. at org.apache.openejb.client.JNDIContext.lookup(JNDIContext.java:319) at javax.naming.InitialContext.lookup(InitialContext.java:411) at mauro.clienttomee.MioClientTomee.main(MioClientTomee.java:36) BUILD SUCCESSFUL (total time: 2 seconds) -- View this message in context: http://openejb.979440.n4.nabble.com/call-ejb-remote-not-work-help-me-tp4666948p4666994.html Sent from the OpenEJB User mailing list archive at Nabble.com.
