Hi Michele;

I think you are using windows , because I too have this problem :) . Any
way the problem is due to class loading issues . As you know in Axis2
each services get its own class loader, so how we create the class
loader is using the service archive file as a url. Once we create the
class loader we can not just delete the file since is it is locked by
the file system . But you dont have this problem in Linux  :( ,

Did you ever try to delete a lib file in tomcat lib directory  while it
is running , if you try you will get the same error , it does not allow
you to delete the file. So Axis2 has the same problem , and we do not
try to solve this. But you can have hot update services , I mean rather
than deleting the file you can just drop the updated service into
services directory , then right thing will happen (old one will be
replaced by new one).



Michele Mazzucco wrote:

>Hi Deepal,
>
>my axis2.xml has the following line
>
><parameter name="hotupdate" locked="false">true</parameter>
>
>but I can't delete any service while the server is running.
>
>
>Michele
>
>Deepal Jayasinghe wrote:
>  
>
>>You have that capability , but you have to edit axis2.xml file in order
>>to have this feature.
>>You have to change to
>><parameter name="hotupdate" locked="false">false</parameter>
>>following
>><parameter name="hotupdate" locked="false">false</parameter>
>>
>>Michele Mazzucco wrote:
>>
>>    
>>
>>>Hi all,
>>>
>>>I know it's possible to deploy services while the server is running
>>>(Tomcat + Axis2), but is it possible to "undeploy" services while the
>>>server is on?
>>>
>>>
>>>Thanks,
>>>Michele
>>>
>>>
>>> 
>>>
>>>      
>>>
>
>
>  
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~ 



Reply via email to