Bug 781029 (SOA-3511) - jbossws-cxf-client.jar is missing Spring3 dependencies
Summary: jbossws-cxf-client.jar is missing Spring3 dependencies
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-3511
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossWS, Build Process
Version: 5.2.0.ER5
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 5.2.0 GA,5.2.0.ER6
Assignee: Julian Coleman
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-23 16:41 UTC by Martin Vecera
Modified: 2011-11-03 08:15 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-03 08:15:45 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 780977 0 urgent CLOSED JBossWS-CXF unit tests broken classpath 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SOA-3511 0 None None None Never

Internal Links: 780977

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


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