You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by mikevan <mv...@comcast.net> on 2011/10/20 17:44:04 UTC

Aries Transaction Error in Karaf

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.

Re: Aries Transaction Error in Karaf

Posted by mikevan <mv...@comcast.net>.
Doh!  It looks like the feature is called "transaction" and already exists in the karaf-enterprise provisioning file. 

----- Original Message -----
From: "David Jencks [via Karaf]" <ml...@n3.nabble.com> 
To: "mikevan" <mv...@comcast.net> 
Sent: Thursday, October 20, 2011 1:28:39 PM 
Subject: Re: Aries Transaction Error in Karaf 

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. 





If you reply to this email, your message will be added to the discussion below: http://karaf.922171.n3.nabble.com/Aries-Transaction-Error-in-Karaf-tp3438091p3438394.html 
To start a new topic under Karaf - User, email ml-node+s922171n930749h71@n3.nabble.com 
To unsubscribe from Karaf - User, click here .

-----
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-tp3438091p3438424.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Aries Transaction Error in Karaf

Posted by mikevan <mv...@comcast.net>.

I was hoping that there was a provisioning file for Aries Transaction. Do you know if this exists for Karaf? 



----- Original Message -----


From: "David Jencks [via Karaf]" <ml...@n3.nabble.com> 
To: "mikevan" <mv...@comcast.net> 
Sent: Thursday, October 20, 2011 1:28:39 PM 
Subject: Re: Aries Transaction Error in Karaf 

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. 





If you reply to this email, your message will be added to the discussion below: http://karaf.922171.n3.nabble.com/Aries-Transaction-Error-in-Karaf-tp3438091p3438394.html 
To start a new topic under Karaf - User, email ml-node+s922171n930749h71@n3.nabble.com 
To unsubscribe from Karaf - User, click here .

-----
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-tp3438091p3438420.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Aries Transaction Error in Karaf

Posted by David Jencks <da...@yahoo.com>.
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.