users@glassfish.java.net

asadmin to deploy resources against multiple targets

From: <forums_at_java.net>
Date: Thu, 14 Apr 2011 05:38:40 -0500 (CDT)

Hi

I've got a bunch of custom jndi resources and connection pools that I want to
deploy against multiple clusters. I know I can do this on the Admin Console
where I can go to the 'targets' tab -> Manage Targets and add them. But to
make things repeatable and less error prone, I'm scripting them using the
asadmin CLI.
However, I can't seem to find a way to add a resource to multiple targets.
Can any one share their thoughts on this plesae. My GF version is v2.1

Cheers
-- Imran


--
[Message sent by forum member 'imranbohoran']
View Post: http://forums.java.net/node/791673