Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Service Oriented Architecture Tools Platform (STP) » Deploy SOA Web Service Errors
Deploy SOA Web Service Errors [message #599982] Thu, 11 October 2007 18:12
Scott Selvia is currently offline Scott SelviaFriend
Messages: 27
Registered: July 2009
Junior Member
I have followed the latest 0.70 video tutorial and when deploying the
created web service to tomcat 5.5 I get the following errors from tomcat.
I copied the cxf lib and modules jar files to the tomcat shared lib.

I found the following link that mentions placing the jar files in the war
file. Since this is older than the tutorial I wanted to make sure this
applies or are their other jars that should be loaded to the shared lib
folder?

http://www.nabble.com/cxf-deployment-to-tomcat-tf4344521.htm l#a12377092

I have tried both cxf 2.0.1 and 2.0.2.

Oct 11, 2007 2:04:04 PM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
org.springframework.beans.factory.BeanDefinitionStoreExcepti on: Unexpected
exception parsing XML document from /WEB-INF/cxf-servlet.xml; nested
exception is org.springframework.beans.FatalBeanException: Could not load
class: null; nested exception is java.lang.ClassNotFoundException: null
Caused by: org.springframework.beans.FatalBeanException: Could not load
class: null; nested exception is java.lang.ClassNotFoundException: null
Caused by: java.lang.ClassNotFoundException: null
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass 2(ClassLoaderUtils.java:127)
at
org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass (ClassLoaderUtils.java:116)
at
org.apache.cxf.jaxws.spring.EndpointDefinitionParser.loadImp lementor(EndpointDefinitionParser.java:132)
at
org.apache.cxf.jaxws.spring.EndpointDefinitionParser.doParse (EndpointDefinitionParser.java:86)
at
org.springframework.beans.factory.xml.AbstractSingleBeanDefi nitionParser.parseInternal(AbstractSingleBeanDefinitionParse r.java:70)
at
org.springframework.beans.factory.xml.AbstractBeanDefinition Parser.parse(AbstractBeanDefinitionParser.java:56)
at
org.springframework.beans.factory.xml.NamespaceHandlerSuppor t.parse(NamespaceHandlerSupport.java:69)
at
org.springframework.beans.factory.xml.BeanDefinitionParserDe legate.parseCustomElement(BeanDefinitionParserDelegate.java: 1114)
at
org.springframework.beans.factory.xml.BeanDefinitionParserDe legate.parseCustomElement(BeanDefinitionParserDelegate.java: 1104)
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionD ocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocu mentReader.java:133)
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionD ocumentReader.registerBeanDefinitions(DefaultBeanDefinitionD ocumentReader.java:90)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
at
org.apache.cxf.transport.servlet.CXFServlet.loadAdditionalCo nfig(CXFServlet.java:201)
at
org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CX FServlet.java:171)
at org.apache.cxf.transport.servlet.CXFServlet.init(CXFServlet. java:98)
at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:3956)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4230)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at
org.apache.catalina.core.StandardService.start(StandardServi ce.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 95)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 3)

Oct 11, 2007 2:04:04 PM org.apache.catalina.core.StandardContext
loadOnStartup
SEVERE: Servlet /Test threw load() exception
java.lang.ClassNotFoundException: null
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass 2(ClassLoaderUtils.java:127)
at
org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass (ClassLoaderUtils.java:116)
at
org.apache.cxf.jaxws.spring.EndpointDefinitionParser.loadImp lementor(EndpointDefinitionParser.java:132)
at
org.apache.cxf.jaxws.spring.EndpointDefinitionParser.doParse (EndpointDefinitionParser.java:86)
at
org.springframework.beans.factory.xml.AbstractSingleBeanDefi nitionParser.parseInternal(AbstractSingleBeanDefinitionParse r.java:70)
at
org.springframework.beans.factory.xml.AbstractBeanDefinition Parser.parse(AbstractBeanDefinitionParser.java:56)
at
org.springframework.beans.factory.xml.NamespaceHandlerSuppor t.parse(NamespaceHandlerSupport.java:69)
at
org.springframework.beans.factory.xml.BeanDefinitionParserDe legate.parseCustomElement(BeanDefinitionParserDelegate.java: 1114)
at
org.springframework.beans.factory.xml.BeanDefinitionParserDe legate.parseCustomElement(BeanDefinitionParserDelegate.java: 1104)
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionD ocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocu mentReader.java:133)
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionD ocumentReader.registerBeanDefinitions(DefaultBeanDefinitionD ocumentReader.java:90)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
at
org.apache.cxf.transport.servlet.CXFServlet.loadAdditionalCo nfig(CXFServlet.java:201)
at
org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CX FServlet.java:171)
at org.apache.cxf.transport.servlet.CXFServlet.init(CXFServlet. java:98)
at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:3956)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4230)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at
org.apache.catalina.core.StandardService.start(StandardServi ce.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 95)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 3)

