TransactionManager service is not available for Blueprint in Equinox if the
transaction-bluprint bundle is started before the manager
-------------------------------------------------------------------------------------------------------------------------------------
Key: ARIES-842
URL: https://issues.apache.org/jira/browse/ARIES-842
Project: Aries
Issue Type: Bug
Components: Transaction
Environment: Equinox 3.7.1
Reporter: Balazs Zsoldos
TransactionManager with blueprint namespacehandler works only if the starting
of the bundles is in a specified order.
Steps to reproduce:
- Check out https://guest:[email protected]: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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira