It forces you to use tomee lookups and bypass contextuality (tomcat per
classloader context) yes. Then not sure i followed the naming of your
example but happy if it works.

However openejb/global and openejb/Deployment etc.. subtrees are internals
so not guanranteed to work

Le 8 avr. 2017 16:06, "Dignesh" <[email protected]> a écrit :

> Hi Romain,
> Below is the snip of code I have used.
>
> Properties properties = new Properties();
> properties.setProperty(Context.INITIAL_CONTEXT_FACTORY,
> "org.apache.openejb.core.OpenEJBInitialContextFactory");
> final Context ctx = new InitialContext(properties);
>
>
> When I use openejb: global/global local jndi lookup is successful
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/Local-lookup-for-ejb-beans-tp4681498p4681506.html
> Sent from the TomEE Dev mailing list archive at Nabble.com.
>

Reply via email to