Re: Tomcat 4.1.x, JNDI, and Junit

2002-09-03 Thread Paul Landolt
Well, I've made some progress, but I'm still stuck. by adding a reference to the apache context factory, I've managed to get an initial context: System.setProperty(java.naming.factory.initial, org.apache.naming.java.javaURLContextFactory); However, I still cannot resolve

Tomcat 4.1.x, JNDI, and Junit

2002-08-30 Thread Paul Landolt
Hello, Has anyone managed to use a JUnit test framework to connect to a JNDI resource provided by Tomcat? I'd like to be able to test my Java Database code using JUnit. When I used to use Weblogic, we could leave Weblogic running and then execute JUnit test cases external of the web app while