Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Default glassfish 4.0 password in netbeans

Well, more than a question this is an answer, I was trying to see for Glassfish 4.0 default admin password to access its console but I didn't find any satisfactory answer, some suggested to change admin-keyfile on glasssfish folder which can also work... anyhow... here it is how I did it...

well, it turns out that it HAS a default password in the most recent version of netbeans, I discover that it is self-generated and it's not generic, to see your password go to services tab and then right click on your glassfish 4.0 server, then choose properties and then you'll see your password stored there on the common tab, click on show and you'll have your password...

hope to help you guys!

like image 713
Wiston Coronell Avatar asked Dec 06 '13 18:12

Wiston Coronell


People also ask

How do I find my GlassFish admin password?

The default administration password is admin. You are prompted for the old and new admin passwords, with confirmation. If you accepted the default admin user with no password during zip installation, you can add a password to this user.

How do I open the admin console in GlassFish?

To start the Administration Console, type the URL in your browser. If prompted, log in to the Administration Console. You will be prompted to log in if you chose to require an administration password at the time GlassFish Server was installed.


1 Answers

[root@ip-172-31-20-218 bin]# ./asadmin change-admin-password
Enter admin user name [default: admin]>admin
Enter the admin password>**[Note: as default password for admin in Glassfish 4.0 is blank, you need to press enter key only. Do not type any thing.]**
Enter the new admin password>
Enter the new admin password again>
Command change-admin-password executed successfully.
like image 50
gaurav0918 Avatar answered Sep 19 '22 23:09

gaurav0918