I am trying to load the Oracle 8.1.7 thin client JDBC driver in a simple
servlet under Tomcat 4.0-b5. However, the following line:

  Class.forName("oracle.jdbc.driver.OracleDriver");

...keeps generating a ClassNotFoundException. I am running on Windows 2000,
and I have verified that the CLASSPATH environment variable is:

  D:\oracle\ora81\jdbc\lib\classes12.zip

...which is where the JDBC driver is. (I can write a stand-alone Java
application that loads that driver just fine, so I know it is where I think
it is.)

For what it's worth, I'm also running under JDK 1.3.1.

Do I have to do something special to have my web app recognize the system
CLASSPATH? Is there some place else I need to explicitly define it?

Many thanks,

Scott

Reply via email to