[jboss-user] [JNDI and Naming] - Re: Read InitialContext from jndi.properties

Derya Altuntas do-not-reply at jboss.com
Mon Nov 21 13:54:47 EST 2011


Derya Altuntas [http://community.jboss.org/people/deryaaltuntas] created the discussion

"Re: Read InitialContext from jndi.properties"

To view the discussion, visit: http://community.jboss.org/message/637582#637582

--------------------------------------------------------------
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
[http://community.jboss.org/message/637582#637582]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111121/186d8b60/attachment.html 


More information about the jboss-user mailing list