geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-5806) SharedLIb GBean should have priority set to PRIORITY_CLASSLOADER
Date Thu, 10 Feb 2011 07:11:57 GMT
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.2.1, 2.1.7
            Reporter: Vamsavardhana Reddy
            Assignee: Vamsavardhana Reddy
             Fix For: 2.1.8, 2.2.2


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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message