geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (Closed) (JIRA)" <>
Subject [jira] [Closed] (GERONIMO-5806) SharedLIb GBean should have priority set to PRIORITY_CLASSLOADER
Date Fri, 16 Dec 2011 12:40:30 GMT


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:
>             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:!default.jspa
For more information on JIRA, see:


View raw message