I've set up a webapp to be able to create-domain, deploy, test and delete-domain using the maven-glassfish-plugin.
The problem is that it insists on setting the master password.
Now its not possible to set the master password being used by the eclipse JavaEE glassfish plugin.
So when you try to start it from eclipse it asks for the master
password in the background:
Please enter the master password
After a while it times out and it says:
Server GlassFish at localhost failed to start.
I found out that you can tell glassfish to not ask the password anymore by doing:
asadmin change-master-password --savemasterpassword domain1
http://forums.java.net/jive/message.jspa?messageID=341172
However, I changed my admin password maven uses,
to be the real defaut master password: "changeit",
and now eclipse can start maven-created domains without me
having to --savemasterpassword
http://blogs.sun.com/alexismp/entry/what_is_a_glassfish_master
Subscribe to:
Post Comments (Atom)
THANKS A LOT!
ReplyDeleteI had this crazy problem and this solved it!
Thank you very much, it worked like a charm!
ReplyDeleteasadmin change-master-password --savemasterpassword domain1 by request password write changeit
ReplyDeleteEverytime I change to new password. it says:
Delete"Keystore was tampered with, or password was incorrect
Command change-master-password failed."
Tried different passwords.