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

        Claus Ibsen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Claus Ibsen [ davsclaus ]
        Fix Version/s 5.x [ 12316331 ]
        Fix Version/s NEEDS_REVIEWED [ 12315630 ]
        Resolution Fixed [ 1 ]
        Jeff Turner made changes -
        Project Import Fri Nov 26 22:32:02 EST 2010 [ 1290828722158 ]
        Rob Davies made changes -
        Fix Version/s 5.4.0 [ 12110 ]
        Fix Version/s NEEDS_REVIEWED [ 12186 ]
        Gary Tully made changes -
        Fix Version/s 5.4.0 [ 12110 ]
        Fix Version/s 5.3.0 [ 11914 ]
        Rob Davies made changes -
        Field Original Value New Value
        Fix Version/s 5.3.0 [ 11914 ]
        Jack Rudnick created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development