JBoss Community

Put environment properties in jndi.properties file.

created by Laura delli Paoli in JNDI and Naming - View the full discussion

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?

 

thanks

Laura

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community