[ https://issues.apache.org/jira/browse/YOKO-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick McGuire closed YOKO-51. ---------------------------- > Yoko code should be using the context class loader, not Class.forName() to > dynamically load plugin code. > -------------------------------------------------------------------------------------------------------- > > Key: YOKO-51 > URL: https://issues.apache.org/jira/browse/YOKO-51 > Project: Yoko - CORBA Server > Issue Type: Bug > Components: specs > Affects Versions: Incubation > Reporter: Rick McGuire > Assigned To: Rick McGuire > Fix For: Incubation > > > There are multiple places in the Yoko code where plugin-type code gets loaded > using Class.forName(). This will only work if the plugin code is resolveable > by the same classloader that loaded the Yoko infrastructure. In a complex > environment such as Geronimo, this is not likely to be true by default, and > could prove to be quite difficult to force. Instead of Class.forName(), the > context class loader should be used to resolve the classes, which allows the > hosting code to configure the loader that will be used. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.