Salut Fred ;)

opened https://issues.apache.org/jira/browse/TOMEE-1351


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-09-18 10:45 GMT+02:00 Frederic Cornuau <[email protected]>:
> Hello,
>
> When I try to deploy a JAX-WS POJO WebService on the webapp ROOT context, I
> get the following error:
>
> sept. 18, 2014 10:29:29 AM org.apache.openejb.server.webservices.WsService
> afterApplicationCreated
> GRAVE: Error deploying CXF webservice for servlet ws
> java.lang.IllegalArgumentException: Could not find web application context /
> in host localhost
>         at
> org.apache.tomee.webservices.TomcatWsRegistry.setWsContainer(TomcatWsRegistry.java:111)
>         at
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:406)
>         at
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:483)
>         at
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:149)
>         at
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>         at
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:108)
>         at
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1600)
>         at
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:113)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>         at
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
>         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983)
>         at
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660)
>         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)
>
> This error can be reproduced with the pojo-webservice example
> (http://ci.apache.org/projects/openejb/examples-generated/pojo-webservice/index.html).
> Just set the build finalname to ROOT in the pom.xml.
>
> Regards
> Frederic
>
>
>
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/JAX-WS-POJO-WebService-deployment-doesn-t-work-on-ROOT-context-tp4671852.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to