users@glassfish.java.net

Re: How do I deploy to multiple targets with asadmin?

From: <Vince.Power_at_medavie.bluecross.ca>
Date: Wed, 1 Oct 2008 11:52:40 -0300

We currently have a couple applications that we deploy to multiple
clusters, and we can do it through the admin GUI. I want to script the
install using asadmin but I can't get multiple targets to work, and I
can't simply deploy it to again to a second cluster because that violates
other constraints. ("CLI171 Command deploy failed : Application testApp is
already deployed on other targets." )

So I don't really care if it is one step or ten steps through asadmin, I
would just like to know how to do it from the command line without using
have to resort to curl.

Thanks,
Vince




Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Sent by: Kedar.Mhaswade_at_Sun.COM
10/01/2008 11:23 AM
Please respond to
users_at_glassfish.dev.java.net


To
users_at_glassfish.dev.java.net
cc

Subject
Re: How do I deploy to multiple targets with asadmin?






Yes, we can't currently change the configuration of multiple
targets simultaneously, deployment being one part of it.

Are you deploying the same application to multiple *clusters* and want
a shortcut to deploy to them in one command?

-Kedar

Vince.Power_at_medavie.bluecross.ca wrote:
> If I'm deploying an EAR or WAR using asadmin, what is the syntaxt to
> deploy it to multiple targets? I can't find any examples in the
> documentation, everything just shows one target.
>
> Thanks,
> Vince
>
>
> -----------------------------------------------------------------------
> This communication, including any attached documentation, is intended
only for the person or entity to which it is addressed, and may contain
confidential, personal, and/or privileged information. Any unauthorized
disclosure, copying, or taking action on the contents is strictly
prohibited. If you have received this message in error, please contact us
immediately so we may correct our records. Please then delete or destroy
the original transmission and any subsequent reply. Thank you.
>
> La présente communication, y compris toute pièce qui y a été jointe, est
destinée uniquement à la personne ou à l?entité à laquelle elle a été
adressée, et contient des renseignements à caractère confidentiel et
personnel. Toute diffusion ou reproduction non autorisée ou toute
intervention entreprise relativement à son contenu est strictement
interdite. Si vous avez reçu ce message par erreur, veuillez nous le
signaler immédiatement afin que nous puissions effectuer la correction à
nos dossiers. Veuillez par la suite supprimer ou détruire le contenu de la
transmission originale ainsi que toute réponse ultérieure. Merci.
> -----------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net





-----------------------------------------------------------------------
This communication, including any attached documentation, is intended only for the person or entity to which it is addressed, and may contain confidential, personal, and/or privileged information. Any unauthorized disclosure, copying, or taking action on the contents is strictly prohibited. If you have received this message in error, please contact us immediately so we may correct our records. Please then delete or destroy the original transmission and any subsequent reply. Thank you.

La présente communication, y compris toute pièce qui y a été jointe, est destinée uniquement à la personne ou à l’entité à laquelle elle a été adressée, et contient des renseignements à caractère confidentiel et personnel. Toute diffusion ou reproduction non autorisée ou toute intervention entreprise relativement à son contenu est strictement interdite. Si vous avez reçu ce message par erreur, veuillez nous le signaler immédiatement afin que nous puissions effectuer la correction à nos dossiers. Veuillez par la suite supprimer ou détruire le contenu de la transmission originale ainsi que toute réponse ultérieure. Merci.
-----------------------------------------------------------------------