axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angel Todorov" <>
Subject Re: Fw: Axis2: remote deploy
Date Wed, 11 Apr 2007 18:44:56 GMT
Hi Sanjiva, Shantanu,

Sanjiva: I have looked at the ServiceAdmin class, and I am impressed
by the number of admin  features you provide. I still see that you are
missing the following (good to have) features of remote deploy:

1) deployment status / feedback -> copying the service in the repo
does not mean it is successfully deployed. In most enterprise
environments, administrators would like to see whether the deployed
service is actually faulty or not. This is important IMO , and
including the feedback feature also implies syncrhonizing hot deploy
(pure file system based) with remote deploy

2) deploying an already packaged AAR file (by some design time
packaging tool). In fact this is easy to implement using your
approach, you can just use MTOM/SwA

I have implemented both of the above , including a remote deploy
client. I have also submitted some server-side patches to the axis2
kernel which are included in the latest HEAD revision IMO. The key
part is propagating the DeploymentExceptions to the caller of the
Deployment engine code.

Shantanu: Sorry for the delay but because of big overload, I have been
unable to  make the remote deploy sample to this point. I hope to
provide you with it soon. Thanks.

Best Regards,

On 4/11/07, Sanjiva Weerawarana <> wrote:
> Hi Shantanu,
> This is certainly possible with the Axis2 architecture but AFAICR not
> implemented in the core. However, we have implemented that in the admin
> functionality of WSO2 WSAS, which is Axis2+Sandesha+Rampart and a bunch of
> other stuff. You can either use WSAS directly (see [1]) or take the code
> from (see [2]) and run it on top of Axis2. All the code
> is Apache licensed so you're free to do what you want with it.
> Sanjiva.
> [1]
> [2]
> Shantanu Sen wrote:
> > Posting on this group in the hope that someone would reply.....
> >
> > Thanks,
> > Shantanu Sen
> >
> > ----- Forwarded Message ----
> > From: Shantanu Sen <>
> > To:
> > Sent: Friday, March 30, 2007 1:40:04 PM
> > Subject: Axis2: remote deploy
> >
> > I was looking at ways to programmatically deploy a service and ended up
> > writing a 'DynamicDeploy' service that takes in the aar file as an
> > attachment and adds it to the repository. For my use case Axis2 is
> > running embedded in an EAR on an appserver - JBoss in this case.
> >
> > I have two questions:
> >
> > 1.The 'DynamicDeploy' service that I wrote is just copying the aar file
> > that it received in the attachment to the repository that leads to the
> > deployment. How can I undeploy the service using this approach?
> >
> > 2. There were some threads a while back regarding adding remote
> > deployment to Axis2 as discussed in
> > and it seems that it
> > was added and is now in the current trunk. Is there some docs/samples on
> > how to use this? Does this have an undeploy capability?
> >
> > Thanks for any help.
> > Shantanu Sen
> >
> --
> Sanjiva Weerawarana, Ph.D.
> Founder & Director; Lanka Software Foundation;
> Founder, Chairman & CEO; WSO2, Inc.;
> Director; Open Source Initiative;
> Member; Apache Software Foundation;
> Visiting Lecturer; University of Moratuwa;
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message