I forgot the Glassfish3 master-password, how can i reset it?

kKdH picture kKdH · Jun 7, 2013 · Viewed 20.5k times · Source

I forgot the master-password of my Glassfish 3.1.2.2. Is there a way to reset it? I spent a lot of time "googling around" but i didn't find a suitable answer.

Answer

Tim B picture Tim B · Oct 22, 2014

There is a backup password that can be used to access the administrator panel even if you've forgotten the main one.

If you navigate to glassfish\domains\domain1\config\ you will find a file called local-password.

The contents of that file can be used as a password to log in to the control panel as admin.