Good point Howard, war is usually far easier for simple needs. Could you share you simple sample? And provide us with the full log please.
JLouis 2012/12/7 Howard W. Smith, Jr. <smithh032...@gmail.com> > Robert, > > What is the date/time/version of that SNAPSHOT? > > Per my experience, I usually prefer to drop my .war file in tomee /webapps > folder, and I have to remember to access it via the same name as the war > file. So, what I learned by experience is the following: > > 1. Netbeans generate WAR file named, mcms_tomee.war (since name of my > application in Netbeans = 'mcms_tomee') > 2. drop mcms_tomee.war in tomee /webapps folder > 3. I usually access the web app via context root name defined in NetBeans, > which is 'mcmsweb' (or URL below) > > http://localhost:8080/*mcmsweb*/login.jsf > > 4. but the above URL does not work, since WAR file was named mcms_tomee.war > 5. TomEE will unpack mcms_tomee.war, and place the contents in tomee > /webapps/mcms_tomee > 6. and i have to access the app via URL below > > http://localhost:8080/*mcms_tomee*/login.jsf > > > I know my example is web app and not a webservice, and I know i'm using > Netbeans while you're using Eclipse, but I hope that tidbit-of-informatoin > helps. > > Howard > > > On Fri, Dec 7, 2012 at 10:45 AM, COUBLANC Robert > <robert.coubl...@3ds.com>wrote: > >> Hello. >> >> >> >> I installed apache-tomee-plus-1.5.1-SNAPSHOT , and I was trying to test >> the deployment of a very simple Jaxws web service (Calculator), but it’s >> failing each time I launch the server : >> >> >> >> >> >> *Infos: Creating Service {http://myws.sample}CalculatorService from >> class ws.sample.CalculatorWs* >> >> *dΘc. 07, 2012 4:41:09 PM org.apache.cxf.endpoint.ServerImpl >> initDestination* >> >> *Infos: Setting the server's publish address to be http://nopath:80* >> >> *dΘc. 07, 2012 4:41:09 PM >> org.apache.openejb.server.webservices.WsService afterApplicationCreated* >> >> *Grave: Error deploying CXF webservice for servlet ws.sample.Calculator* >> >> *java.lang.IllegalArgumentException: Could not find servlet >> ws.sample.Calculator in web application context /WSTEST* >> >> * 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:57) >> * >> >> * at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> * >> >> * at java.lang.reflect.Method.invoke(Method.java:601)* >> >> * 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:1290) >> * >> >> * 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.tomee.catalina.TomcatWebAppBuilder.deployWar(TomcatWebAppBuilder.java:530) >> * >> >> * at >> org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(TomcatWebAppBuilder.java:499) >> * >> >> * at >> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:903) >> * >> >> * at >> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:537) >> * >> >> * at >> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:533) >> * >> >> * at >> org.apache.tomee.catalina.TomcatWebAppBuilder.checkHost(TomcatWebAppBuilder.java:1588) >> * >> >> * at >> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:124) >> * >> >> * at >> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) >> * >> >> * at >> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) >> * >> >> * at >> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1374) >> * >> >> * at >> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530) >> * >> >> * at >> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540) >> * >> >> * at >> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519) >> * >> >> * at java.lang.Thread.run(Thread.java:722)* >> >> >> >> >> >> I do not understand why, I just copied a sample test class into an >> eclipse dynamic web project, and generated an ear to be deployed in TOMEE+ >> >> >> >> I guess I missed something, but do not find what. Can you help me? >> >> >> >> Thanks >> >> >> >> >> >> >> >> *Cordialement / Best Regards, * >> >> Robert COUBLANC >> >> R&D 3D Experience Platform Cloud Supervision & Web Services Senior >> Technology Manager >> >> Office: +33 1 6162 8541 >> robert.coubl...@3ds.com <robert.coubl...@3ds.com> >> >> [image: 3DS Logo] >> >> *3DS.COM* <http://www.3ds.com/> >> >> *Dassault Systèmes* | *10 rue Marcel Dassault, CS 40501* | *78946 >> Vélizy-Villacoublay Cedex* | *France* >> >> >> >> >> >> This email and any attachments are intended solely for the use of the >> individual or entity to whom it is addressed and may be confidential and/or >> privileged. >> >> If you are not one of the named recipients or have received this email in >> error, >> >> (i) you should not read, disclose, or copy it, >> >> (ii) please notify sender of your receipt by reply email and delete this >> email and all attachments, >> >> (iii) Dassault Systemes does not accept or assume any liability or >> responsibility for any use of or reliance on this email. >> >> For other languages, go to http://www.3ds.com/terms/email-disclaimer >> > > -- Jean-Louis