users@glassfish.java.net

Re: QUARANTINE How to bypass the master password while starting domain in Glassfish

From: Glenn Holmer <gholmer_at_weycogroup.com>
Date: Wed, 09 Jan 2008 07:40:59 -0600

glassfish_at_javadesktop.org wrote:
> Kindly note that as while I am starting the Glassfish Instance -
> Domain, it asks me the master password. I would like to know that how
> I can automate the same so that it will not ask the password.

asadmin start-domain --passwordfile <filename> <domain-name>

where passwordfile has the format:

AS_ADMIN_PASSWORD=<password>
AS_ADMIN_MASTERPASSWORD=<password>

-- 
____________________________________________________________
Glenn Holmer                          gholmer_at_weycogroup.com
Software Engineer                        phone: 414-908-1809
Weyco Group, Inc.                          fax: 414-908-1601