Fixed
Details
Assignee
Steve EbersoleSteve EbersoleReporter
Christian SchneiderChristian SchneiderTime tracking
0.22h loggedComponents
Fix versions
Affects versions
Priority
Major
Details
Details
Assignee
Steve Ebersole
Steve EbersoleReporter
Christian Schneider
Christian SchneiderTime tracking
0.22h logged
Components
Fix versions
Affects versions
Priority
Created January 11, 2016 at 11:14 AM
Updated January 13, 2016 at 6:27 PM
Resolved January 12, 2016 at 9:53 PM
I just tried to install the hibernate 5.0.6.Final feature file together with my tasklist-ds example on karaf 4.0.4.
I got some problems with the API bundles hibernate installs. One problem is that hibernate installs jta 1.1 while karaf installs jta 1.2. This causes the TransactionManager service to bind ot the 1.1 namespace. So the service is unavailable to Aries jpa blueprint and Aries JPA support which both require the 1.2 version of jta.
The other problem is that hibernate installs a different bundle for jpa 2.1. Not sure if this causes additional problems but it is not good anyway.
The solution is to use dependency="true" for all others then the top level bundles of a feature. This gives karaf the freedom to choose a different bundle in the resolving phase that also satisfies the requirements of the feature. I have attached a working feature file.