> From: robert.jen...@surecomp.com [mailto:robert.jen...@surecomp.com] 
> 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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to