admin@glassfish.java.net

how to use asadmin change-admin-password in test?

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Fri, 5 Nov 2010 16:38:35 -0400

Howdy,

Normally I'd just ask asadmin how to do this, but am getting:

hostname% ../bin/asadmin change-admin-password --help
Can't find man page for command: change-admin-password
Command change-admin-password failed.

Is there an option to pass a password file to this command? IOW, can it be run non-interactively? Am working on a cluster upgrade dev test, and after unzipping/upgrading/starting the v2 domain I need to change the admin password to "" so it can talk to the instances that are about to be created.

Any suggestions?

Thanks,
Bobby