2013年7月31日 星期三

Resolved: Glassfish4: Configuration Error: Secure Admin must be enabled to access the DAS remotely.

After started the Glassfish4 server, the following error message was shown in the screen.

Configuration Error: Secure Admin must be enabled to access the DAS remotely.


Solution:
For remote access, Glassfish does not allow admin account with empty password.

It could be fixed by following steps:
1. Change the password via command
    ./asadmin change-admin-password

2. Restart the Glassfish server
    ./admin stop-domain
    ./admin start-domain

3. Enable Secure admin via command
    ./asadmin enable-secure-admin 



沒有留言:

張貼留言