GlassFish Forget the administrator password solution

Source: Internet
Author: User
Tags config administrator password glassfish
GlassFish forget the Administrator password resolution 2010-04-21 17:18
Http://hi.baidu.com/5shuang/blog/item/76e3ecfaa7e865d8b58f31d1.html
Method One: If the existing domain does not have what you need, delete the existing domain and recreate a domain. If you don't like this approach, see method Two.

%sjsas_home%\bin\asadmin Delete-domain domain1
%sjsas_home%\bin\asadmin 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

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: info-contact@alibabacloud.com 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.