The jre only includes a little bit of the actual javax.transaction package, but it's used internally in other parts of the jre (jdbc). You need to deploy one of the geronimo jta spec bundles (unless it's repackaged inside aries tx, which I doubt) and also have this incomprehensible import in jre.properties:
javax.transaction;javax.transaction.xa;partial=true;mandatory:=partial,\ This is necessary but might not be sufficient.... david jencks On Oct 20, 2011, at 8:44 AM, mikevan wrote: > We are migrating our application from SpringDM to Aries blueprint. One of > our bundles creates a JDBC connection service using Aries Transaction. > However, when we attempt to use Aries Transaction, we get the following > error: Unable to start blueprint container for bundle > org.apache.aries.transaction.blueprint due to unresolved dependencies > [(objectClass=javax.transaction.TransactionManager)]. > > We are currently using Karaf 2.0.0. In our jre.properties file, we are > exporting javax.transaction and its dependancies. I have verified that this > package is available within karaf by executing the following command: > exports | grep javax.transaction > > We are currently using jdk 1.6.0_18, karaf 2.0.0 and aries blueprint 0.3. > > ----- > Mike Van (All links open in new tabs) > Committer - Kalumet > > Atraxia Technologies > > NCI Inc > > Mike Van's Open Source Technologies Blog > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Aries-Transaction-Error-in-Karaf-tp3438091p3438091.html > Sent from the Karaf - User mailing list archive at Nabble.com.
