Sun Java System Application Server Enterprise Edition 8.2 Troubleshooting Guide

Missing .asadmintruststore File Causes Bugs During Upgrade

If the .asadmintruststore file does not exist in the server administrator's home directory, you may experience serious bugs when upgrading certain applications hosted on the server.


Restoring a Deleted .asadmintruststore File

There may be instances when the .asadminstrustore file for a domain has been has been deleted. In such cases, you can create a new .asadminstrustore file.

ProcedureTo create a new .asadmintruststore file

  1. Use the asadmin start-domain command to start the domain you want to manage.

    Note that this is a local asadmin command, and as such it does not require an ~/.asadmintruststore file to start the domain.

  2. Run any remote asadmin command.

    A remote asadmin command is one that requires ---user, ---passwordfile (--password), ---host and ---port options to be specified on the command line, and needs the target domain to be running. A typical remote asadmin command is asadmin list.

  3. Accept the new Domain Certificate by pressing “y” when prompted.