Bug 966752 - JBossWS Native code uses TCCL to load DocumentBuilderFactory implementation
Summary: JBossWS Native code uses TCCL to load DocumentBuilderFactory implementation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web Services
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: DR1
: EAP 6.4.0
Assignee: Rebecca Searls
QA Contact: Jan Blizňák
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-23 21:20 UTC by Kyle Lape
Modified: 2019-08-19 12:42 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
diff of bugfix (3.09 KB, patch)
2013-11-21 17:26 UTC, Rebecca Searls
no flags Details | Diff

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)


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