Yoko code should be using the context class loader, not Class.forName() to 
dynamically load plugin code.
--------------------------------------------------------------------------------------------------------

         Key: YOKO-51
         URL: http://issues.apache.org/jira/browse/YOKO-51
     Project: Yoko - CORBA Server
        Type: Bug

  Components: specs  
    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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to