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

后端 未结 5 1039
别跟我提以往
别跟我提以往 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:45

    You must specify the port the DAS (Domain Administration Server) is running on. For example:

    asadmin --host localhost --port 4848 enable-secure-admin
    
    asadmin --host localhost --port 5858 enable-secure-admin
    
    asadmin --host localhost --port 6868 enable-secure-admin
    

    Of course, this assumes the ports are for d1, d2, and d3 respectively.

    Hope this helps.

提交回复
热议问题