Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 78397 invoked from network); 3 May 2006 04:38:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 May 2006 04:38:25 -0000 Received: (qmail 34001 invoked by uid 500); 3 May 2006 04:38:21 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 33949 invoked by uid 500); 3 May 2006 04:38:20 -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 33938 invoked by uid 99); 3 May 2006 04:38:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 21:38:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 21:38:20 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F17AD71423B for ; Wed, 3 May 2006 04:37:47 +0000 (GMT) Message-ID: <4774182.1146631067859.JavaMail.jira@brutus> Date: Wed, 3 May 2006 04:37:47 +0000 (GMT+00:00) From: "Dain Sundstrom (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (GERONIMO-1931) Deployers and the deploying classes are in separate class loader hierarchies In-Reply-To: <22498755.1146172838355.JavaMail.jira@brutus> 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-1931?page=all ] Dain Sundstrom closed GERONIMO-1931: ------------------------------------ Fix Version: 1.1 (was: 1.2) Resolution: Fixed Fixed. You can now remove the lame reflection work around. > Deployers and the deploying classes are in separate class loader hierarchies > ---------------------------------------------------------------------------- > > Key: GERONIMO-1931 > URL: http://issues.apache.org/jira/browse/GERONIMO-1931 > Project: Geronimo > Type: Bug > Security: public(Regular issues) > Components: deployment > Versions: 1.1 > Reporter: Dain Sundstrom > Assignee: Dain Sundstrom > Fix For: 1.1 > > The deployers are loaded from the main KernelConfiguraitonManager, where as when we deploy the new deployments are loaded from a private SimpleConfigurationManager. This means two classloaders are completely separate and deployers see different versions of the spec classes. Therefor, the deployers can't make use of instanceof and can use code like this: > TimedObject.class.inAssignable(beanClass) > This makes deployers unnecessarily complex and error prone. This can easily be addressed by having the private SimpleConfigurationManager in the DeploymentContext first check main KernelConfigurationManager to see if the configuration exists before reloading it from disk. -- 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