4 Replies Latest reply: Jun 14, 2012 8:24 AM by Laura delli Paoli RSS

Put environment properties in jndi.properties file.

Laura delli Paoli Master

Hello everybody,

I was trying to create an InitialContext by using default constructor and putting environment properties into the attached jndi.properties file.

I added jndi.properties to my classpath:

<classpathentry kind="src" path="jndi.properties"/>

but properties are not loaded.


May someone help me?