You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Balazs Zsoldos (Created) (JIRA)" <ji...@apache.org> on 2012/04/04 14:08:23 UTC

[jira] [Created] (ARIES-842) TransactionManager service is not available for Blueprint in Equinox if the transaction-bluprint bundle is started before the manager

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: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.

--
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

        

[jira] [Closed] (ARIES-842) TransactionManager service is not available for Blueprint in Equinox if the transaction-bluprint bundle is started before the manager

Posted by "Balazs Zsoldos (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Balazs Zsoldos closed ARIES-842.
--------------------------------

    Resolution: Not A Problem

Sorry the cause was that the aries-blueprint-api.jar and osgi-enterprise.jar was in the bundle repo in the same time. I removed blueprint-api (as I need osgi-enterprise due to other classes) and everything works fine.
                
> 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: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.

--
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