Question: Where can I find the Admin Password for GlassFish 4?
Most of the time when working with NetBeans and Glassfish for development, you don’t need to know what the password is for the GlassFish server. Starting and stopping the server as well as open in the admin console is automatic. However, if like me, sometimes you work with multiple versions of NetBeans and you may be prompted for a password in the GlassFish admin console. So the username is "admin", but where is the darn password stored?
Usually in one of two the places.
The first place to look is in the GlassFish configuration directory.
The second place to look is in NetBeans
- Click on the Services Tab
- Right click on the GlassFish Server
- Select Properties
- Too see the password, check the Show Password in this Form option
Do not change these passwords! GlassFish has to be running to change admin passwords. If you “lose” the passwords for some reason, you will need to re-install.
If you want to change the password, look up the asadmin documentation for more details.