users@jax-rpc.java.net

Re: parameter name

From: Bobby Bissett - Javasoft <bobby.bissett_at_sun.com>
Date: Fri, 13 Jan 2006 10:16:28 -0800

Hi Amit,

Was the exception below ever resolved?

Another user sent a similar exception to me, but he figured out the
problem (long before I would have). The IDE had appended ".xml" to the
sun-jaxws.xml file when it was saved, so the file that ended up in the
WAR file was "sun-jaxws.xml.xml", which caused the problem of the Stax
reader not being created since the file name was incorrect.

If that's not the issue in this case, sorry. But wanted to let you know
in case it helped.

Cheers,
Bobby

>>> Jan 7, 2006 8:18:25 PM org.apache.catalina.core.StandardContext
>>> listenerStart
>>> SEVERE: Exception sending context initialized event to listener
>>> instance of class
>>> com.sun.xml.ws.transport.http.servlet.WSServletContextListener
>>> WSSERVLET11: failed to parse runtime descriptor: Unable to create
>>> StAX reader or writer
>>> at
>>> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:130)
>>>
>>> at
>>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
>>>
>>> at
>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
>>>
>>> at
>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>>>
>>> at
>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>>> at
>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>>> at
>>> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)
>>>
>>> at
>>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:494)
>>> at
>>> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1179)
>>> 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
>>> com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
>>>
>>> at
>>> com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
>>> at
>>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
>>>
>>> at
>>> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
>>> at
>>> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1377)
>>>
>>> at
>>> org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:814)
>>>
>>> at
>>> org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:343)
>>>
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>
>>> at
>>> org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:168)
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>
>>> at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>
>>> at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>
>>> at
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
>>>
>>> at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>
>>> at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>
>>> at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>
>>> at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>
>>> at
>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>>>
>>> at
>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
>>>
>>> at
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>
>>> at
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>
>>> at
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>
>>> at java.lang.Thread.run(Thread.java:595)
>>> Caused by: Unable to create StAX reader or writer
>>> at
>>> com.sun.xml.ws.streaming.XMLStreamReaderFactory.createXMLStreamReader(XMLStreamReaderFactory.java:151)
>>>
>>> at
>>> com.sun.xml.ws.streaming.XMLStreamReaderFactory.createXMLStreamReader(XMLStreamReaderFactory.java:116)
>>>
>>> at
>>> com.sun.xml.ws.transport.http.servlet.RuntimeEndpointInfoParser.parse(RuntimeEndpointInfoParser.java:61)
>>>
>>> at
>>> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:112)
[...]