Return-Path: Delivered-To: apmail-db-ojb-user-archive@www.apache.org Received: (qmail 66727 invoked from network); 1 Jun 2005 21:00:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Jun 2005 21:00:18 -0000 Received: (qmail 43821 invoked by uid 500); 1 Jun 2005 21:00:15 -0000 Delivered-To: apmail-db-ojb-user-archive@db.apache.org Received: (qmail 43793 invoked by uid 500); 1 Jun 2005 21:00:15 -0000 Mailing-List: contact ojb-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "OJB Users List" Reply-To: "OJB Users List" Delivered-To: mailing list ojb-user@db.apache.org Received: (qmail 43771 invoked by uid 99); 1 Jun 2005 21:00:15 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of robertl@jlab.org designates 129.57.35.124 as permitted sender) Received: from mailer.jlab.org (HELO mailer.jlab.org) (129.57.35.124) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Jun 2005 14:00:11 -0700 Received: from jlab.org (localhost [127.0.0.1]) by mailer.jlab.org (8.12.11/8.12.11) with ESMTP id j51Kxvu5001616 for ; Wed, 1 Jun 2005 16:59:58 -0400 (EDT) Message-ID: <429E21CD.70701@jlab.org> Date: Wed, 01 Jun 2005 16:59:57 -0400 From: Bobby Lawrence Organization: Jefferson Lab (jlab.org) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: OJB Users List Subject: Re: Incompatible class Exception References: <429CDE9E.6030800@jlab.org> <429CE17B.7080203@apache.org> <429E0CE6.2010805@jlab.org> <429E11EB.2060407@apache.org> In-Reply-To: <429E11EB.2060407@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Well - The OJB jar is not in the web-app classpath. I have the jar in the EJB classpath. I have removed it and I get the desired effect...the app server can't find the PersistenceBroker class. When I use ANY version of > 1.0.1, I get this exception. --Bobby Armin Waibel wrote: > Hi Bobby, > > Bobby Lawrence wrote: > >> OK - After upgrading to 1.0.3 and the newer version of the >> OJB.properties file, I am still getting the exception: >> >> java.io.InvalidClassException: >> org.apache.ojb.broker.util.collections.RemovalAwareCollection; local >> class incompatible: stream classdesc serialVersionUID = >> -7915096023416965226, local class serialVersionUID = 6853709708973269593 >> at >> java.io.ObjectStreamClass.initNonProxy(Ljava.io.ObjectStreamClass;Ljava.lang.Class;Ljava.lang.ClassNotFoundException;Ljava.io.ObjectStreamClass;)V(Unknown >> Source) > > > strange, seems that you have two different versions of class > org.apache.ojb.broker.util.collections.RemovalAwareCollection > in your classpath (this is what the exception asserted). > Are you really sure that both OJB jars (web-app and appServer) are the > same? Could it be the case that the webApp or the appServer use some > kind of "jar-cache" that still use an outdated jar? > > regards, > Armin > > > >> at >> java.io.ObjectInputStream.readNonProxyDesc(Z)Ljava.io.ObjectStreamClass;(Unknown >> Source) >> at >> java.io.ObjectInputStream.readClassDesc(Z)Ljava.io.ObjectStreamClass;(Unknown >> Source) >> at >> java.io.ObjectInputStream.readOrdinaryObject(Z)Ljava.lang.Object;(Unknown >> Source) >> at >> java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown >> Source) >> at >> java.io.ObjectInputStream.readObject()Ljava.lang.Object;(Unknown Source) >> at >> weblogic.rmi.internal.CBVInputStream.readObjectInternal()Ljava.lang.Object;(CBVInputStream.java:67) >> >> at >> weblogic.rmi.internal.CBVInputStream.readObject()Ljava.lang.Object;(CBVInputStream.java:61) >> >> at >> weblogic.rmi.internal.ServerRequest.unmarshalReturn()Ljava.lang.Object;(ServerRequest.java:97) >> >> >> Any other ideas? >> --Bobby >> >> >> Martin Kal�n wrote: >> >>> Bobby Lawrence wrote: >>> >>>> I just upgraded from OJB 1.0.1 to 1.0.3 and I keep getting an >>>> >>>> java.io.InvalidClassException: >>> >>> >>> >>> >>> >>>> I have NOT changed my OJB.properties file, could this have >>>> something to do with it? >>> >>> >>> >>> >>> Without looking to deeply into the stacktrace you sent; >>> it is always recommended to upgrade OJB.properties and repository >>> between releases. Please diff your old property file against the >>> reference version from 1.0.3 and check if you need to adjust anything. >>> >>> For 1.0.1 => 1.0.3 this is especially true if you are using the ODMG >>> API. >>> >>> (Also not the required change of auto-* repository settings >>> for ODMG in v1.0.3 -- see repository.dtd for full details.) >>> >>> Regards, >>> Martin >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org >>> For additional commands, e-mail: ojb-user-help@db.apache.org >>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org > For additional commands, e-mail: ojb-user-help@db.apache.org > -- ---------------------------- Bobby Lawrence MIS Application Developer Jefferson Lab (www.jlab.org) Email: robertl@jlab.org Office: (757) 269-5818 Pager: (757) 584-5818 ---------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org For additional commands, e-mail: ojb-user-help@db.apache.org