You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Michael Studman (JIRA)" <ji...@activemq.org> on 2006/03/06 17:38:35 UTC

[jira] Created: (SM-340) InstallationClassLoader only loads classes from the first shared library for a component

InstallationClassLoader only loads classes from the first shared library for a component
----------------------------------------------------------------------------------------

         Key: SM-340
         URL: http://jira.activemq.org/jira//browse/SM-340
     Project: ServiceMix
        Type: Bug

  Components: servicemix-core  
    Versions: 3.0, 3.0-M2, 3.0-M1, 2.0.2    
    Reporter: Michael Studman
    Priority: Critical


InstallationClassLoader.findClass(String) iterates over shared library classloaders to invoke findClass(String) on them. Unfortunately it breaks out of the loop after the first attempt, regardless of whether the shared library returned the class or not. Effectively this means only the first shared library of a component is ever used as such.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.activemq.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (SM-340) InstallationClassLoader only loads classes from the first shared library for a component

Posted by "Guillaume Nodet (JIRA)" <ji...@activemq.org>.
     [ http://jira.activemq.org/jira//browse/SM-340?page=all ]
     
Guillaume Nodet resolved SM-340:
--------------------------------

      Assign To: Guillaume Nodet
     Resolution: Fixed
    Fix Version: 3.0-M1

Author: gnodet
Date: Mon Mar  6 15:29:03 2006
New Revision: 383706

URL: http://svn.apache.org/viewcvs?rev=383706&view=rev
Log:
SM-340: InstallationClassLoader only loads classes from the first shared library for a component

Modified:
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/loaders/InstallationClassLoader.java



> InstallationClassLoader only loads classes from the first shared library for a component
> ----------------------------------------------------------------------------------------
>
>          Key: SM-340
>          URL: http://jira.activemq.org/jira//browse/SM-340
>      Project: ServiceMix
>         Type: Bug

>   Components: servicemix-core
>     Versions: 3.0, 3.0-M2, 3.0-M1, 2.0.2
>     Reporter: Michael Studman
>     Assignee: Guillaume Nodet
>     Priority: Critical
>      Fix For: 3.0-M1

>
>
> InstallationClassLoader.findClass(String) iterates over shared library classloaders to invoke findClass(String) on them. Unfortunately it breaks out of the loop after the first attempt, regardless of whether the shared library returned the class or not. Effectively this means only the first shared library of a component is ever used as such.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.activemq.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira