Tuesday, June 25, 2002 06:59 AM
If it is the oracle driver class that is not found, that probably is because you probably (?) did not add the classes12.jar to the WEBINF/lib directory of your web-application context.
If you were trying to use a jdbc datasource/connection pool provided by your J2EE container engine, you'd be using JNDI to look it up. Otherwise, if you are using your own, you have to provide the classes12.jar file yourself for it, in your web-app.
Probably the reason your standalone application works is that your standalone application uses a JVM whose CLASSPATH has a copy of the classes12.jar on it. But the j2ee servlet engine doesn't.