简体   繁体   中英

Glassfish V4 admin password

Help! I have tried everything. I cannot log into the glassfish admin console on ec2. I want to enable the admin console at 4848 but ./asadmin keeps asking me for a password. I have tried admin/adminadmin anonymous/adminadmin changeit/adminadmin changeit/admin.

What in god's name is this out of the box install? Running ubuntu!

First, you need to actually set the admin password. Do do that you'll need ssh access to the box. By default, there is no admin password and remote administration is disabled.

Set the admin password:

asadmin --host localhost --port 4848 change-admin-password

Now you need to enable remote administration

asadmin --host localhost --port 4848 enable-secure-admin

Now you should be able to connect with your browser over port 4848. This information is in the glassfish administration guide but it's not obvious.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM