Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using JDBC with Tomcat 4.0.4

Status
Not open for further replies.

liberia

Programmer
Aug 13, 2002
1
0
0
US
Hello everyone,

I am currently trying to migrate to a higher version of Tomcat(4.0.4) . When I tried running my jsps that use the JDBC driver I get this message:

"org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.


Generated servlet error:
/home/glincol/tomcat-4.0.4/work/Standalone/localhost/esdh/cbreakersummary$jsp.java:48: Class oracle.jdbc.driver.OracleDriver not found.
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());"

After installing tomcat, I set my classpath to tomcat/common/lib/classes12.war where
classes12.war is the oracle jdbc driver.

I am using linux 7.2 to run tomcat.

I will appreciate your help .

Thanks.
 
Application can't find the Oracle driver/implementation. Where did you put the oracle jar. I can't remember its name, classes.zip ?

The jar file goes in /WEB-INF/lib or maybe it should be in /tomcat/common/lib

regards, pfist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top