Error : Admin Must be Enabled to Access the DAS Remotely on GlassFish
As we have discussed on previous post about how to install GlassFish 4.1 on Linux system if you may get an error when you are panel Login, Configure Secure Admin Access. Run ./asadmin, then enter the user name and password.
We know GlassFish installed path /usr/local/glassfish4
Use "exit" to exit and "help" for online help.
Enter admin user name [default: admin]>admin
Enter the admin password>
Enter the new admin password> [enter your new password]
Enter the new admin password again> [enter your new password again]
Command change-admin-password executed successfully.
To enable secure admin run the below command,
Enter admin user name> admin
Enter admin password for user "admin">
You must restart all running servers for the change in secure admin to take effect.
Command enable-secure-admin executed successfully.
Waiting for the domain to stop .
Command stop-domain executed successfully.
Waiting for domain1 to start .....................
Successfully started the domain : domain1
domain Location: /usr/local/glassfish4/glassfish/domains/domain1
Log File: /usr/local/glassfish4/glassfish/domains/domain1/logs/server.log
Admin Port: 4848
Command start-domain executed successfully.
Command list-file-users executed successfully.
Command multimode executed successfully.
Now, you can login into Glassfish admin panel on browser without any errors.