Quantcast

platformtransactionmanager osgi service not published

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

platformtransactionmanager osgi service not published

Maurice
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?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: platformtransactionmanager osgi service not published

Maurice
I found an explanation on the redhat website: https://access.redhat.com/site/solutions/404293

"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."
Loading...