[
https://issues.apache.org/jira/browse/SMX4-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631479#comment-13631479
]
Freeman Fang edited comment on SMX4-1430 at 4/15/13 3:45 AM:
-------------------------------------------------------------
Hi,
Thanks for reporting this issue.
This is from that the activemq 5.7.0 features.xml use different aries
transaction manager version than the one used in Karaf.
Also the activemq 5.7.0 features.xml has duplicated aries transaction manager
bundle, like
{code}
<bundle
dependency="true">mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/0.3</bundle>
<bundle>mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/0.3</bundle>
{code}
The second one shouldn't be here, it prevent the OBR resolver kick in.
As a workaround, you can edit
$SMX/system/org/apache/activemq/activemq-karaf/5.7.0/activemq-karaf-5.7.0-features.xml,
remove
{code}
<bundle>mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/0.3</bundle>
{code}
Also, in $SMX/etc/org.apache.karaf.features.cfg, for the featuresBoot, add
transaction before the activemq-broker
Freeman
was (Author: ffang):
Hi,
Thanks for reporting this issue.
This is from that the activemq 5.7.0 features.xml use different aries
transaction manager version than the one used in Karaf.
Also the activemq 5.7.0 features.xml has duplicated aries transaction manager
bundle, like
{code}
<bundle
dependency="true">mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/0.3</bundle>
<bundle>mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/0.3</bundle>
{code}
The second one shouldn't be here, it prevent the OBR resolver kick in.
As I workaround, you can edit
$SMX/system/org/apache/activemq/activemq-karaf/5.7.0/activemq-karaf-5.7.0-features.xml,
remove
{code}
<bundle>mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/0.3</bundle>
{code}
Also, in $SMX/etc/org.apache.karaf.features.cfg, for the featuresBoot, add
transaction before the activemq-broker
Freeman
> transaction 0.3.0 depended by the embeded activemq conflict with the
> transaction feature (version 0.3.1)
> --------------------------------------------------------------------------------------------------------
>
> Key: SMX4-1430
> URL: https://issues.apache.org/jira/browse/SMX4-1430
> Project: ServiceMix 4
> Issue Type: Bug
> Affects Versions: 4.5.1
> Environment: servciemix v4.5.1, both in windows (win7) and
> linux(CentOS 6.0)
> Reporter: Killko Hon
> Assignee: Freeman Fang
>
> while setting feature transaction in the /etc/org.apache.karaf.features.cfg
> for featuresBoot,the transaction doesn't work.
> while run the console command "list -t 0|grep Transaction"
> got 2 Apache Aries Transaction Manager bundle active. One with the version
> NO. 0.3.0,and the other is 0.3.1
> Need to run console command "features:uninstall transaction" and
> "features:install transaction" to get it work.
> if I put the "transaction" to the end of featuresBoot property in the
> /etc/org.apache.karaf.features.cfg, AND delete the data folder to clear the
> cached stuff,everything is work well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira