users@glassfish.java.net

Re: Password aliases not usable in JVM options?

From: <glassfish_at_javadesktop.org>
Date: Mon, 21 Sep 2009 21:10:30 PDT

You might want to read up about master password in glassfish. The master password is the keystore password and it can be specified on the command prompt while starting a domain (asadmin start-domain) or a node agent (asadmin start-node-agent). Like any asadmin command, you can use a passwordfile to specify the password. In addition, there is the "savemasterpassword" option. For more information, see

km's writeup - http://wiki.glassfish.java.net/attach/GlassFishAdministrationPages/aliased-passwords.html

Master password from docs -- http://docs.sun.com/app/docs/doc/819-3671/gczen?a=view

The master password is needed in clear by all server processes so it can decode all password aliases (among other things).

In the use case you describe, I think your best option is to run asadmin change-master-password --savemasterpassword.

Hope this helps.
[Message sent by forum member 'kumara' (abhijit.kumar_at_sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=365005