Hello, Thanks for your reply my glassfish version is 3.1 and this is the
output with AS_DEBUG enabled
./asadmin change-master-password domain1
CLASSPATH= ./../glassfish/modules/admin-cli.jar
Commands: [change-master-password, domain1]
asadmin extension directory: /home/frank/glassfish3/glassfish/lib/asadmin
Prepare
Process program options
Parsing program options
Parse command options
params: {}
operands: [domain1]
Prevalidate command options
Inject command options
Validate command options
asadmin --host localhost --port 4848 --interactive=true --echo=false
--terse=false change-master-password --savemasterpassword=false domain1
Execute command
Prepare
Process program options
Parsing program options
Parse command options
params: {}
operands: [domain1]
Prevalidate command options
Inject command options
Validate command options
Setting password to: <non-null>
Using local password
asadmin --host localhost --port 4848 --interactive=true --echo=false
--terse=false _change-master-password-das --savemasterpassword=false domain1
Execute command
isRunning got exception: java.net.ConnectException: Connection refused
Enter the current master password>
Enter the new master password>
Enter the new master password again>
Keystore was tampered with, or password was incorrect
Command change-master-password failed.
--
[Message sent by forum member 'fcontreras']
View Post: http://forums.java.net/node/815530