Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 51786 invoked from network); 23 Sep 2005 02:56:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Sep 2005 02:56:05 -0000 Received: (qmail 16714 invoked by uid 500); 23 Sep 2005 02:55:58 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 16669 invoked by uid 500); 23 Sep 2005 02:55:58 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 16653 invoked by uid 99); 23 Sep 2005 02:55:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2005 19:55:58 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 216.136.174.113 is neither permitted nor denied by domain of sppatel2@gmail.com) Received: from [216.136.174.113] (HELO smtp016.mail.yahoo.com) (216.136.174.113) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 22 Sep 2005 19:56:04 -0700 Received: (qmail 49288 invoked from network); 23 Sep 2005 02:55:34 -0000 Received: from unknown (HELO ?192.168.1.2?) (spalias78@71.65.234.198 with plain) by smtp016.mail.yahoo.com with SMTP; 23 Sep 2005 02:55:34 -0000 Message-ID: <43336EA2.60804@gmail.com> Date: Thu, 22 Sep 2005 22:55:30 -0400 From: Sachin Patel User-Agent: Thunderbird 1.4 (Windows/20050908) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: Java serizalization compatibility issues References: <785A212E11918F449D1318C61B7A9B0EF6443D@cs-mailsvr.Virtusa.com> In-Reply-To: <785A212E11918F449D1318C61B7A9B0EF6443D@cs-mailsvr.Virtusa.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi. Tyrell, I've already fixed the link. In the future, please start a new thread when discussing a new topic, or respond with your original thread. Thanks. Tyrell Perera wrote: > Hi Sachin, > > I'm interested in contributing to the Eclipse tools project of Geronimo. > I have sent a mail before asking where to find more information, since > the link given to download the unstable build of the plug-in was broken > when I tried. > > Can you please give me some pointers on where to begin and to get hold > of the source for the plug-in? > > Tyrell > > > -----Original Message----- > From: Sachin Patel [mailto:sppatel2@gmail.com] > Sent: Thursday, September 22, 2005 7:08 PM > To: geronimo-dev > Subject: Java serizalization compatibility issues > > So if you are not aware, I'm pulling in and packaging several jars from > the lib and lib/endorsed directory into one of the eclipse plug-in, so > the classes can be used and referenced by the rest of the eclipse > plugins. This is because eclipse can not reference classes or jars at > runtime that are not packaged within a plug-in and marked as visible in > either the plugin.xml or manifest. > > A big problem resides as now the same jars I'm packaging must be the > same exact jars that reside in the target server I'm deploying. This > causes a dependency on a particular server image. If a user modifies > classes I reference and rebuilds their server, the plug-in is broken as > during deployment I'll receive error messages like the following... > > Caused by: java.io.InvalidClassException: > org.apache.geronimo.kernel.config.ConfigurationModuleType; local class > incompatible: stream classdesc serialVersionUID = 6296527685792707191, > local class serialVersionUID = -4121586344416418391 > > So looking at that particular class, it looks like the serialVersionUID > is generated by Java compiler. This is bad as now jars/classes risk > compatibility between every build. We need a solution for this. The > only other option I'm aware of is for these serializable classes to hard > > code and explicity assign a value. Of course we must then assue that we > > manually maintain backward compatibility to support the N-2 model for > these classes. This problem will eventually have to be solved anyway > when there is multiple server support and across different versions. > > I think this is a must fix for 1.0 as without doing so we risk product > migration, mixed version interoperability, tooling, possibly user > applications, etc... > > Sachin. > > > >