Hi

new InitialContext() should work by default

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/26 tschuler <[email protected]>

> Hi!
>
> We want to do JNDI lookups in an application (ear) running on tomee.
> Actually we had to add Context.INITIAL_CONTEXT_FACTORY as
> "org.apache.openejb.core.LocalInitialContextFactory" to initial context
> properties.
>
> Is there a way to simply call new InitialContext() without any properties?
>
> We tried to use jndi.properties file in classpath or added it to
> %TOMEE_HOME%/conf/system.properties.
> But we were not able to get it working.
>
> Best regards,
> Thomas
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Initial-context-properties-definition-tp4664367.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to