Re: strange problem w/ connection pool and Oracle

2009-02-12 Thread John Cartwright
er, I wouldn't have associated the strange looking class cast exception w/ the different classloaders. Thanks again for the help! --john Caldarale, Charles R wrote: From: john.c.cartwri...@noaa.gov [mailto:john.c.cartwri...@noaa.gov] Subject: strange problem w/ connection pool and Ora

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 b

strange problem w/ connection pool and Oracle

2009-02-11 Thread John . C . Cartwright
Hello All, I'm having a rather strange problem using Oracle-specific types obtained from a connection pool defined my my context.xml. I'm reading the ResultSet w/ getObject, but then when I try to cast the Object to the correct type, I see: Cause: java.lang.ClassCastException: oracle.sql.STRUCT