That won't work.  It should be

%ORACLE_HOME%\jdbc\lib\classes12.zip

in the classpath.

Mark

-----Original Message-----
From: Jack Zakarian [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 27, 2002 8:59 PM
To: Struts Users Mailing List
Subject: RE: Problems with getting the Oracle thin JDBC drivers loaded
with Struts 1.0.1 under Tomcat 3.3a


Hi

Try renaming it to classes12.jar.

Jack

-----Original Message-----
From: Thorbj�rn Ravn Andersen [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 6:57 AM
To: [EMAIL PROTECTED]
Subject: Problems with getting the Oracle thin JDBC drivers loaded with
Struts 1.0.1 under Tomcat 3.3a



I am in the process of getting Struts to work under Tomcat3.3a on a Redhat
7.1 and Sun's 1.3.02 JVM (which works) and have access to a DataSource
utilizing the thin Oracle JDBC drivers (classes12.zip).

This I cannot get to work.  I have tried a lot of combinations of the
placement of classes12.zip, and I consistently get an error when trying to
initiate the datasource of:

...
Root cause:
java.sql.SQLException: open: java.lang.ClassNotFoundException: oracle.jdbc.
driver.OracleDriver
         at org.apache.struts.util.GenericDataSource.open(GenericDataSource.
java:662)
...

I have pasted the drivername from another JDBC-JSP-script which worked
with this ZIP-file (abeit in Tomcat 4.0.1 with the IBM JVM), and I have
tried placing it in $CLASSPATH (which Tomcat apparently ignores) and in
tomcat/lib/common and in webapps/ROOT/WEB-INF/lib (I want the whole
webserver to default to this application).  No luck.

Now I'm out of ideas.  Somebody must have made this work - what have I
missed or misunderstood?

Thank you in advance for any hints,
--
   Thorbj�rn Ravn Andersen
   Scandiatransplant, c/o Christian Mondrup
   89 49 53 01
   http://biobase.dk/~tra


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to