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 classes