[
https://issues.apache.org/jira/browse/ARIES-1679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet updated ARIES-1679:
-----------------------------------
Description:
I'm seeing this error, when deploying a bundle that has some
javax.transaction.Transactional annotations
Unsupported node namespace: http://aries.apache.org/xmlns/transactions/v2.0.0
What I don't understand is that the bundle does reach the Active state, what's
even weirder is that transactions work (rolling back in case of error)
relevant information with regards to the transaction feature :
{code}
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
{code}
#########################################
doing a service:list | grep namespace | grep -i transaction gives :
{code}
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
{code}
So as you can see, there is a handler for transactions/v2.0.0
##################################
Full stack trace
{code}
2017-02-02 11:03:13,361 | ERROR | pool-29-thread-1 | BlueprintContainerImpl
| 28 - org.apache.aries.blueprint.core - 1.6.1 | Unable to start
blueprint container for bundle demo-persistence-jpa/0.0.1.SNAPSHOT
org.osgi.service.blueprint.container.ComponentDefinitionException: Unsupported
node namespace: http://aries.apache.org/xmlns/transactions/v2.0.0
at
org.apache.aries.blueprint.parser.Parser.getNamespaceHandler(Parser.java:1386)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.parser.Parser.getNamespaceHandler(Parser.java:1374)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.parser.Parser.parseCustomElement(Parser.java:1367)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.parser.Parser.loadComponents(Parser.java:427)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.parser.Parser.populate(Parser.java:331)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:349)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:276)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:300)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:269)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:265)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:255)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[39:org.apache.aries.util:1.1.1]
at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[39:org.apache.aries.util:1.1.1]
at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[39:org.apache.aries.util:1.1.1]
at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[39:org.apache.aries.util:1.1.1]
at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[39:org.apache.aries.util:1.1.1]
at
org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1179)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:731)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:486)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.Felix.startBundle(Felix.java:2172)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1262)[9:org.apache.karaf.features.core:4.0.5]
at
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:840)[9:org.apache.karaf.features.core:4.0.5]
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1152)[9:org.apache.karaf.features.core:4.0.5]
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1048)[9:org.apache.karaf.features.core:4.0.5]
at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_79]
{code}
############################
stackoverflow question :
http://stackoverflow.com/questions/41999266/unsupported-node-namespace-http-aries-apache-org-xmlns-transactions-v2-0-0?noredirect=1#comment71179964_41999266
was:
I'm seeing this error, when deploying a bundle that has some
javax.transaction.Transactional annotations
Unsupported node namespace: http://aries.apache.org/xmlns/transactions/v2.0.0
What I don't understand is that the bundle does reach the Active state, what's
even weirder is that transactions work (rolling back in case of error)
relevant information with regards to the transaction feature :
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
#########################################
doing a service:list | grep namespace | grep -i transaction gives :
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
So as you can see, there is a handler for transactions/v2.0.0
##################################
Full stack trace
2017-02-02 11:03:13,361 | ERROR | pool-29-thread-1 | BlueprintContainerImpl
| 28 - org.apache.aries.blueprint.core - 1.6.1 | Unable to start
blueprint container for bundle demo-persistence-jpa/0.0.1.SNAPSHOT
org.osgi.service.blueprint.container.ComponentDefinitionException: Unsupported
node namespace: http://aries.apache.org/xmlns/transactions/v2.0.0
at
org.apache.aries.blueprint.parser.Parser.getNamespaceHandler(Parser.java:1386)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.parser.Parser.getNamespaceHandler(Parser.java:1374)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.parser.Parser.parseCustomElement(Parser.java:1367)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.parser.Parser.loadComponents(Parser.java:427)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.parser.Parser.populate(Parser.java:331)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:349)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:276)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:300)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:269)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:265)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:255)[28:org.apache.aries.blueprint.core:1.6.1]
at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[39:org.apache.aries.util:1.1.1]
at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[39:org.apache.aries.util:1.1.1]
at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[39:org.apache.aries.util:1.1.1]
at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[39:org.apache.aries.util:1.1.1]
at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[39:org.apache.aries.util:1.1.1]
at
org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1179)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:731)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:486)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.Felix.startBundle(Felix.java:2172)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)[org.apache.felix.framework-5.4.0.jar:]
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1262)[9:org.apache.karaf.features.core:4.0.5]
at
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:840)[9:org.apache.karaf.features.core:4.0.5]
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1152)[9:org.apache.karaf.features.core:4.0.5]
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1048)[9:org.apache.karaf.features.core:4.0.5]
at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_79]
############################
stackoverflow question :
http://stackoverflow.com/questions/41999266/unsupported-node-namespace-http-aries-apache-org-xmlns-transactions-v2-0-0?noredirect=1#comment71179964_41999266
> Namespace Handler for http://aries.apache.org/xmlns/transactions/v2.0.0
> ------------------------------------------------------------------------
>
> Key: ARIES-1679
> URL: https://issues.apache.org/jira/browse/ARIES-1679
> Project: Aries
> Issue Type: Bug
> Components: Blueprint
> Affects Versions: 1.0
> Environment: Windows 7 - Karaf version 4.0.5 -
> apache-servicemix-7.0.0.M2
> Reporter: Achraf El Amrani
> Priority: Major
>
> I'm seeing this error, when deploying a bundle that has some
> javax.transaction.Transactional annotations
> Unsupported node namespace: http://aries.apache.org/xmlns/transactions/v2.0.0
> What I don't understand is that the bundle does reach the Active state,
> what's even weirder is that transactions work (rolling back in case of error)
> relevant information with regards to the transaction feature :
> {code}
> 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
> {code}
> #########################################
> doing a service:list | grep namespace | grep -i transaction gives :
> {code}
> 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
> {code}
> So as you can see, there is a handler for transactions/v2.0.0
> ##################################
> Full stack trace
> {code}
> 2017-02-02 11:03:13,361 | ERROR | pool-29-thread-1 | BlueprintContainerImpl
> | 28 - org.apache.aries.blueprint.core - 1.6.1 | Unable to start
> blueprint container for bundle demo-persistence-jpa/0.0.1.SNAPSHOT
> org.osgi.service.blueprint.container.ComponentDefinitionException:
> Unsupported node namespace: http://aries.apache.org/xmlns/transactions/v2.0.0
> at
> org.apache.aries.blueprint.parser.Parser.getNamespaceHandler(Parser.java:1386)[28:org.apache.aries.blueprint.core:1.6.1]
> at
> org.apache.aries.blueprint.parser.Parser.getNamespaceHandler(Parser.java:1374)[28:org.apache.aries.blueprint.core:1.6.1]
> at
> org.apache.aries.blueprint.parser.Parser.parseCustomElement(Parser.java:1367)[28:org.apache.aries.blueprint.core:1.6.1]
> at
> org.apache.aries.blueprint.parser.Parser.loadComponents(Parser.java:427)[28:org.apache.aries.blueprint.core:1.6.1]
> at
> org.apache.aries.blueprint.parser.Parser.populate(Parser.java:331)[28:org.apache.aries.blueprint.core:1.6.1]
> at
> org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:349)[28:org.apache.aries.blueprint.core:1.6.1]
> at
> org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:276)[28:org.apache.aries.blueprint.core:1.6.1]
> at
> org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:300)[28:org.apache.aries.blueprint.core:1.6.1]
> at
> org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:269)[28:org.apache.aries.blueprint.core:1.6.1]
> at
> org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:265)[28:org.apache.aries.blueprint.core:1.6.1]
> at
> org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:255)[28:org.apache.aries.blueprint.core:1.6.1]
> at
> org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[39:org.apache.aries.util:1.1.1]
> at
> org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[39:org.apache.aries.util:1.1.1]
> at
> org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[39:org.apache.aries.util:1.1.1]
> at
> org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[39:org.apache.aries.util:1.1.1]
> at
> org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[39:org.apache.aries.util:1.1.1]
> at
> org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1179)[org.apache.felix.framework-5.4.0.jar:]
> at
> org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:731)[org.apache.felix.framework-5.4.0.jar:]
> at
> org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:486)[org.apache.felix.framework-5.4.0.jar:]
> at
> org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541)[org.apache.felix.framework-5.4.0.jar:]
> at
> org.apache.felix.framework.Felix.startBundle(Felix.java:2172)[org.apache.felix.framework-5.4.0.jar:]
> at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)[org.apache.felix.framework-5.4.0.jar:]
> at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)[org.apache.felix.framework-5.4.0.jar:]
> at
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1262)[9:org.apache.karaf.features.core:4.0.5]
> at
> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:840)[9:org.apache.karaf.features.core:4.0.5]
> at
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1152)[9:org.apache.karaf.features.core:4.0.5]
> at
> org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1048)[9:org.apache.karaf.features.core:4.0.5]
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79]
> at java.lang.Thread.run(Thread.java:745)[:1.7.0_79]
> {code}
> ############################
> stackoverflow question :
> http://stackoverflow.com/questions/41999266/unsupported-node-namespace-http-aries-apache-org-xmlns-transactions-v2-0-0?noredirect=1#comment71179964_41999266
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)