Bug 780874 (SOA-3330)

Summary: Missing client jars for MTOM support
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Martin Vecera <mvecera>
Component: Build ProcessAssignee: Julian Coleman <jcoleman>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.2.0.ER3CC: dpalmer, jcoleman, mvecera
Target Milestone: ---   
Target Release: 5.2.0 GA, 5.2.0.ER4   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3330
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
SOA-P with CXF installed
Last Closed: 2011-10-03 15:31:27 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:

Description Martin Vecera 2011-08-31 09:21:40 UTC
project_key: SOA

webservice_mtom quickstarts demonstrates MTOM. The client part needs XMLStreamBuffer from server/${config}/soap.esb/streambuffer.xml to lookup endpoint. Quickstarts have this library on classpath and therefore everything works fine, but client should not be requested to have libraries in this directory on a classpath. Problematic is this line of code:
Service service = Service.create(wsdlURL, serviceName);
That causes: java.lang.NoClassDefFoundError: com/sun/xml/stream/buffer/XMLStreamBuffer
The issue was in SOA-P 5.1 as well but was hidden by a different bug in MTOM.

Comment 1 Martin Vecera 2011-08-31 09:28:04 UTC
There seem to be more jars missing (stax-ex-1.1.jar for instance). Please note that this happens only with CXF stack in place.

Comment 2 Martin Vecera 2011-08-31 09:33:04 UTC
When I run our tests that uses more MTOM features (different datatypes) I even miss org.jvnet.mimepull.MIMEMessage that is not present in any of server libraries.

Comment 3 Julian Coleman 2011-09-01 13:31:35 UTC
The CXF installer removes the following (non-WS) jars:

  client/jaxws-tools.jar
  client/jettison.jar
  client/stax-ex.jar
  client/streambuffer.jar

but they could be used by non-WS clients.

Comment 4 Julian Coleman 2011-09-02 13:03:44 UTC
Link: Added: This issue is a dependency of JBPAPP-7124


Comment 5 Alessio Soldano 2011-09-06 12:48:11 UTC
Link: Added: This issue depends JBPAPP-7124


Comment 6 Alessio Soldano 2011-09-06 12:48:22 UTC
Link: Removed: This issue is a dependency of JBPAPP-7124 


Comment 7 Julian Coleman 2011-09-18 07:59:14 UTC
Link: Added: This issue is related to SOA-3290


Comment 8 Julian Coleman 2011-09-18 07:59:15 UTC
Link: Added: This issue is related to SOA-3319


Comment 9 Julian Coleman 2011-09-18 08:20:30 UTC
Resolved with revision 10079 of:

  src/main/patches/eap/patch_wscxf_console.xml
  pom.xml

Commit message:

  SOA-3290
  SOA-3319
  SOA-3330
  Use jbossws-cxf-installer version 5.1.2-SOA.

Comment 10 Julian Coleman 2011-09-18 08:20:30 UTC
Release Notes Docs Status: Added: Not Required


Comment 11 David Le Sage 2011-09-18 23:26:38 UTC
Release Notes Docs Status: Removed: Not Required Added: Not Yet Documented
Writer: Added: dlesage


Comment 12 David Le Sage 2011-09-23 03:21:53 UTC
Release Notes Docs Status: Removed: Not Yet Documented Added: Not Required


Comment 13 Martin Vecera 2011-10-03 15:31:27 UTC
Verified in 5.2.ER4