Glassfish 3.1.1 - 如何启用不同域名的安全管理员? [英] Glassfish 3.1.1 - How to enable secure admin for different domains?

查看:89
本文介绍了Glassfish 3.1.1 - 如何启用不同域名的安全管理员?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台glassfish服务器正在运行。它有3个不同的域 - d1,d2和d3。现在当我尝试运行 asadmin enable-secure-admin 命令时,如何指定要启用的域?

解决方案

您必须指定运行DAS(域管理服务器)的端口。例如:

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

asadmin --host localhost --port 5858 enable-secure-admin
$ b $ asadmin --host localhost --port 6868 enable-secure-admin

当然,这个假设端口分别为d1,d2和d3。



希望这有帮助。

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 domain i want to enable?

解决方案

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.

这篇关于Glassfish 3.1.1 - 如何启用不同域名的安全管理员?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