platformtransactionmanager osgi service not published
After provisioning Karaf 2.3.1 with the features spring, spring-tx and transactions, a restart of Karaf is needed to publish the spring platformtransactionmanager osgi service through the aries transaction manager. Does this has to do with Aries jira 1002, which i had tested and which failed as well, or is there an other solution?
"This can happen at start up time because the Aries transaction manager only has an optional dependency on the spring-tx bundle. This optional dependency is by design.
So Aries won't wait until the spring-tx is started. If spring-tx is not yet started when Aries starts, Aries won't export its service under the org.springframework.transaction.PlatformTransactionManager interface. Therefore any other bundles that resolve the transaction manager using the org.springframework.transaction.PlatformTransactionManager interface will not start and wait for this service to become available or eventually time out."