JBoss Community

Re: Read InitialContext from jndi.properties

created by Derya Altuntas in JNDI and Naming - View the full discussion

Actually my progress  is changed a little.

I  did not change jndi properties under /jboss/server/default/conf.I copied file under my source code PROJECT/src and

add url provider line to file.now I am able to run code only as such.

But I did not understand that why application is not able to

search jndi.properties under java_home. If I copy file to under my java home, I am not also able to run application.

what is the correct way.I also tried to run application as jar file, copied jndi.properties same directory, it did not work also.

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community