Re: Can not cast oracle.sql.ARRAY to oracle.sql.ARRAY

2010-08-25 Thread Gary Peskin
If you change your code to: System.err.println( "Got class " + o.getClass() + "; loader = " + o.getClassLoader()); and then add System.err.println("New class " + oracle.sql.ARRAY.class.getClassLoader()); it should give you an idea as to what's going on. HTH, Gary

RE: Can not cast oracle.sql.ARRAY to oracle.sql.ARRAY

2010-08-25 Thread Neil Youngman
--Original Message- From: ceri tandogan [mailto:[email protected]] Sent: Wed 25-Aug-10 12:45 To: [email protected] Subject: Re: Can not cast oracle.sql.ARRAY to oracle.sql.ARRAY Hi, 1)Do not put the same jar in /usr/local/tomcat/lib/ and in /WEB-INF/lib/ try the one of them.Jars

Re: Can not cast oracle.sql.ARRAY to oracle.sql.ARRAY

2010-08-25 Thread ceri tandogan
Title: Can not cast oracle.sql.ARRAY to oracle.sql.ARRAY Hi,1)Do not put the same jar in /usr/local/tomcat/lib/ and in /WEB-INF/lib/  try the one of them. Jars placed in /usr/local/tomcat/lib/ should be the first loaded ones.2) Why is it not enough to use only ojdbc14.jar?  why you include

Can not cast oracle.sql.ARRAY to oracle.sql.ARRAY

2010-08-25 Thread Neil Youngman
I have an app that was working find under Java 1.4, Tomcat5 and Axis2 1.4. Under Java 1.6, Tomcat6 and Axis2 1.4 it seems to be mostly working, but there is one exception that I can not seem to get rid of. Caused by: java.lang.ClassCastException: oracle.sql.ARRAY cannot be cast to oracle.sql.A