Glassfish : Recreate the Domain
(If you don't have important configurations)
If editing the 'admin-keyfile' doesn't work or seems too complex, and you dont't have important configurations in your domain, you can delete and recreate the domain:
- Delete the Domain: asadmin delete-domain domain1
- Create a New Domain: asadmin create-domain --adminport 4848 --user admin domain1 (here you will be asked to enter password)
- Start the New Domain: asadmin start-domain domain1
This will reset your Glassfish server to a clean state with a new admin password
No comments:
Post a Comment