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
--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
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
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