[ 
https://issues.apache.org/jira/browse/GERONIMO-5806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992920#comment-12992920
 ] 

Vamsavardhana Reddy commented on GERONIMO-5806:
-----------------------------------------------

Completed: At revision: 1069260  in branches\2.1
Completed: At revision: 1069261  in branches\2.2


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

        

Reply via email to