Reputation: 3581
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!
Upvotes: 14
Views: 29778
Reputation: 512
I have used eclipse. I got the same issue I resolved it by doing the following. For a fresh download of glassfish4.zip
asadmin
start-domainUpvotes: 6
Reputation: 126
As I know default glassfish password is 'changeit' for master admin and is empty for domain admin (with login admin by default). If you mean this password try this.
Upvotes: 0
Reputation: 81
[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.
Upvotes: 8
Reputation: 82
I faced the same problem. And I solved it using a small trick. I removed the server installed with NetBeans from the interface and the added another. When you do this you may create a personal domain. And in this personal domain the anonymouns login is already enabled, with no password at all.
I know this is not a good solution, but it is a solution nonetheless.
Hope it helps!
PS: At least in my NetBeans 7.4 for Linux, sometimes when I leave NetBeans the servers won't go down. Then you have to kill their processes, or else you won't manage to install another due to port conflicts. It's a tricky thing to find the process of the server. When you use "ps -A" the name of the process is only "java", with no clue it is the server.
Upvotes: 1