Bug 781029 (SOA-3511)

Summary: jbossws-cxf-client.jar is missing Spring3 dependencies
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Martin Vecera <mvecera>
Component: JBossWS, Build ProcessAssignee: Julian Coleman <jcoleman>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.2.0.ER5   
Target Milestone: ---   
Target Release: 5.2.0 GA, 5.2.0.ER6   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3511
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-03 08:15:45 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-10-23 16:41:56 UTC
project_key: SOA

JBossWS-CXF unit tests failure discovered an issue with missing dependencies in jboss-as/client/jbossws-cxf-client.jar. Its MANIFEST.MF file should list all Spring 3 dependencies, mainly spring-asm.jar since the client depends on it. Ommiting the library leads to: 

     [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/asm/ClassVisitor
     [java] 	at org.springframework.context.support.AbstractRefreshableApplicationContext.customizeBeanFactory(AbstractRefreshableApplicationContext.java:218)
     [java] 	at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)
     [java] 	at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
     [java] 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
     [java] 	at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91)
     [java] 	at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
     [java] 	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
     [java] 	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
     [java] 	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)
     [java] 	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
     [java] 	at org.jboss.wsf.stack.cxf.client.ProviderImpl.setValidThreadDefaultBus(ProviderImpl.java:60)
     [java] 	at org.jboss.wsf.stack.cxf.client.ProviderImpl.createServiceDelegate(ProviderImpl.java:41)
     [java] 	at javax.xml.ws.Service.<init>(Service.java:56)
     [java] 	at javax.xml.ws.Service.create(Service.java:680)

Comment 1 Martin Vecera 2011-10-23 16:42:35 UTC
Link: Added: This issue is related to SOA-3446


Comment 2 Julian Coleman 2011-10-24 15:46:43 UTC
Resolved with revision 1.3 of: 

  jbossws-cxf/JB-SOA-5-RHEL-6/jbossws-cxf-SOA-3446.patch

Commit message:

  Update SOA-3446 patch for SOA-3511 too.

Comment 3 Julian Coleman 2011-10-24 15:46:43 UTC
Release Notes Docs Status: Added: Not Required


Comment 4 David Le Sage 2011-10-28 05:12:32 UTC
Writer: Added: dlesage


Comment 5 Martin Vecera 2011-11-03 08:15:45 UTC
Verified with ER6