You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by An...@mro.com on 2006/06/14 04:55:05 UTC
Axis2 dynamic undeployment
Hi
I have modified my axis2.repository path and the axis2.xml path to point to
my local dirs and have successfully deployed a service dynamically [by
dropping the aar file under the services folder]. But if I delete that file
I am not seeing that getting undeployed and not sure if I have to call some
axis api to let the axis know that it has been deleted so that axis can
undeploy the service. I have
<parameter name="hotdeployment" locked="false">true</parameter>
<parameter name="hotupdate" locked="false">false</parameter>
in my axis2.xml. I have tried making the hotupdate to true without any
success. Is this a bug or I have to do more to get a service undeployed
dynamically.
thanks
Anamitra
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 dynamic undeployment
Posted by Deepal Jayasinghe <de...@opensource.lk>.
Yes you need to set hotupdate to true :)
Anamitra.Bhattacharyya@mro.com wrote:
>Hi Deepal
>I will try the nightly build and let you know - do I need to set the
>hotupdate to true for this [dont think so] - pls let me know.
>
>thanks
>Anamitra
>
>
>
> Deepal Jayasinghe
> <deepal@opensourc
> e.lk> To
> axis-user@ws.apache.org
> 06/21/2006 01:25 cc
> PM
> Subject
> Re: Axis2 dynamic undeployment
> Please respond to
> axis-user@ws.apac
> he.org
>
>
>
>
>
>
>
>Hi Anamitra;
>Dims fixed this issue few days ago , now hot undeployment is working in
>Axis2 (both windows and Linux). If you can please try with Axis2 nightly
>builds.
>
>Anamitra.Bhattacharyya@mro.com wrote:
>
>
>
>>Hi Deepal
>>I am in windows xp env. So are you saying I cannot undeploy axis web
>>services in windows? Can you pls explain why this is the case.
>>thanks
>>Anamitra
>>
>>
>>
>>
>>
>
>
>
>> Deepal Jayasinghe
>>
>>
>
>
>
>> <deepal@opensourc
>>
>>
>
>
>
>> e.lk> To
>>
>>
>
>
>
>> axis-user@ws.apache.org
>>
>>
>
>
>
>> 06/14/2006 12:12 cc
>>
>>
>
>
>
>> AM
>>
>>
>
>
>
>> Subject
>>
>>
>
>
>
>> Re: Axis2 dynamic undeployment
>>
>>
>
>
>
>> Please respond to
>>
>>
>
>
>
>> axis-user@ws.apac
>>
>>
>
>
>
>> he.org
>>
>>
>
>
>
>
>
>
>
>
>
>
>
>
>>
>>
>>Hi Anamitra;
>>pls see my comments below;
>>
>>Anamitra.Bhattacharyya@mro.com wrote:
>>
>>
>>
>>
>>
>>>Hi
>>>I have modified my axis2.repository path and the axis2.xml path to point
>>>
>>>
>>>
>>>
>>to
>>
>>
>>
>>
>>>my local dirs and have successfully deployed a service dynamically [by
>>>dropping the aar file under the services folder]. But if I delete that
>>>
>>>
>>>
>>>
>>file
>>
>>
>>
>>
>>>I am not seeing that getting undeployed and not sure if I have to call
>>>
>>>
>>>
>>>
>>some
>>
>>
>>
>>
>>>axis api to let the axis know that it has been deleted so that axis can
>>>undeploy the service.
>>>
>>>
>>>
>>>
>>>
>>you do not need to call any axis api , once you delete the file axis2
>>should automatically make the necessary changes. I know in windows you
>>can not delete any services , so you are having this problem in Linux ?
>>
>>
>>
>>
>>
>>>I have
>>>
>>> <parameter name="hotdeployment" locked="false">true</parameter>
>>> <parameter name="hotupdate" locked="false">false</parameter>
>>>
>>>in my axis2.xml. I have tried making the hotupdate to true without any
>>>success. Is this a bug or I have to do more to get a service undeployed
>>>dynamically.
>>>
>>>
>>>
>>>
>>>
>>>
>>hmm , once you set hotupdate to true , if it is not working then it is a
>>bug. Can you please create a JIRA
>>
>>
>>
>>
>>
>>>thanks
>>>Anamitra
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>For additional commands, e-mail: axis-user-help@ws.apache.org
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>--
>>Thanks,
>>Deepal
>>................................................................
>>~Future is Open~
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>>
>>
>>
>>
>>
>
>--
>Thanks,
>Deepal
>................................................................
>~Future is Open~
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 dynamic undeployment
Posted by An...@mro.com.
Hi Deepal
I will try the nightly build and let you know - do I need to set the
hotupdate to true for this [dont think so] - pls let me know.
thanks
Anamitra
Deepal Jayasinghe
<deepal@opensourc
e.lk> To
axis-user@ws.apache.org
06/21/2006 01:25 cc
PM
Subject
Re: Axis2 dynamic undeployment
Please respond to
axis-user@ws.apac
he.org
Hi Anamitra;
Dims fixed this issue few days ago , now hot undeployment is working in
Axis2 (both windows and Linux). If you can please try with Axis2 nightly
builds.
Anamitra.Bhattacharyya@mro.com wrote:
>Hi Deepal
>I am in windows xp env. So are you saying I cannot undeploy axis web
>services in windows? Can you pls explain why this is the case.
>thanks
>Anamitra
>
>
>
> Deepal Jayasinghe
> <deepal@opensourc
> e.lk> To
> axis-user@ws.apache.org
> 06/14/2006 12:12 cc
> AM
> Subject
> Re: Axis2 dynamic undeployment
> Please respond to
> axis-user@ws.apac
> he.org
>
>
>
>
>
>
>
>Hi Anamitra;
>pls see my comments below;
>
>Anamitra.Bhattacharyya@mro.com wrote:
>
>
>
>>Hi
>>I have modified my axis2.repository path and the axis2.xml path to point
>>
>>
>to
>
>
>>my local dirs and have successfully deployed a service dynamically [by
>>dropping the aar file under the services folder]. But if I delete that
>>
>>
>file
>
>
>>I am not seeing that getting undeployed and not sure if I have to call
>>
>>
>some
>
>
>>axis api to let the axis know that it has been deleted so that axis can
>>undeploy the service.
>>
>>
>>
>you do not need to call any axis api , once you delete the file axis2
>should automatically make the necessary changes. I know in windows you
>can not delete any services , so you are having this problem in Linux ?
>
>
>
>>I have
>>
>> <parameter name="hotdeployment" locked="false">true</parameter>
>> <parameter name="hotupdate" locked="false">false</parameter>
>>
>>in my axis2.xml. I have tried making the hotupdate to true without any
>>success. Is this a bug or I have to do more to get a service undeployed
>>dynamically.
>>
>>
>>
>>
>hmm , once you set hotupdate to true , if it is not working then it is a
>bug. Can you please create a JIRA
>
>
>
>>thanks
>>Anamitra
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>>
>>
>>
>>
>>
>
>--
>Thanks,
>Deepal
>................................................................
>~Future is Open~
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 dynamic undeployment
Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Anamitra;
Dims fixed this issue few days ago , now hot undeployment is working in
Axis2 (both windows and Linux). If you can please try with Axis2 nightly
builds.
Anamitra.Bhattacharyya@mro.com wrote:
>Hi Deepal
>I am in windows xp env. So are you saying I cannot undeploy axis web
>services in windows? Can you pls explain why this is the case.
>thanks
>Anamitra
>
>
>
> Deepal Jayasinghe
> <deepal@opensourc
> e.lk> To
> axis-user@ws.apache.org
> 06/14/2006 12:12 cc
> AM
> Subject
> Re: Axis2 dynamic undeployment
> Please respond to
> axis-user@ws.apac
> he.org
>
>
>
>
>
>
>
>Hi Anamitra;
>pls see my comments below;
>
>Anamitra.Bhattacharyya@mro.com wrote:
>
>
>
>>Hi
>>I have modified my axis2.repository path and the axis2.xml path to point
>>
>>
>to
>
>
>>my local dirs and have successfully deployed a service dynamically [by
>>dropping the aar file under the services folder]. But if I delete that
>>
>>
>file
>
>
>>I am not seeing that getting undeployed and not sure if I have to call
>>
>>
>some
>
>
>>axis api to let the axis know that it has been deleted so that axis can
>>undeploy the service.
>>
>>
>>
>you do not need to call any axis api , once you delete the file axis2
>should automatically make the necessary changes. I know in windows you
>can not delete any services , so you are having this problem in Linux ?
>
>
>
>>I have
>>
>> <parameter name="hotdeployment" locked="false">true</parameter>
>> <parameter name="hotupdate" locked="false">false</parameter>
>>
>>in my axis2.xml. I have tried making the hotupdate to true without any
>>success. Is this a bug or I have to do more to get a service undeployed
>>dynamically.
>>
>>
>>
>>
>hmm , once you set hotupdate to true , if it is not working then it is a
>bug. Can you please create a JIRA
>
>
>
>>thanks
>>Anamitra
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>>
>>
>>
>>
>>
>
>--
>Thanks,
>Deepal
>................................................................
>~Future is Open~
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 dynamic undeployment
Posted by An...@mro.com.
Hi Deepal
I am in windows xp env. So are you saying I cannot undeploy axis web
services in windows? Can you pls explain why this is the case.
thanks
Anamitra
Deepal Jayasinghe
<deepal@opensourc
e.lk> To
axis-user@ws.apache.org
06/14/2006 12:12 cc
AM
Subject
Re: Axis2 dynamic undeployment
Please respond to
axis-user@ws.apac
he.org
Hi Anamitra;
pls see my comments below;
Anamitra.Bhattacharyya@mro.com wrote:
>Hi
>I have modified my axis2.repository path and the axis2.xml path to point
to
>my local dirs and have successfully deployed a service dynamically [by
>dropping the aar file under the services folder]. But if I delete that
file
>I am not seeing that getting undeployed and not sure if I have to call
some
>axis api to let the axis know that it has been deleted so that axis can
>undeploy the service.
>
you do not need to call any axis api , once you delete the file axis2
should automatically make the necessary changes. I know in windows you
can not delete any services , so you are having this problem in Linux ?
>I have
>
> <parameter name="hotdeployment" locked="false">true</parameter>
> <parameter name="hotupdate" locked="false">false</parameter>
>
>in my axis2.xml. I have tried making the hotupdate to true without any
>success. Is this a bug or I have to do more to get a service undeployed
>dynamically.
>
>
hmm , once you set hotupdate to true , if it is not working then it is a
bug. Can you please create a JIRA
>thanks
>Anamitra
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 dynamic undeployment
Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Anamitra;
pls see my comments below;
Anamitra.Bhattacharyya@mro.com wrote:
>Hi
>I have modified my axis2.repository path and the axis2.xml path to point to
>my local dirs and have successfully deployed a service dynamically [by
>dropping the aar file under the services folder]. But if I delete that file
>I am not seeing that getting undeployed and not sure if I have to call some
>axis api to let the axis know that it has been deleted so that axis can
>undeploy the service.
>
you do not need to call any axis api , once you delete the file axis2
should automatically make the necessary changes. I know in windows you
can not delete any services , so you are having this problem in Linux ?
>I have
>
> <parameter name="hotdeployment" locked="false">true</parameter>
> <parameter name="hotupdate" locked="false">false</parameter>
>
>in my axis2.xml. I have tried making the hotupdate to true without any
>success. Is this a bug or I have to do more to get a service undeployed
>dynamically.
>
>
hmm , once you set hotupdate to true , if it is not working then it is a
bug. Can you please create a JIRA
>thanks
>Anamitra
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 dynamic undeployment
Posted by An...@mro.com.
Hi Michele
thanks for the response. unfortunately I am using Weblogic 9.1 as my app
server and not sure what the equivalent would be for those attributes. I am
not sure why the axis is not looking into the services folder [where I
deployed my service aar] and undeploying the service if I delete those
folders. OR even better - is there any axis api that I can call to undeploy
a service?
thanks
Anamitra
Michele Mazzucco
<Michele.Mazzucco
@ncl.ac.uk> To
axis-user@ws.apache.org
06/14/2006 03:46 cc
AM
Subject
Re: Axis2 dynamic undeployment
Please respond to
axis-user@ws.apac
he.org
Ooops,
the values should be set to true:
antiJARLocking="true" antiResourceLocking="true"
See http://tomcat.apache.org/faq/windows.html#lock
Michele
Michele Mazzucco wrote:
> Hi Anamitra,
>
> I think you have to do a little more ;). Open
> $CATALINA_HOME/conf/context.xml and at the following attributes at top
> level:
>
> reloadable="true" antiJARLocking="false" antiResourceLocking="false"
>
>
> Michele
>
> Anamitra.Bhattacharyya@mro.com wrote:
>> Hi
>> I have modified my axis2.repository path and the axis2.xml path to point
to
>> my local dirs and have successfully deployed a service dynamically [by
>> dropping the aar file under the services folder]. But if I delete that
file
>> I am not seeing that getting undeployed and not sure if I have to call
some
>> axis api to let the axis know that it has been deleted so that axis can
>> undeploy the service. I have
>>
>> <parameter name="hotdeployment" locked="false">true</parameter>
>> <parameter name="hotupdate" locked="false">false</parameter>
>>
>> in my axis2.xml. I have tried making the hotupdate to true without any
>> success. Is this a bug or I have to do more to get a service undeployed
>> dynamically.
>>
>> thanks
>> Anamitra
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 dynamic undeployment
Posted by Michele Mazzucco <Mi...@ncl.ac.uk>.
Ooops,
the values should be set to true:
antiJARLocking="true" antiResourceLocking="true"
See http://tomcat.apache.org/faq/windows.html#lock
Michele
Michele Mazzucco wrote:
> Hi Anamitra,
>
> I think you have to do a little more ;). Open
> $CATALINA_HOME/conf/context.xml and at the following attributes at top
> level:
>
> reloadable="true" antiJARLocking="false" antiResourceLocking="false"
>
>
> Michele
>
> Anamitra.Bhattacharyya@mro.com wrote:
>> Hi
>> I have modified my axis2.repository path and the axis2.xml path to point to
>> my local dirs and have successfully deployed a service dynamically [by
>> dropping the aar file under the services folder]. But if I delete that file
>> I am not seeing that getting undeployed and not sure if I have to call some
>> axis api to let the axis know that it has been deleted so that axis can
>> undeploy the service. I have
>>
>> <parameter name="hotdeployment" locked="false">true</parameter>
>> <parameter name="hotupdate" locked="false">false</parameter>
>>
>> in my axis2.xml. I have tried making the hotupdate to true without any
>> success. Is this a bug or I have to do more to get a service undeployed
>> dynamically.
>>
>> thanks
>> Anamitra
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 dynamic undeployment
Posted by Michele Mazzucco <Mi...@ncl.ac.uk>.
Hi Anamitra,
I think you have to do a little more ;). Open
$CATALINA_HOME/conf/context.xml and at the following attributes at top
level:
reloadable="true" antiJARLocking="false" antiResourceLocking="false"
Michele
Anamitra.Bhattacharyya@mro.com wrote:
> Hi
> I have modified my axis2.repository path and the axis2.xml path to point to
> my local dirs and have successfully deployed a service dynamically [by
> dropping the aar file under the services folder]. But if I delete that file
> I am not seeing that getting undeployed and not sure if I have to call some
> axis api to let the axis know that it has been deleted so that axis can
> undeploy the service. I have
>
> <parameter name="hotdeployment" locked="false">true</parameter>
> <parameter name="hotupdate" locked="false">false</parameter>
>
> in my axis2.xml. I have tried making the hotupdate to true without any
> success. Is this a bug or I have to do more to get a service undeployed
> dynamically.
>
> thanks
> Anamitra
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org