Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 18586 invoked from network); 27 Sep 2005 20:04:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Sep 2005 20:04:14 -0000 Received: (qmail 65842 invoked by uid 500); 27 Sep 2005 20:04:11 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 65603 invoked by uid 500); 27 Sep 2005 20:04:10 -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 65590 invoked by uid 99); 27 Sep 2005 20:04:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2005 13:04:10 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 4462A122 for ; Tue, 27 Sep 2005 22:03:48 +0200 (CEST) Message-ID: <703018782.1127851428277.JavaMail.jira@ajax.apache.org> Date: Tue, 27 Sep 2005 22:03:48 +0200 (CEST) From: "Sachin Patel (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-1020) Need serialVersionUID for o.a.g.kernel.config.ConfigurationModuleType In-Reply-To: <169877856.1127398537696.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 [ http://issues.apache.org/jira/browse/GERONIMO-1020?page=all ] Sachin Patel updated GERONIMO-1020: ----------------------------------- Fix Version: 1.0-M5 Version: 1.0-M5 (was: 1.0) Can we get this into M5? > Need serialVersionUID for o.a.g.kernel.config.ConfigurationModuleType > --------------------------------------------------------------------- > > Key: GERONIMO-1020 > URL: http://issues.apache.org/jira/browse/GERONIMO-1020 > Project: Geronimo > Type: Bug > Components: kernel > Versions: 1.0-M5 > Reporter: Sachin Patel > Priority: Critical > Fix For: 1.0-M5 > Attachments: patch.txt > > From dev list post... > 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... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira