You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Prem Kumar <m....@3i-infotech.com> on 2013/04/05 14:10:29 UTC

Problem in webservice deployment in TOMEE PLUS

Hi,

I have written a jax-ws webservice. The webservice was developed using MyEclipse 7.5 with bottom up uproach.

I am able to deploy it on apache-tomcat-7.0.26, JBoss 5.1.0 GA and Oracle WebLogic servers.

But when i try to deploy the same on apache-tomee-plus-1.5.1, it raises a severe error and deployment fails.

The stack trace is as follows

SEVERE: Error deploying CXF webservice for servlet org.jdol.dolserver.ws.DOLServerBeanWSDelegate
java.lang.IllegalArgumentException: Could not find servlet org.jdol.dolserver.ws.DOLServerBeanWSDelegate in web application context /JAXWSJDOLSERVER
 at org.apache.tomee.webservices.TomcatWsRegistry.setWsContainer(TomcatWsRegistry.java:107)
 at org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:365)
 at org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
 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:597)
 at org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
 at org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
 at org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
 at org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1298)
 at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:104)
 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.deployDirectory(HostConfig.java:1114)
 at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
 at java.lang.Thread.run(Thread.java:619)


Kindly help me in resolving the issue


--------------------------------------------------------------------------------
Regards
M.K.Prem Kumar, Senior Software Engineer, Global DMS & BPM Group, 3i Infotech Ltd. 
Tel. Direct: + 91 80 67710473 | Cell: +91 9448739404 | Email: m.premkumar@3i-infotech.com | www.3i-infotech.com

--------------------------------------------------------------------------------
 


---
This e-mail message may contain confidential, proprietary or legally privileged information. It should not be used by anyone who is not the original intended recipient.If you have erroneously received this message, please delete it immediately and notify the sender. The recipient acknowledges that 3i Infotech or its subsidiaries and  associated companies, (collectively "3i Infotech"), are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of 3i Infotech. Before opening any attachments please check them for viruses and defects.


Re: Problem in webservice deployment in TOMEE PLUS

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

maybe try 1.6.0-SNAPSHOT or define your webservice as a servlet in web.xml

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



2013/4/5 Prem Kumar <m....@3i-infotech.com>

> **
> Hi,
>
> I have written a jax-ws webservice. The webservice was developed using
> MyEclipse 7.5 with bottom up uproach.
>
> I am able to deploy it on apache-tomcat-7.0.26, JBoss 5.1.0 GA and Oracle
> WebLogic servers.
>
> But when i try to deploy the same on apache-tomee-plus-1.5.1, it raises a
> severe error and deployment fails.
>
> The stack trace is as follows
>
> SEVERE: Error deploying CXF webservice for servlet
> org.jdol.dolserver.ws.DOLServerBeanWSDelegate
> java.lang.IllegalArgumentException: Could not find servlet
> org.jdol.dolserver.ws.DOLServerBeanWSDelegate in web application context
> /JAXWSJDOLSERVER
>  at
> org.apache.tomee.webservices.TomcatWsRegistry.setWsContainer(TomcatWsRegistry.java:107)
>  at
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:365)
>  at
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
>  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:597)
>  at
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
>  at
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>  at
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
>  at
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1298)
>  at
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:104)
>  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.deployDirectory(HostConfig.java:1114)
>  at
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
>  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>  at java.lang.Thread.run(Thread.java:619)
>
>
> Kindly help me in resolving the issue
>
>  ------------------------------
> *Regards*
> *M.K.Prem Kumar, Senior Software Engineer, Global DMS & BPM Group, 3i
> Infotech Ltd. *
> Tel. Direct: + 91 80 67710473 | Cell: +91 9448739404 | Email:
> m.premkumar@3i-infotech.com | www.3i-infotech.com
> ------------------------------
>
>
>
> This e-mail message may contain confidential, proprietary or legally
> privileged information. It should not be used by anyone who is not the
> original intended recipient. If you have erroneously received this message,
> please delete it immediately and notify the sender. The recipient
> acknowledges that 3i Infotech or its subsidiaries and associated companies,
> (collectively "3i Infotech"), are unable to exercise control or ensure or
> guarantee the integrity of/over the contents of the information contained
> in e-mail transmissions and further acknowledges that any views expressed
> in this message are those of the individual sender and no binding nature of
> the message shall be implied or assumed unless the sender does so expressly
> with due authority of 3i Infotech. Before opening any attachments please
> check them for viruses and defects.
>