Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-1124

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.1.0
    • 4.1.2, 5.0.0
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            aco Adrian T. Co
            cybernd Bernhard Neuhauser
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: