[ 
https://issues.apache.org/jira/browse/ARTEMIS-2163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16688261#comment-16688261
 ] 

ASF subversion and git services commented on ARTEMIS-2163:
----------------------------------------------------------

Commit b52f3afe88d53ed084e83ea8347024310cd884c8 in activemq-artemis's branch 
refs/heads/2.6.x from [~ehsavoie]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=b52f3af ]

[ARTEMIS-2163]: Classloading issue if artemis-commons is not in the same 
classloader as artemis-client-* or artemis-server.

* Passing the owner class to define the classloader to load classes via 
ClassLoadingUtil with artemis-commons in a different classloader..

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-2163
(cherry picked from commit 80525f1c9165fde93fd3b0c73b77ff66fd02d1cb)


> Classloading issue if artemis-commons is not in ther same classloader as 
> artemis-client-* or artemis-server
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-2163
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2163
>             Project: ActiveMQ Artemis
>          Issue Type: Wish
>          Components: Broker
>    Affects Versions: 2.6.3
>            Reporter: Emmanuel Hugonnet
>            Priority: Major
>
> The class org.apache.activemq.artemis.utils.ClassLoadingUtil is defined in 
> artemis-commons. In a jboss-modules environment this creates a loop to be 
> able to load classes from another module.
> Setting the ThreadContext classloader to the calling class before invoking 
> ClassLoadingUtil
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to