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

java.lang.NoClassDefFoundError: javax/transaction/... when trying to do data access for Activemq core OSGi bundle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.0.0
    • 5.x
    • Broker
    • None
    • In OSGi environment (Equinox or Felix containers)

    Description

      When trying to use the Activemq core OSGi module in a container, you may see java.lang.NoClassDefFoundError: javax/transaction/... when trying to do data access.

      This could be worked around if geronimo jta version used was set to 1.1, and reflected with a "version=1.1" on the javax.transaction "Import-Package" statement in the manifest file for the Activemq-core OSGi bundle.

      See 1.15 of http://static.springframework.org/osgi/docs/1.0.2/reference/html/spring-osgi-faq.html for more information.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            jrudnick Jack Rudnick
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: