JBoss Community

Read InitialContext from jndi.properties

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

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

Start a new discussion in JNDI and Naming at Community