[ https://issues.apache.org/jira/browse/GERONIMO-5806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vamsavardhana Reddy updated GERONIMO-5806: ------------------------------------------ Attachment: GERONIMO-5806.patch > 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