Hi Le 8 avr. 2017 10:46, "Dignesh" <[email protected]> a écrit :
Hi, Can we use "openejb:global/global" as JNDI prefix when doing the local ejb lookup instead of "java:global". No The problem is in general that "new InitialContext()" is not always the same.It depends in which thread/classloader this call is made. As long as you call it within an EJB or Servlet and appropriate thread you see everything. I have logged the JNDI tree, once within an approriate thread/classloader and once outside it .So Can we use openejb:global/global as JNDI prefix to access the beans within the TomEE ? Passing as context factory openejb one you would get stable names Thank you, Dignesh, -- View this message in context: http://tomee-openejb.979440. n4.nabble.com/Local-lookup-for-ejb-beans-tp4681498.html Sent from the TomEE Dev mailing list archive at Nabble.com.
