When I create an initial.Context I use the constructor InitalContext(). I do
not pass properties. I store my properties in the jndi.properties file which
is as follow.

java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://127.0.0.1:7001
app.server.type=0

This worked for some time but now I am getting the following error
Jndi.properties is in my path.

java.io.FileNotFoundException: V:\core\config\security.properties (The
system cannot find the file specified)

If I change the code to pass the properties in the constructor
InitialContes(properties) I have no problem.

Why would this occur and why does it look for securitiy.property file

Thanks
 KT

To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm

Reply via email to