Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 966752

Summary: JBossWS Native code uses TCCL to load DocumentBuilderFactory implementation
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Kyle Lape <klape>
Component: Web ServicesAssignee: Rebecca Searls <rsearls>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Blizňák <jbliznak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: asoldano, jbliznak
Target Milestone: DR1   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Attachments:
Description Flags
diff of bugfix none

Description Kyle Lape 2013-05-23 21:20:25 UTC
Description of problem:
Class:
http://anonsvn.jboss.org/repos/jbossws/stack/native/tags/jbossws-native-4.0.6.GA/modules/core/src/main/java/org/jboss/ws/tools/wsdl/WSDLDefinitionsFactory.java

Line number: 173

I also see it here:
http://svn.jboss.org/repos/jbossws/stack/native/tags/jbossws-native-4.0.6.GA/modules/core/src/main/java/org/jboss/ws/tools/wsdl/JBossWSDLReaderImpl.java

Line number: 2147

There should be checks in place to ensure that the JAXP classes are not loaded from the TCCL.

Steps to Reproduce:
1. Create a deployment with xerces included as a lib
2. Create a JAX-RPC client
3. 

Actual results:
Xerces from the deployment will be used

Expected results:
Xerces from JBoss system will be used

Comment 2 Rebecca Searls 2013-11-21 17:26:59 UTC
Created attachment 827388 [details]
diff of bugfix

Comment 6 Jan Blizňák 2014-09-17 18:04:37 UTC
Verified on EAP 6.4.0.DR1

I decompiled jbossws-native-core-4.2.0.Final-redhat-1.jar and verified change is really there (change from attached patch https://bugzilla.redhat.com/attachment.cgi?id=827388)