Re: strange problem w/ connection pool and Oracle

2009-02-12 Thread John Cartwright
Thanks to all who responded. Chuck seemed to hit the nail on the head - as soon as I removed the duplicate JDBC driver from the WEB-INF/lib, the problem went away. I didn't intend to have the duplicate driver there, it was the result of omitting the provided in my pom.xml. However, I wouldn'

Re: strange problem w/ connection pool and Oracle

2009-02-12 Thread ovidiu asiminei
Hi John, This is my context.xml In my tomcat lib directory ( /tomcat/lib ) I have a copy of the Oracle JDBC jar ( ojdbc14_10g.jar ) Regards, Ovidiu On Wed, Feb 11, 2009 at 5:41 PM, wrote: > Hello All, > > I'm having a rather strange problem using Oracle-specific types obtain

RE: strange problem w/ connection pool and Oracle

2009-02-11 Thread Caldarale, Charles R
> From: john.c.cartwri...@noaa.gov [mailto:john.c.cartwri...@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