karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: webservice-Axis2
Date Thu, 05 May 2016 05:03:35 GMT
Hi,

it sounds like classloading issue ;)

Regards
JB

On 05/05/2016 04:19 AM, wuxinlong wrote:
> MultiException[java.lang.NoClassDefFoundError: org/w3c/dom/Node,
> java.lang.NoClassDefFoundError: Could not initialize class
> org.apache.axiom.om.OMAbstractFactory]
> 	at
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:842)[75:org.eclipse.jetty.servlet:9.2.15.v20160210]
> 	at
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)[75:org.eclipse.jetty.servlet:9.2.15.v20160210]
> 	at
> org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.startContext(HttpServiceContext.java:590)[93:org.ops4j.pax.web.pax-web-jetty:4.2.6]
> 	at
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)[74:org.eclipse.jetty.server:9.2.15.v20160210]
> 	at
> org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doStart(HttpServiceContext.java:249)[93:org.ops4j.pax.web.pax-web-jetty:4.2.6]
> 	at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[77:org.eclipse.jetty.util:9.2.15.v20160210]
> 	at
> org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:273)[93:org.ops4j.pax.web.pax-web-jetty:4.2.6]
> 	at
> org.ops4j.pax.web.service.internal.HttpServiceStarted.end(HttpServiceStarted.java:1095)[95:org.ops4j.pax.web.pax-web-runtime:4.2.6]
> 	at
> org.ops4j.pax.web.service.internal.HttpServiceProxy.end(HttpServiceProxy.java:413)[95:org.ops4j.pax.web.pax-web-runtime:4.2.6]
> 	at
> org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.end(RegisterWebAppVisitorWC.java:380)[91:org.ops4j.pax.web.pax-web-extender-war:4.2.6]
> 	at
> org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:692)[91:org.ops4j.pax.web.pax-web-extender-war:4.2.6]
> 	at
> org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.register(WebAppPublisher.java:237)[91:org.ops4j.pax.web.pax-web-extender-war:4.2.6]
> 	at
> org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:182)[91:org.ops4j.pax.web.pax-web-extender-war:4.2.6]
> 	at
> org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:135)[91:org.ops4j.pax.web.pax-web-extender-war:4.2.6]
> 	at
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)[org.osgi.core-6.0.0.jar:]
> 	at
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870)[org.osgi.core-6.0.0.jar:]
> 	at
> org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[org.osgi.core-6.0.0.jar:]
> 	at
> org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[org.osgi.core-6.0.0.jar:]
> 	at
> org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:318)[org.osgi.core-6.0.0.jar:]
> 	at
> org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[org.osgi.core-6.0.0.jar:]
> 	at
> org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:101)[91:org.ops4j.pax.web.pax-web-extender-war:4.2.6]
> 	at
> org.ops4j.pax.web.extender.war.internal.WebObserver.deploy(WebObserver.java:219)[91:org.ops4j.pax.web.pax-web-extender-war:4.2.6]
> 	at
> org.ops4j.pax.web.extender.war.internal.WebObserver$1.doStart(WebObserver.java:179)[91:org.ops4j.pax.web.pax-web-extender-war:4.2.6]
> 	at
> org.ops4j.pax.web.extender.war.internal.extender.SimpleExtension.start(SimpleExtension.java:59)[91:org.ops4j.pax.web.pax-web-extender-war:4.2.6]
> 	at
> org.ops4j.pax.web.extender.war.internal.extender.AbstractExtender$1.run(AbstractExtender.java:280)[91:org.ops4j.pax.web.pax-web-extender-war:4.2.6]
> 	at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_66]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_66]
> 	at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_66]
> 	at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_66]
> 	at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_66]
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_66]
> 	at java.lang.Thread.run(Thread.java:745)[:1.8.0_66]
> Caused by: java.lang.NoClassDefFoundError: org/w3c/dom/Node
> 	at
> org.apache.axiom.locator.DefaultOMMetaFactoryLocator.<init>(DefaultOMMetaFactoryLocator.java:87)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)[:1.8.0_66]
> 	at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[:1.8.0_66]
> 	at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.8.0_66]
> 	at
> java.lang.reflect.Constructor.newInstance(Constructor.java:422)[:1.8.0_66]
> 	at java.lang.Class.newInstance(Class.java:442)[:1.8.0_66]
> 	at
> org.apache.axiom.om.OMAbstractFactory.<clinit>(OMAbstractFactory.java:104)
> 	at
> org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:72)
> 	at
> org.apache.axis2.engine.AxisConfiguration.<init>(AxisConfiguration.java:175)
> 	at
> org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:627)
> 	at
> org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:157)
> 	at
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:620)
> 	at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:471)
> 	at
> org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616)
> 	at
> org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396)
> 	at
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
> 	... 31 more
> Caused by: java.lang.ClassNotFoundException: org.w3c.dom.Node not found by
> axis2-webapp [97]
> 	at
> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1574)[org.apache.felix.framework-5.4.0.jar:]
> 	at
> org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)[org.apache.felix.framework-5.4.0.jar:]
> 	at
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2018)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_66]
> 	... 47 more
> 2016-05-05 10:04:19,591 | WARN  | pool-40-thread-1 | HttpServiceStarted
> | 95 - org.ops4j.pax.web.pax-web-runtime - 4.2.6 | Exception finalizing
> HttpContext registration
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/webservice-Axis2-tp4046468p4046494.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message