ActiveMQ
  1. ActiveMQ
  2. AMQ-1652

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.x
    • Component/s: Broker
    • Labels:
      None
    • Environment:

      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.

        Activity

          People

          • Assignee:
            Claus Ibsen
            Reporter:
            Jack Rudnick
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development