Oct 11, 2007 2:04:06 PM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
org.springframework.beans.factory.BeanDefinitionStoreExcepti on: Unexpected
exception parsing XML document from /WEB-INF/cxf-servlet.xml; nested
exception is org.springframework.beans.FatalBeanException: Could not load
class: null; nested exception is java.lang.ClassNotFoundException: null
Caused by: org.springframework.beans.FatalBeanException: Could not load
class: null; nested exception is java.lang.ClassNotFoundException: null
Caused by: java.lang.ClassNotFoundException: null
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass 2(ClassLoaderUtils.java:127)
at
org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass (ClassLoaderUtils.java:116)
at
org.apache.cxf.jaxws.spring.EndpointDefinitionParser.loadImp lementor(EndpointDefinitionParser.java:132)
at
org.apache.cxf.jaxws.spring.EndpointDefinitionParser.doParse (EndpointDefinitionParser.java:86)
at
org.springframework.beans.factory.xml.AbstractSingleBeanDefi nitionParser.parseInternal(AbstractSingleBeanDefinitionParse r.java:70)
at
org.springframework.beans.factory.xml.AbstractBeanDefinition Parser.parse(AbstractBeanDefinitionParser.java:56)
at
org.springframework.beans.factory.xml.NamespaceHandlerSuppor t.parse(NamespaceHandlerSupport.java:69)
at
org.springframework.beans.factory.xml.BeanDefinitionParserDe legate.parseCustomElement(BeanDefinitionParserDelegate.java: 1114)
at
org.springframework.beans.factory.xml.BeanDefinitionParserDe legate.parseCustomElement(BeanDefinitionParserDelegate.java: 1104)
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionD ocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocu mentReader.java:133)
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionD ocumentReader.registerBeanDefinitions(DefaultBeanDefinitionD ocumentReader.java:90)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
at
org.apache.cxf.transport.servlet.CXFServlet.loadAdditionalCo nfig(CXFServlet.java:201)
at
org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CX FServlet.java:171)
at org.apache.cxf.transport.servlet.CXFServlet.init(CXFServlet. java:98)
at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:3956)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4230)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:544)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostC onfig.java:920)
at
org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1138)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at
org.apache.catalina.core.StandardService.start(StandardServi ce.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 95)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 3)

Oct 11, 2007 2:04:06 PM org.apache.catalina.core.StandardContext
loadOnStartup
SEVERE: Servlet /test threw load() exception
java.lang.ClassNotFoundException: null
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass 2(ClassLoaderUtils.java:127)
at
org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass (ClassLoaderUtils.java:116)
at
org.apache.cxf.jaxws.spring.EndpointDefinitionParser.loadImp lementor(EndpointDefinitionParser.java:132)
at
org.apache.cxf.jaxws.spring.EndpointDefinitionParser.doParse (EndpointDefinitionParser.java:86)
at
org.springframework.beans.factory.xml.AbstractSingleBeanDefi nitionParser.parseInternal(AbstractSingleBeanDefinitionParse r.java:70)
at
org.springframework.beans.factory.xml.AbstractBeanDefinition Parser.parse(AbstractBeanDefinitionParser.java:56)
at
org.springframework.beans.factory.xml.NamespaceHandlerSuppor t.parse(NamespaceHandlerSupport.java:69)
at
org.springframework.beans.factory.xml.BeanDefinitionParserDe legate.parseCustomElement(BeanDefinitionParserDelegate.java: 1114)
at
org.springframework.beans.factory.xml.BeanDefinitionParserDe legate.parseCustomElement(BeanDefinitionParserDelegate.java: 1104)
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionD ocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocu mentReader.java:133)
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionD ocumentReader.registerBeanDefinitions(DefaultBeanDefinitionD ocumentReader.java:90)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReade r.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
at
org.apache.cxf.transport.servlet.CXFServlet.loadAdditionalCo nfig(CXFServlet.java:201)
at
org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CX FServlet.java:171)
at org.apache.cxf.transport.servlet.CXFServlet.init(CXFServlet. java:98)
at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:3956)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4230)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:544)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostC onfig.java:920)
at
org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1138)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at
org.apache.catalina.core.StandardService.start(StandardServi ce.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 95)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 3)
Previous Topic:Looking to do a BPMN > SVG XSLT
Next Topic:SOA Build Package
Goto Forum:
  


Current Time: Fri Dec 19 02:18:28 GMT 2014

Powered by FUDForum. Page generated in 0.01486 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software