Glassfish 3.1.1 - How to enable secure admin for different domains?

后端 未结 5 1034
别跟我提以往
别跟我提以往 2020-12-13 02:25

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

5条回答
  •  失恋的感觉
    2020-12-13 02:41

    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.

提交回复
热议问题