Axis2 locks file
----------------

                 Key: AXIS2-1231
                 URL: http://issues.apache.org/jira/browse/AXIS2-1231
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: deployment
    Affects Versions: 1.1
         Environment: Axis2 is loaded under Tomcat 5.5 with JSK 1.4.2.08
Windows XP
            Reporter: Shahar Kedar


Axis2 locks WSDL files that were deployed under the META-INF directory (for 
using the original WSDL instead the WSDL that Axis2 generates).
See mail correspondance below for more details.
After further investigation it seems that the lock is only on the WSDL files 
and not on the services.xml file.

On 9/25/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote:
>
> 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: [email protected]
> 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: [email protected]
> > 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
> > >
> > >


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to