tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: strange problem w/ connection pool and Oracle
Date Thu, 12 Feb 2009 01:09:02 GMT
> From: John.C.Cartwright@noaa.gov [mailto:John.C.Cartwright@noaa.gov]
> Subject: strange problem w/ connection pool and Oracle
>
> Cause: java.lang.ClassCastException: oracle.sql.STRUCT cannot
> be cast to oracle.sql.STRUCT

This is a classic symptom of having a class file loaded by two different classloaders; despite
having the same names, they are not the same class, due to the different classloaders.

Check your webapp's lib directory to see if there's a copy of the Oracle JDBC jar lurking
in there; you can't have it in the webapp if Tomcat is managing the connection pool for you.

 - 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message