不支持的节点名称空间:http://aries.apache.org/xmlns/transactions/v2.0.0

时间:2017-02-02 10:06:14

标签: java transactions osgi blueprint-osgi apache-servicemix

在部署具有bundle注释的javax.transaction.Transactional

时,我发现此错误
Unsupported node namespace: http://aries.apache.org/xmlns/transactions/v2.0.0

我不明白的是,捆绑包确实达到了Active状态,甚至更奇怪的是交易是否有效(在出现错误的情况下回滚)

有关transaction功能的相关信息:

feature:info transaction
Feature transaction 1.3.0
Description:
   OSGi Transaction Manager
Details:
   JTA implementation provided by Apache Aries Transaction
Feature configuration:
   org.apache.aries.transaction
Feature has no configuration files
Feature depends on:
   transaction-api [1.1,2)
Feature contains followed bundles:
   mvn:org.apache.aries/org.apache.aries.util/1.1.1
   mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.3.0
Feature contains followed conditionals:
Conditional(aries-blueprint) has no configuration
Conditional(aries-blueprint) has no configuration files
Conditional(aries-blueprint) has no dependencies.
Conditional(aries-blueprint) contains followed bundles:
  mvn:org.apache.felix/org.apache.felix.coordinator/1.0.2
  mvn:org.apache.aries.transaction/org.apache.aries.transaction.blueprint/1.1.1
  mvn:org.apache.aries.transaction/org.apache.aries.transaction.blueprint/2.1.0

非常感谢任何帮助

编辑1

执行service:list | grep namespace | grep -i transaction会给出:

osgi.service.blueprint.namespace =   http://aries.apache.org/xmlns/transactions/v1.2.0
osgi.service.blueprint.namespace = http://aries.apache.org/xmlns/transactions/v1.0.0
osgi.service.blueprint.namespace = http://aries.apache.org/xmlns/transactions/v1.1.0
osgi.service.blueprint.namespace = http://aries.apache.org/xmlns/transactions/v2.0.0

正如您所看到的,transactions/v2.0.0

有一个处理程序

编辑2

完整堆栈跟踪: http://pastebin.com/raw/HWUQVJhS

谢谢

0 个答案:

没有答案