Secure Admin must be enabled to access the DAS remotely.
在上篇文章中提到了Glassfish 3.1.2,在部署的过程中发现登陆控制面板,出现:
1
|
Secure Admin must be enabled to access the DAS remotely.
|
这个在之前的glassfish好像默认是打开的。
现在需要我们手动打开,例如:
1
|
asadmin --host 192.168.1.2 --port 4848 enable-secure-admin
|
对于的关闭方式:
1
|
asadmin --host 192.168.1.2 --port 4848 disable-secure-admin
|
ps: 更改如上设置,需要重启 glassfish