History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: AMQ-1124
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Adrian Co
Reporter: Bernhard Neuhauser
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

activemq-rar-4.1.0-incubator.rar contains spring twice: spring-1.2.4.jar and spring-2.0.jar

Created: 12/Jan/07 02:12 AM   Updated: 13/Jun/07 06:12 PM
Component/s: None
Affects Version/s: 4.1.0
Fix Version/s: 5.0.0, 4.1.2

Time Tracking:
Not Specified


 Description  « Hide
Seems like AMQ-1004 was not solved.

Deploying the .rar containing both spring versions lead to:
11:06:06,531 WARN [ServiceController] Problem starting service jboss.jca:service=RARDeployment,name='activemq-rar-4.1.0-incubator.rar'
javax.resource.spi.ResourceAdapterInternalException: Failed to startup an embedded broker: xbean:broker-config.xml, due to: java.lang.Illega
lStateException: Could not find valid implementation for: 2.0
at org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java:83)
...
Caused by: java.lang.NoSuchMethodError: org.springframework.beans.factory.xml.XmlBeanDefinitionReader.setValidationMode(I)V
at org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.<init>(XBeanXmlBeanDefinitionReader.java:58)
...

Workaround: manual deletion of spring-1.2.4.jar



 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
James Strachan - 12/Jun/07 03:00 AM
Oh Maven-ninja, could you take a look at this please?

Adrian Co - 13/Jun/07 06:12 PM
I've checked in the latest 4.1 and 5.0 branches and I don't see the spring 1.2.4 jar being included. Just reopen the issue if its still a problem in the latest versions.