Runtime descriptor "/WEB-INF/sun-jaxws.xml" is missing
at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener
Tend to show metro is still there somehow - dont know if it is enforced or
a dirty deployment.
If you applied the patch you can do
mvn clean package tomee:run
And you get the webservice url in the log (just add ?wsdl to access the
wsdl).
Le 27 juin 2016 03:23, "Rourke" <[email protected]> a écrit :
> I can't thank you more for this.
>
> However I have updated the project in Github following your instructions (I
> forgot to remove the <session-timeout> but I suppose it doesn't affect) and
> I am still getting the window message about "non jsr109 compliant" (which I
> answered "No" to make changes) and I get some errors in the log. It seems
> it
> is expecting a sun-jaxws.xml file:
>
> 27-Jun-2016 03:10:42.778 SEVERE [localhost-startStop-4]
> org.apache.catalina.core.StandardContext.listenerStart Exception sending
> context initialized event to listener instance of class
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener
> com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11:
> failed to parse runtime descriptor: javax.xml.ws.WebServiceException:
> Runtime descriptor "/WEB-INF/sun-jaxws.xml" is missing
> at
>
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.parseAdaptersAndCreateDelegate(WSServletContextListener.java:141)
> at
>
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:152)
> at
>
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4733)
> at
>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5195)
> at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
> at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
> at
>
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:596)
> at
>
> org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1805)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: javax.xml.ws.WebServiceException: Runtime descriptor
> "/WEB-INF/sun-jaxws.xml" is missing
> at
>
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.parseAdaptersAndCreateDelegate(WSServletContextListener.java:125)
> ... 14 more
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/TomEE-and-Web-Services-tp4679025p4679070.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>