I have a glassfish server runing. it has 3 different domains - d1,d2, and d3. now when I try to run asadmin enable-secure-admin
command, how to i specify which
To check the each domain's port, execute this command:
asadmin list-domains --long=true
Then, see the output and check the ports and domain's states. After that, execute the command to enable secure admin.
My output:
DOMAIN ADMIN_HOST ADMIN_PORT RUNNING RESTART_REQUIRED
domain1 localhost 4848 false false
saovicente localhost 4848 true false
Command list-domains executed successfully.