Aries
  1. Aries
  2. ARIES-842

TransactionManager service is not available for Blueprint in Equinox if the transaction-bluprint bundle is started before the manager

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Transaction
    • Labels:
      None
    • Environment:

      Equinox 3.7.1

      Description

      TransactionManager with blueprint namespacehandler works only if the starting of the bundles is in a specified order.

      Steps to reproduce:

      • Check out https://guest:guest@source.everit.biz:443/svn/everit-osgi/trunk
      • Run "mvn clean install". As a result you will see that hibernate tests run from the hibernate/tests/core project
      • Edit the hibernate/tests/core/pom.xml file: Take the org.apache.aries.transaction.blueprint before the org.apache.aries.transaction.wrappers dependency.
      • Run the "mvn clean install" again. Tests are passed on felix successfully however they stop on Equinox as "tx" namespaceHandler is not started (and it is not started as the namespace handler does not see the transactionmanager).

      For a more detailed information about this kind of testing project hierarcy (with the possibility of debugging in eclipse) please see the tutorial at http://projects.everit.biz/everit-osgi/testing/step-by-step-guide.html

      This may not be a problem of Aries but Equinox... In that case please let me know and I will create this issue in the bug tracker of Equinox.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Balazs Zsoldos
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development