mardi 21 janvier 2014

Glassfish: Secure Admin Must Be Enabled To Access The DAS Remotely

You can enable remote access with the following command:
asadmin --host --port 4848 enable-secure-admin
Then stop/start glassfish immediately after enabling secure admin. 4848 is the default port

if you have this kind of errors
At least one admin user has an empty password

change or create the admin password
asadmin --port 4848 change-admin-password
Enter admin user name [default: admin]> 
Enter admin password> 
Enter new admin password> secret
Enter new admin password again> secret 

 then again  asadmin --host --port 4848 enable-secure-admin

Aucun commentaire:

Enregistrer un commentaire