Chuck, Your are correct.. I removed the ojdbc6.jar from by app\lib folder and it worked. Thanks
Sincerely, Robert Jenkin Surecomp Services, Inc. 2 Hudson Place, 4th Floor Hoboken, NJ 07030 Skype: robert.jenkin Office: 201 217 1437 | Direct: 201 716 1219 | Mobile: 908 251 0537 http://www.Surecomp.com -----Original Message----- From: Caldarale, Charles R [mailto:[email protected]] Sent: Tuesday, February 22, 2011 9:25 PM To: Tomcat Users List Subject: RE: Issue with oralce drive under tomcat 7 > From: [email protected] [mailto:[email protected]] > Subject: Issue with oralce drive under tomcat 7 > Caused by: java.lang.ClassCastException: > oracle.jdbc.driver.OracleResultSetMetaData > cannot be cast to oracle.jdbc.OracleResultSetMetaData This is frequently caused by having the JDBC driver jar in more than one location. If you're using Tomcat's DBCP capability, the jar must be in Tomcat's lib directory - only. If you're doing your own connection pooling (or none at all), the jar should be in the webapp's WEB-INF/lib directory - only. Make sure the jar is not also in some other location, such as jre/lib, or the endorsed directory. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] This mail was sent via Mail-SeCure System. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
