[jboss-user] [JBossWS] - java.lang.NoSuchMethodError: javax.xml.soap.SOAPFactory.newI

bineec do-not-reply at jboss.com
Wed Nov 7 19:58:31 EST 2007


I am getting follwing error when deploying  java web service developed using JWSDP 2.0 in JBOSS 3.2.x.

Please let me know if any one knows the reason for this cause and how to fix it.

Thanks,

INFO: WSSERVLET12: JAX-WS context listener initializing
22:46:48,062 ERROR [Engine] StandardContext[/pmservice]Exception sending context initialized event to listener instance of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
java.lang.NoSuchMethodError: javax.xml.soap.SOAPFactory.newInstance(Ljava/lang/String;)Ljavax/xml/soap/SOAPFactory;
	at com.sun.xml.xwss.SystemHandlerDelegateImpl.(SystemHandlerDelegateImpl.java:658)
	at com.sun.xml.xwss.SystemHandlerDelegateFactory.create(SystemHandlerDelegateFactory.java:26)
	at com.sun.xml.ws.spi.runtime.SystemHandlerDelegateFactory.getDelegate(SystemHandlerDelegateFactory.java:59)
	at com.sun.xml.ws.binding.soap.SOAPBindingImpl.setupSystemHandlerDelegate(SOAPBindingImpl.java:205)
	at com.sun.xml.ws.binding.soap.SOAPBindingImpl.(SOAPBindingImpl.java:66)
	at com.sun.xml.ws.binding.BindingImpl.getBinding(BindingImpl.java:179)
	at com.sun.xml.ws.transport.http.servlet.RuntimeEndpointInfoParser.parseEndpoints(RuntimeEndpointInfoParser.java:118)
	at com.sun.xml.ws.transport.http.servlet.RuntimeEndpointInfoParser.parse(RuntimeEndpointInfoParser.java:64)
	at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:112)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3831)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4323)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.apache.catalina.core.StandardContext.init(StandardContext.java:5456)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:324)
	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:83)
	at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:320)
	at org.jboss.web.WebModule.startModule(WebModule.java:62)
	at org.jboss.web.WebModule.startService(WebModule.java:40)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:899)
	at $Proxy18.start(Unknown Source)
	at org.jboss.system.ServiceController.start(ServiceController.java:415)
	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
	at $Proxy30.start(Unknown Source)
	at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:363)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
	at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
	at $Proxy8.deploy(Unknown Source)
	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
	at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:899)
	at $Proxy0.start(Unknown Source)
	at org.jboss.system.ServiceController.start(ServiceController.java:415)
	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
	at $Proxy4.start(Unknown Source)
	at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
	at $Proxy5.deploy(Unknown Source)
	at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
	at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
	at org.jboss.Main.boot(Main.java:191)
	at org.jboss.Main$1.run(Main.java:480)
	at java.lang.Thread.run(Thread.java:595)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102744#4102744

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102744



More information about the jboss-user mailing list