วันพุธที่ 27 มิถุนายน พ.ศ. 2555

Glassfish Secure Admin must be enabled to access the DAS remotely.


Glassfish version 3.1.2: Secure Admin must be enabled to access the DAS remotely.

Overview

Firstly, I only install the new Glassfish 3.1.2 only in my laptop and access the administration module locally by using “localhost:4048″. When I install it on the development server and try to access it remotely, by using “http:/my_host:port”. It shows me an error as cannot login with the message as
Secure Admin must be enabled to access the DAS remotely.

The Investigation

I’ve found the nice solution form stack overflow here.

The solution

It’s simple by activate the secure admin by using the following command line: -
1asadmin --host [host] --port [port] enable-secure-admin

ไม่มีความคิดเห็น:

แสดงความคิดเห็น