This content has been marked as final.
Show 2 replies
-
1. Re: Cannot set up Context in jndi.properties
adrian.brock Mar 19, 2002 6:00 AM (in response to tsmets)You have to put jndi.properties in your classpath.
This message is a bit cryptic :-)
"or in an application resource file: java.naming.factory.initial"
Regards,
Adrian -
2. Re: Cannot set up Context in jndi.properties
thschwob Apr 15, 2002 5:19 PM (in response to tsmets)Hi Adrian,
I had the same problem, actually with 2.4.3 it worked fine , in 2.4.4 suddendly I got this error.
But even when I now include the jndi.properties in the classpath (I have a standalone test client, running via JUnit) it doesn't work. I still get that exception.
Any suggestions why the jndi.properties is not read? When using the client via a servlet running with Tomcat 3.2.3 then everything works. Just problems with the standalone client for testing.
Regards,
Thomas