Can you try with the latest release?
On Mon, Mar 7, 2011 at 5:26 PM, Nikolaus Krismer <r...@krismer.de> wrote: > I tried to move my current AAR file from the services dir to services/v1 > dir, but this raises the following exception: > > org.apache.axis2.deployment.DeploymentException: Invalid service. META-INF > directory not found. > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:297) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:67) > at > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597) > at > org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:284) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:82) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:516) > at > org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4230) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) > at > org.apache.catalina.core.StandardHost.start(StandardHost.java:736) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) > at > org.apache.catalina.core.StandardService.start(StandardService.java:448) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:700) > at org.apache.catalina.startup.Catalina.start(Catalina.java:552) > 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.catalina.startup.Bootstrap.start(Bootstrap.java:295) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) > Caused by: org.apache.axis2.deployment.DeploymentException: Invalid > service. META-INF directory not found. > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:285) > ... 28 more > > I am still using axi2 v. 1.4.1 here... is that a problem? > > Regards, > Niko > > ----- Original Message ----- > From: afk...@gmail.com > To: java-user@axis.apache.org > Date: 05.03.2011 03:24:26 > Subject: Re: Deploy services to subfolders in servicePath? > > > > Yes that is possible. You have to specify the service hierarchy. In the > > deployment services directory, put your services AAR files into, > > v1/MyService.aar and v2/MyServices.aar > > > > > > On Fri, Mar 4, 2011 at 2:27 PM, Nikolaus Krismer wrote: > > > > > Hi! > > > > > > Is there a possibility to deploy webservices in Axis2 to subfolders of > the > > > servicePath? > > > > > > The reason i want to do this is because of versioning. I would like to > > > deploy my webservice "MyService" in a new version (called v2) and in an > > > older version (called v1). I don't want my clients to change the epr > when > > > the service changes, so I am thinking of deployment like this: > > > > > > https://myserver/services/v1/MyService > > > https://myserver/services/v2/MyService > > > > > > Is this possible if the servicePath is "/services"? > > > > > > Regards, > > > Niko > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > > > For additional commands, e-mail: java-user-h...@axis.apache.org > > > > > > > > > > > > -- > > *Afkham Azeez* > > Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, > > * > > * > > *Member; Apache Software Foundation; > > **http://www.apache.org/* > > * > > email: **az...@wso2.com* * cell: +94 77 3320919 > > blog: **http://blog.afkham.org* * > > twitter: **http://twitter.com/afkham_azeez* > > * > > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > > * > > * > > *Lean . Enterprise . Middleware* > > * > > * > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > For additional commands, e-mail: java-user-h...@axis.apache.org > > -- *Afkham Azeez* Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/> * email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* * *