Bug 1430921 - [GSS] (6.4.z) Set classloader when starting JGroups channel
Summary: [GSS] (6.4.z) Set classloader when starting JGroups channel
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Clustering
Version: 6.4.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.15
Assignee: dereed
QA Contact: Jiří Bílek
URL:
Whiteboard:
Depends On:
Blocks: 1430924 eap6415-payload
TreeView+ depends on / blocked
 
Reported: 2017-03-09 21:30 UTC by dereed
Modified: 2020-06-11 13:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1430924 (view as bug list)
Environment:
Last Closed: 2017-05-19 08:04:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2597491 0 None None None 2017-05-04 08:29:05 UTC

Description dereed 2017-03-09 21:30:59 UTC
Set the Thread's ContextClassLoader when the JGroups subsystem creates a JGroups channel.

JGroups in EAP 6 uses the TCCL first when loading protocols, which may cause it to load the wrong class if the TCCL is not set correctly.

This does not affect upstream or EAP 7, as JGroups has changed the order it searches classloaders.
(the JGroups change is not being backported here because it is a change in behavior, so just making sure the TCCL is set correctly is safer).

Comment 3 dereed 2017-03-21 03:08:54 UTC
New PR: https://github.com/jbossas/jboss-eap/pull/2945

Comment 4 Jiří Bílek 2017-04-24 07:13:04 UTC
Verified with EAP 6.4.15.CP.CR2

Comment 5 Petr Penicka 2017-05-19 08:04:50 UTC
Released on May 18 as part of EAP 6.4.15.


Note You need to log in before you can comment on or make changes to this bug.