4 Replies Latest reply on Jan 24, 2011 9:26 AM by Claus Ibsen

    NoSuchMethodError while starting servicemix

    Gaurav Nigam Newbie

      Hi,

      I was trying to start the servicemix server on unix machine when I ran into many exceptions similar to the following:

       

      06:53:36,491 | ERROR | rint Extender: 3 | BlueprintContainerImpl           | container.BlueprintContainerImpl  342 | 7 - org.apache.aries.blueprint - 0.2.0.incubating | Unable to start blueprint container for bundle org.apache.karaf.jaas.config

      java.lang.NoSuchMethodError: com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(Ljavax/xml/transform/Source;)Lcom/sun/org/apache/xerces/internal/xni/grammars/Grammar;

              at com.sun.org.apache.xerces.internal.jaxp.validation.xs.SchemaFactoryImpl.newSchema(SchemaFactoryImpl.java:206)[:1.5.0_24]

              at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.getSchema(NamespaceHandlerRegistryImpl.java:236)[7:org.apache.aries.blueprint:0.2.0.incubating]

              at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl$NamespaceHandlerSetImpl.getSchema(NamespaceHandlerRegistryImpl.java:306)[7:org.apache.aries.blueprint:0.2.0.incubating]

              at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:261)[7:org.apache.aries.blueprint:0.2.0.incubating]

              at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:213)[7:org.apache.aries.blueprint:0.2.0.incubating]

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)[:1.5.0_24]

              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)[:1.5.0_24]

              at java.util.concurrent.FutureTask.run(FutureTask.java:123)[:1.5.0_24]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65)[:1.5.0_24]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:172)[:1.5.0_24]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)[:1.5.0_24]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)[:1.5.0_24]

              at java.lang.Thread.run(Thread.java:595)[:1.5.0_24]

      06:53:36,492 | WARN  | rint Extender: 2 | BlueprintContainerImpl           | container.BlueprintContainerImpl  252 | 7 - org.apache.aries.blueprint - 0.2.0.incubating | Bundle org.apache.karaf.shell.log is waiting for namespace handlers (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0)), (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://karaf.apache.org/xmlns/shell/v1.0.0))

       

      I am using apache-servicemix-4.3.0-fuse-03-00 version. I don't have internet access on this machine. Can anyone suggest what could have caused this?

       

      Thanks,

      Gaurav