quality@glassfish.java.net

Re: multiple targets for undeploy

From: Ajit Kamble <Ajit.Kamble_at_Sun.COM>
Date: Fri, 01 Aug 2008 08:12:38 +0530

Thanks for the prompt answer sudhir .
I have the war deployed on default "server" as well as cluster. Cluster
has two instances "server1 and server2"
So i guess i have to do it individually. First for server and then for
cluster ?

- Ajit

Sudhir Prabhu wrote:
> Ajit,
>
> What kinds of servers are these two?
>
> 1. Stand alone AS instances?
> 2. 2 DAS'?
> 3. Members of a same cluster?
> 4. Members of 2 different clusters?
>
> Only if both are part of same cluster can you achieve this with a
> single command
> ./asadmin undeploy --target clustername <sample-application-name>
>
> For all else you will need multiple commands. And there are different
> ways of achieving it
>
> 1. Deploy individually on all instances
> 2. Or Create an application reference and refer to it from each instance.
>
> Hope that helps
>
> Sudhir
>
> Ajit Kamble wrote:
>> I want to undeploy a war from two targets say server1 and server2 on
>> glassfishv2 .
>> How do i acheive this using asadmin ? What is the syntax for
>> --target option ?
>>
>> ./asadmin undeploy --target <??> <sample-application-name>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>

-- 
Thanks
Ajit