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 classes