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.