Forget the glassfish password, then reset the password.

Source: Internet
Author: User
Tags glassfish

Method One: If the existing domain does not have what you need, delete the existing domain and recreate a domain.

找到安装glassfish的目录下的 \bin\asadmin 目录,然后打开asadmin.bat文件,这个文件可能没有显示后缀(bat),双击该文件。 然后输入 delete-domain domain1
如果提示删除成功的话,输入create-domain --adminport 4848 domain1

From now on, remember to create a new domain password.

Method Two: Keep the existing domain, create a temporary domain, and then copy the temporary domain admin-keyfile to the old domain.

%SJSAS_HOME%\bin\asadmin create-domain --adminport 4848 temp

copy %SJSAS_HOME%\domains\temp\config\admin-keyfile %SJSAS_HOME%\domains\domain1\config\admin-keyfile

%SJSAS_HOME%\bin\asadmin delete-domain temp

Forget the glassfish password, then reset the password.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.