org.osgi.service.blueprint.container.ComponentDefinitionException: Unsupported node namespace: http://karaf.apache.org/xmlns/shell/v1.0.0

Apache's JIRA Issue Tracker | Tina Li | 5 years ago
  1. 0

    1. Using the build Nov 17 09:40:41 UTC 2011 of geronimo 3.0 snapshot 2. Run geronimo as a linux service: <geronimo_home>/bin#./register-service add gservice <geronimo_home>/bin#gservice start 3. Stop the service: <geronimo_home>/bin#gservice stop 4.But service can't be stopped and fond error: Could not communicate with the server. The server may not be running or the port number may be incorrect (Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused]) Locating server on localhost:1099... 2011-11-28 20:17:45,730 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle org.apache.karaf.shell.obr org.osgi.service.blueprint.container.ComponentDefinitionException: Unsupported node namespace: http://karaf.apache.org/xmlns/shell/v1.0.0 at org.apache.aries.blueprint.container.Parser.getNamespaceHandler(Parser.java:1262) at org.apache.aries.blueprint.container.Parser.getNamespaceHandler(Parser.java:1253) at org.apache.aries.blueprint.container.Parser.parseCustomElement(Parser.java:1246) at org.apache.aries.blueprint.container.Parser.loadComponents(Parser.java:337) at org.apache.aries.blueprint.container.Parser.populate(Parser.java:277) at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:277) at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:227) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:109) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:218) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) at java.lang.Thread.run(Thread.java:736) 2011-11-28 20:17:45,775 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle org.apache.karaf.features.command org.osgi.service.blueprint.container.ComponentDefinitionException: Unsupported node namespace: http://karaf.apache.org/xmlns/shell/v1.0.0 at org.apache.aries.blueprint.container.Parser.getNamespaceHandler(Parser.java:1262) at org.apache.aries.blueprint.container.Parser.getNamespaceHandler(Parser.java:1253) at org.apache.aries.blueprint.container.Parser.parseCustomElement(Parser.java:1246) at org.apache.aries.blueprint.container.Parser.loadComponents(Parser.java:337) at org.apache.aries.blueprint.container.Parser.populate(Parser.java:277) at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:277) at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:227) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:109) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:218) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) at java.lang.Thread.run(Thread.java:736) 5.for linux x86_64, when executing step4, server can be stopped but displayed the info: Locating server on localhost:1099... Server found. Server shutdown started Server shutdown completed org.apache.karaf.features.core[org.apache.karaf.features.internal.FeaturesServiceImpl] : Error persisting FeaturesService state java.lang.IllegalStateException: BundleContext is no longer valid at org.eclipse.osgi.framework.internal.core.BundleContextImpl.checkValid(BundleContextImpl.java:931) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getDataFile(BundleContextImpl.java:664) at org.apache.karaf.features.internal.FeaturesServiceImpl.saveState(FeaturesServiceImpl.java:1042) at org.apache.karaf.features.internal.FeaturesServiceImpl$1.run(FeaturesServiceImpl.java:973)

    Apache's JIRA Issue Tracker | 5 years ago | Tina Li
    org.osgi.service.blueprint.container.ComponentDefinitionException: Unsupported node namespace: http://karaf.apache.org/xmlns/shell/v1.0.0
  2. 0

    can't use two bundles with ehcache in karaf container

    Stack Overflow | 3 years ago | BPS
    org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to instantiate components
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    ESB ActiveMQ-based Message Broker with SSL | JBoss Developer

    jboss.org | 1 year ago
    org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: keyStore, getter: public org.springframework.core.io.Resource org.apache.activemq.spring.SpringSslContext.getKeyStore(), setter: [public void org.apache.activemq.spring.SpringSslContext.setKeyStore(org.springframework.core.io.Resource)]
  5. 0

    [SMX4-966] Connection refused to embedded broker when starting up - ASF JIRA

    apache.org | 11 months ago
    org.osgi.service.blueprint.container.ComponentDefinitionException: Unresolved ref/idref to component: embeddedBroker

  1. davidvanlaatum 144 times, last 3 weeks ago
  2. davidvanlaatum 25 times, last 3 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.osgi.service.blueprint.container.ComponentDefinitionException

    Unsupported node namespace: http://karaf.apache.org/xmlns/shell/v1.0.0

    at org.apache.aries.blueprint.container.Parser.getNamespaceHandler()
  2. Apache Aries Blueprint Core
    BlueprintContainerImpl.run
    1. org.apache.aries.blueprint.container.Parser.getNamespaceHandler(Parser.java:1262)
    2. org.apache.aries.blueprint.container.Parser.getNamespaceHandler(Parser.java:1253)
    3. org.apache.aries.blueprint.container.Parser.parseCustomElement(Parser.java:1246)
    4. org.apache.aries.blueprint.container.Parser.loadComponents(Parser.java:337)
    5. org.apache.aries.blueprint.container.Parser.populate(Parser.java:277)
    6. org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:277)
    7. org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:227)
    7 frames
  3. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:149)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:109)
    5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:218)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
    7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
    8. java.lang.Thread.run(Thread.java:736)
    8 frames