Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5FEAB931B for ; Fri, 16 Dec 2011 12:41:02 +0000 (UTC) Received: (qmail 77149 invoked by uid 500); 16 Dec 2011 12:41:02 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 77095 invoked by uid 500); 16 Dec 2011 12:41:02 -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 77085 invoked by uid 99); 16 Dec 2011 12:41:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2011 12:41:02 +0000 X-ASF-Spam-Status: No, hits=-2001.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2011 12:40:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BCA19116275 for ; Fri, 16 Dec 2011 12:40:30 +0000 (UTC) Date: Fri, 16 Dec 2011 12:40:30 +0000 (UTC) From: "Forrest Xia (Closed) (JIRA)" To: dev@geronimo.apache.org Message-ID: <1949383685.19284.1324039230774.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <667586377.7164.1297321917698.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (GERONIMO-5806) SharedLIb GBean should have priority set to PRIORITY_CLASSLOADER MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-5806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Forrest Xia closed GERONIMO-5806. --------------------------------- Resolution: Fixed Fix Version/s: (was: 2.2.2) The fix was committed into 2.1 branch, and will be included in 2.1.8 release > SharedLIb GBean should have priority set to PRIORITY_CLASSLOADER > ---------------------------------------------------------------- > > Key: GERONIMO-5806 > URL: https://issues.apache.org/jira/browse/GERONIMO-5806 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: kernel > Affects Versions: 2.1.7, 2.2.1 > Reporter: Vamsavardhana Reddy > Assignee: Vamsavardhana Reddy > Fix For: 2.1.8 > > Attachments: GERONIMO-5806.patch > > > When a SharedLib GBean is added to a configuration by updating config.xml, the new classes and jars from the shared lib do not get into the configuration's class loader until that GBean instance is created. This results in ClassNotFoundExceptions if another GBean that uses these new classes is loaded ahead of the SharedLib GBean. This can be avoided by setting the priority of SharedLib GBean to GBeanInfo.PRIORITY_CLASSLOADER so that the new classes and jars get added to the classloader and are available immediately for all other GBeans in the configuration. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira