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

Derya Altuntas do-not-reply at jboss.com
Mon Nov 21 07:00:58 EST 2011


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

"Read InitialContext from jndi.properties"

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

--------------------------------------------------------------
I modifed jndi.properties file and add my application class path.
I am getting connectin refused exceptions.If I provide jndi properties in my code and do not provide 
 java.naming.provider.url property in jndi.propertties, everything is ok.But now I am not able to deploy application
In my mind I think that jndi properties must be specifed in HashTable or Properties classes
Cose will be hard coded then.I do not want to change my code when I change my server network.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/637481#637481]

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/7ff98f15/attachment-0001.html 


More information about the jboss-user mailing list