[GLASSFISH-21529] after running asadmin enable-secure-admin , encounter problem stop/start glassfish Created: 23/Mar/16  Updated: 23/Mar/16

Status: Open
Project: glassfish
Component/s: grizzly-kernel
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: wfsaxton Assignee: Ryan Lubke
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

running Glassfish-4.0-b59 on window XP platform with jdk1.7.0_07


Issue Links:
Cloners
clones GLASSFISH-19207 after running asadmin enable-secure-a... Closed

 Description   

This started on glassfish-4.0-b59 and b58, did not have this issue on glassfish-4.0-b57.

after running asadmin enable-secure-admin, and re-cycling glassfish
you cannot stop/start glassfish anymore.

error from the command line is this:
Z:\glassfish3\glassfish\bin>asadmin stop-domain
NCLS-ADMIN-0010
CLI306: Warning - The server located at Z:\glassfish3\glassfish\domains\domain
is not running.
Command stop-domain executed successfully.

When the process is checked glassfish is running.
Also, this was confirmed multiple times on b58 and 59 with same results.

The server.log is attached.



 Comments   
Comment by wfsaxton [ 23/Mar/16 ]

I wasn't able to re-open this previous issue, but I'm encountering this same exact issue on the latest version of glassfish (4.1.1) on Linux

host:/glassfish/glassfish4/bin$ ./asadmin start-domain
Waiting for domain1 to start .......
Successfully started the domain : domain1
domain Location:/glassfish/glassfish4/glassfish/domains/domain1
Log File: /glassfish/glassfish4/glassfish/domains/domain1/logs/server.log
Admin Port: 4848
Command start-domain executed successfully.
host:/glassfish/glassfish4/bin$ ./asadmin change-admin-password
Enter admin user name [default: admin]>
Enter the admin password>
Enter the new admin password> (adminadmin)
Enter the new admin password again> (adminadmin)
Command change-admin-password executed successfully.
host:/glassfish/glassfish4/bin$ ./asadmin stop-domain
Waiting for the domain to stop .
Command stop-domain executed successfully.
host:/glassfish/glassfish4/bin$ ./asadmin start-domain
Waiting for domain1 to start ....
Successfully started the domain : domain1
domain Location: /glassfish/glassfish4/glassfish/domains/domain1
Log File: /glassfish/glassfish4/glassfish/domains/domain1/logs/server.log
Admin Port: 4848
Command start-domain executed successfully.
host:/glassfish/glassfish4/bin$ ./asadmin enable-secure-admin
You must restart all running servers for the change in secure admin to take effect.
Command enable-secure-admin executed successfully.
host:/glassfish/glassfish4/bin$ ./asadmin stop-domain
Waiting for the domain to stop .
Command stop-domain executed successfully.
host:/glassfish/glassfish4/bin$ ./asadmin start-domain
Waiting for domain1 to start ....
Successfully started the domain : domain1
domain Location: /glassfish/glassfish4/glassfish/domains/domain1
Log File:/glassfish/glassfish4/glassfish/domains/domain1/logs/server.log
Admin Port: 4848
Command start-domain executed successfully.
host:/glassfish/glassfish4/bin$ ./asadmin stop-domain
CLI306: Warning - The server located at /glassfish/glassfish4/glassfish/domains/domain1 is not running.
Command stop-domain executed successfully.





Generated at Tue Aug 30 18:56:34 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.