Bug 1430921

Summary: [GSS] (6.4.z) Set classloader when starting JGroups channel
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: dereed
Component: ClusteringAssignee: dereed
Status: CLOSED CURRENTRELEASE QA Contact: Jiří Bílek <jbilek>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.12CC: bmaxwell, paul.ferraro, ppalaga, rnetuka, sappleto
Target Milestone: CR1   
Target Release: EAP 6.4.15   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1430924 (view as bug list) Environment:
Last Closed: 2017-05-19 08:04:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1419353, 1430924    

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.