You need to make the oracle jdbc drivers avaiable in either the classpath
or in the lib dir of the webapp you are using ( webapps/myapp/WEB-INF/lib ).

I have been successful using the thin driver.  The oci8 driver needs to
have access to the oracle libraries while the thin driver only needs the
odbc class files.

The oracle classes crash tomcat if you put them in $TOMCAT_HOME/lib

Mike.
--
Mike Braden
[EMAIL PROTECTED]


-----Original Message-----
From: Steve G [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 2:55 PM
To: [EMAIL PROTECTED]
Subject: Servlet and JDBC driver problems


I have an Oracle database that I can connect to from a java program.  When I

convert this program to a servlet and try to bring it up in Netscape through

the Tomcat Server I get a ClassNotFoundException OracleDriver.

Is there anything special I need to do in Tomcat to connect to Oracle.

Thanks for the help.
Steve
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to