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 Kent Tong <ke...@cpttm.org.mo> on 2006/04/16 09:53:50 UTC
[Axis2] hot deploy without reloading Axis2
Hi,
After changing my Java code of service class, I update the .aar file in
the Axis2 web app. However, it still won't see the updated code. I have
to reload it. Is there an easier way?
Thanks!
Re: [Axis2] hot deploy without reloading Axis2
Posted by Martin Gainty <mg...@hotmail.com>.
Kent-
If you're asking how to to hot-deploy new classes in a web application
As long as you repackage your classes /jar into your tomcat war and copy to %TOMCAT_HOME%\webapps
(and the web.xml contains valid items)..tomcat should hot-deploy for you
Not sure what an aar file is??
Martin--
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: "Kent Tong" <ke...@cpttm.org.mo>
To: <ax...@ws.apache.org>
Sent: Sunday, April 16, 2006 3:53 AM
Subject: [Axis2] hot deploy without reloading Axis2
> Hi,
>
> After changing my Java code of service class, I update the .aar file in
> the Axis2 web app. However, it still won't see the updated code. I have
> to reload it. Is there an easier way?
>
> Thanks!
>
>
>
Re: [Axis2] hot deploy without reloading Axis2
Posted by Kent Tong <ke...@cpttm.org.mo>.
Ali Sadik Kumlali <as_kumlali <at> yahoo.com> writes:
> Actually, it's difficult to find such a document. The API might give
> you some idea:
>
http://ws.apache.org/axis2/0_95/api/org/apache/axis2/deployment/DeploymentConstants.html
Thanks! Exactly what I'm after!
Re: [Axis2] hot deploy without reloading Axis2
Posted by Ali Sadik Kumlali <as...@yahoo.com>.
Actually, it's difficult to find such a document. The API might give
you some idea:
http://ws.apache.org/axis2/0_95/api/org/apache/axis2/deployment/DeploymentConstants.html
Otherwise, all the documentation about Axis2 can be found here:
http://ws.apache.org/axis2/0_95/index.html
Regards,
Ali Sadik Kumlali
--- Kent Tong <ke...@cpttm.org.mo> wrote:
> Ali Sadik Kumlali <as_kumlali <at> yahoo.com> writes:
>
> > Did you try to change the value of "hotupdate" parameter found in
> > axis2.xml to "true"? I've just tested it with 0.95 and it works
> > perfectly.
>
> Thanks. I think that's what I am looking for. BTW, where can I
> find the list of all supported parameters in Axis2?
>
>
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: [Axis2] hot deploy without reloading Axis2
Posted by Kent Tong <ke...@cpttm.org.mo>.
Ali Sadik Kumlali <as_kumlali <at> yahoo.com> writes:
> Did you try to change the value of "hotupdate" parameter found in
> axis2.xml to "true"? I've just tested it with 0.95 and it works
> perfectly.
Thanks. I think that's what I am looking for. BTW, where can I
find the list of all supported parameters in Axis2?
Re: [Axis2] hot deploy without reloading Axis2
Posted by Ali Sadik Kumlali <as...@yahoo.com>.
Hi Kent,
Did you try to change the value of "hotupdate" parameter found in
axis2.xml to "true"? I've just tested it with 0.95 and it works
perfectly.
For more info, please read the following articles:
- http://jaxmag.com/itr/online_artikel/psecom,id,757,nodeid,147.html
- http://www.developer.com/open/print.php/10930_3557741_2
Regards,
Ali Sadik Kumlali
--- Kent Tong <ke...@cpttm.org.mo> wrote:
> Hi,
>
> After changing my Java code of service class, I update the .aar file
> in
> the Axis2 web app. However, it still won't see the updated code. I
> have
> to reload it. Is there an easier way?
>
> Thanks!
>
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com