Ok, logging does the trick... I got 3 names, for now it's ok, but: 

The ProtocolTests is the test class here.


The preferred first one name didn't work (the name=global is missing):

2013-05-27 15:12:26,924 INFO  - OPENEJB [startup]
Jndi(name=EarName/TestBean/remote) --> Ejb(deployment-id=TestBean) 

this needs to add the full interface name, not ideal:

2013-05-27 15:12:26,924 INFO  - OPENEJB [startup]
Jndi(name=global/ProtocolTests/bean-unit/TestBean!de.x.y.z.intf.ITestBean)
--> Ejb(deployment-id=TestBean) 

this here works:
2013-05-27 15:12:26,924 INFO  - OPENEJB [startup]
Jndi(name=global/ProtocolTests/bean-unit/TestBean) -->
Ejb(deployment-id=TestBean) 




--
View this message in context: 
http://openejb.979440.n4.nabble.com/How-to-create-JNDI-interface-in-Application-Composer-later-tp4663243p4663251.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to