You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Forrest Xia (Closed) (JIRA)" <ji...@apache.org> on 2011/12/16 13:40:30 UTC

[jira] [Closed] (GERONIMO-5806) SharedLIb GBean should have priority set to PRIORITY_CLASSLOADER

     [ 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