Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 93379 invoked from network); 27 Apr 2010 11:12:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 11:12:26 -0000 Received: (qmail 14748 invoked by uid 500); 27 Apr 2010 11:12:25 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 14614 invoked by uid 500); 27 Apr 2010 11:12:24 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 14607 invoked by uid 99); 27 Apr 2010 11:12:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 11:12:23 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [205.167.25.142] (HELO inflow.ncdc.noaa.gov) (205.167.25.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 11:12:14 +0000 Received: from [192.153.129.7] (bmay.ncdc.noaa.gov [192.153.129.7]) by inflow.ncdc.noaa.gov (iPlanet Messaging Server 5.2 HotFix 2.01 (built Aug 26 2004)) with ESMTPS id <0L1J00KDN8FT6Q@inflow.ncdc.noaa.gov> for user-java@ibatis.apache.org; Tue, 27 Apr 2010 07:11:53 -0400 (EDT) Date: Tue, 27 Apr 2010 07:11:52 -0400 From: Brian May Subject: Re: oracle.sql.STRUCT cannot be cast to oracle.sql.STRUCT In-reply-to: <4BD5EE23.1070205@bbs.darktech.org> To: user-java@ibatis.apache.org Message-id: <4BD6C678.4010701@noaa.gov> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) References: <4BD5DB1E.4060906@noaa.gov> <4BD5EDF3.4000208@burntmail.com> <4BD5EE23.1070205@bbs.darktech.org> X-Virus-Checked: Checked by ClamAV on apache.org This is was the problem. I had a feeling it was a ClassLoader issue, but the cause eluded me. I eventually found that I had the ojdbc6.jar in both the tomcat/lib and web-inf/lib. So, even though the same class was loaded they were not equal. Thanks cowwoc wrote: > On 26/04/2010 3:48 PM, Guy Rouillier wrote: >> Caused by: java.lang.ClassCastException: oracle.sql.STRUCT cannot be >> cast to oracle.sql.STRUCT > > Sounds like a ClassLoader issue to me. The only time two classes > with the same name are not equal to one another is when they're > instantiated by different ClassLoaders. > > Gili > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org > For additional commands, e-mail: user-java-help@ibatis.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org For additional commands, e-mail: user-java-help@ibatis.apache.org