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,
Angel


On 4/11/07, Sanjiva Weerawarana <[EMAIL PROTECTED]> 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 ServiceAdmin.java (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] http://wso2.org/projects/wsas/java
[2]
http://wso2.org/repos/wso2/trunk/wsas/java/modules/admin/src/org/wso2/wsas/admin/service/ServiceAdmin.java

Shantanu Sen wrote:
> Posting on this group in the hope that someone would reply.....
>
> Thanks,
> Shantanu Sen
>
> ----- Forwarded Message ----
> From: Shantanu Sen <[EMAIL PROTECTED]>
> To: axis-user@ws.apache.org
> 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
> https://issues.apache.org/jira/browse/AXIS2-2212 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; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Director; Open Source Initiative; http://www.opensource.org/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

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



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

Reply via email to