[ http://issues.apache.org/jira/browse/YOKO-51?page=all ]
     
Rick McGuire resolved YOKO-51:
------------------------------

    Resolution: Fixed

Sending        core\src\main\java\org\apache\yoko\orb\CORBA\ObjectImpl.java
Sending        core\src\main\java\org\apache\yoko\orb\OB\PluginManager.java
Sending        core\src\main\java\org\apache\yoko\orb\OB\Util.java
Sending        core\src\main\java\org\apache\yoko\orb\OB\ValueWriter.java
Sending        core\src\main\java\org\apache\yoko\orb\OBCORBA\ORB_impl.java
Sending        core\src\main\java\org\apache\yoko\orb\OBMessaging\ExceptionHolde
r_impl.java
Sending        core\src\main\java\org\apache\yoko\orb\OBMessaging\UserExceptionR
aiseProxy.java
Sending        core\src\main\java\org\apache\yoko\orb\csi\SecurityContext.java
Sending        core\src\main\java\org\omg\CORBA\ORB.java
Sending        core\src\test\java\org\apache\yoko\processmanager\internal\Proces
sAgentImpl.java
Sending        tools\src\main\java\org\apache\yoko\tools\processors\wsdl\WSDLCor
baFactory.java
Transmitting file data ...........
Committed revision 411150.

> 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
>     Assignee: 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