Hi, 

I tried different lookups, no one will work...

The log stated: 
[OpenEJB] Auto-deploying ejb TestBean: EjbDeployment(deployment-id=TestBean) 

Injection by: 

   @AppResource
   Context context;

All lookups are null:

obj = context.lookup("java:global/unit-name/ITestBean");
obj = context.lookup("java:global/ITestBean");
obj = context.lookup("java:global/TestBean");
obj = context.lookup("java:global/TestBean/ITestBean");


I read this: http://docs.oracle.com/javaee/6/tutorial/doc/gipjf.html

Is there a way to lookup what names from objects can accessed?





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

Reply via email to