You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Dan Connelly <da...@comcast.net> on 2007/05/14 22:15:30 UTC
Please demo Springified restful_dispatch
The HelloWorld (JAX-WS) from the web site works fine on Spring/Tomcat.
Can I do the same conversion with the restful_dispatch example so that
it's Provider will also run on Tomcat?
When I attempt the obvious conversion (adding an appropriate bean.xml to
WEB-INF), Tomcat complains at start-up. There is a severe Listener
start problem. The service does not start. The code (and
annotations) in demo.restful.RestSourcePayloadProvider.java are
un-changed from the the example code that is launched successfully on
Jetty in the example.
If JAX-WS WebServiceProviders are supposed to work on Tomcat under CXF,
please tell me where to set the breakpoint for debugging.
[Note, I have not attempted to invoke the service deployed to Tomcat
from a client. I cannot start this service .]
-- Dan
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
May 14, 2007 3:44:17 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
May 14, 2007 3:44:19 PM org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO:
validateJarFile(/home/daniel/workspaceSTP/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/CXF_RestfulSpring/WEB-INF/lib/geronimo-servlet_2.5_spec-1.1-M1.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class
May 14, 2007 3:44:19 PM org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO:
validateJarFile(/home/daniel/workspaceSTP/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/CXF_RestfulSpring/WEB-INF/lib/servlet-api-2.5-6.1.2rc0.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
May 14, 2007 3:44:21 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 14, 2007 3:44:21 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/CXF_RestfulSpring] startup failed due to previous errors
May 14, 2007 3:44:21 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 14, 2007 3:44:22 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 14, 2007 3:44:22 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/152 config=null
May 14, 2007 3:44:22 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
May 14, 2007 3:44:22 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5154 ms