users@jax-ws.java.net

Re: Tomcat problem

From: Rama Pulavarthi <Rama.Pulavarthi_at_Sun.COM>
Date: Wed, 17 Jan 2007 16:40:31 -0800

Did you put version='2.1' in sun-jaxws.xml?
You should still use version="2.0" and there have been no changes to
sun-jaxws.xml
thanks,
Rama Pulavarthi

Daniel Kasmeroglu wrote:
> Sorry, for this spamming today ;-) Now I want to deploy my service on
> a Tomcat installation. So here's what I've done:
>
> JAVA_HOME (set), CATALINA_HOME (set), JAXWS_HOME (set), jaxws-libs
> have been copied to
> "lib/endorsed" (under jdk1.6) and to the "tomcat/lib" (Tomcat 6)
> directory.
>
> I'm using JAX-WS 2.1 EA 3 (this is also dumped using 'wsgen.bat
> -version'). As described within
> the User's-Guide and the samples I've created a sun-jaxws.xml, web.xml
> ... to create a WAR.
> The deployment works fine but when I try to run the service I get the
> following error:
>
> >> WSSERVLET11: failed to parse runtime descriptor: unsupported
> runtime descriptor version: 2.1
>
> So regarding the meaning of this message I would suspect that Tomcat
> still uses JAX-WS 2.0 but
> the manager shows that jdk1.6 is in use which has the necessary JAR's
> within the 'lib/endorsed' directory.
>
> Any ideas ?
>
> Ciao
> Kasimir
> ------------------------------------------------------------------------
>
> SCHWERWIEGEND: WSSERVLET11: failed to parse runtime descriptor: unsupported runtime descriptor version: 2.1
> unsupported runtime descriptor version: 2.1
> at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.failWithLocalName(DeploymentDescriptorParser.java:496)
> at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:185)
> at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:132)
> at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:93)
> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
> at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1177)
> at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:542)
> at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:105)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
> at java.lang.Thread.run(Thread.java:619)
>
>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>