Hi Dims,

Let me explain:

I do not use .aar files but directories that are structured in the same
way (which is supported according to Axis2 documentation). So my
directory structure is:

---<service group name>
        |
        |
        <META-INF>
                |
                |
                Services.xml
                <serviceA_name>.wsdl
                <serviceB_name>.wsdl
                ..etc

When I want to undeploy a service I simply remove it from the
services.xml file and delete its WSDL.
When I want to undeploy all the web services in the group I try to
delete the root directory (<service group name> folder). Most of the
times I fail to delete it.

Thanks,
Shahar Kedar

-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006 3:29 PM
To: Kedar, Shahar
Cc: axis-user@ws.apache.org
Subject: Re: [Axis2] Undeploying a web service

WSDL files??? i thought you are trying to remove .aar files...

-- dims

On 9/25/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote:
> Hi Dims,
>
> The locking problem was not solved. Axis2 still locks WSDL files.
>
> -----Original Message-----
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 21, 2006 4:35 PM
> To: axis-user@ws.apache.org
> Subject: Re: [Axis2] Undeploying a web service
>
> Latest nightly should not have the locking problem. Can you please
> test and confirm?
>
> thanks,
> dims
>
> On 9/21/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > Hi All,
> >
> >
> >
> > Let say I want to undeploy a web service while Axis is running. What
> is the
> > best way of doing that? Is it simply deleting the service folder
> (structured
> > as an aar file)? The reason I'm asking is that sometimes when trying
> to
> > delete a folder or even a single file, I am denied by the operating
> system.
> > I presume that Axis2 needs to lock the folder (or aar file) once in
a
> while
> > when poling the repository for new or updated services, but it makes
> it very
> > difficult to undeploy service dynamically.
> >
> >
> >
> > Is there any other way of programmatically undeploying a web
service?
> >
> >
> >
> > Regards,
> >
> > Shahar Kedar
> >
> >
>
>
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service
> Developers)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service
Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to