3 Replies Latest reply on Nov 21, 2011 2:45 PM by Wolf-Dieter Fink

    Read InitialContext from jndi.properties

    Derya Altuntas Newbie

      I modifed jndi.properties file and added file to application class path.

      I am getting connection 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.