Hitachi

Hitachi Application Server V10 User's Guide (For Windows® Systems)


4.11.2 Uninstalling Application Server

To uninstall Application Server, stop the server and domains, and then select the name of product to be uninstalled in Programs and Features in the Control Panel.

Prerequisites

Intended users

Procedure

  1. To stop all performance tracers, server instances, and web servers at the same time, execute the stop-servers subcommand of the asadmin utility command.

    asadmin stop-servers

    When this command is run, the result is displayed as follows:

    Command stop-servers executed successfully.
  2. To display a list of performance tracers, run the list-prfs subcommand of the asadmin utility command.

    asadmin list-prfs

    When this command is run, the result is displayed as follows. Ensure that the statuses of the performance tracers are not running.

    performance_tracer_name not running
    Command list-prfs executed successfully.
  3. To display a list of server instances, run the list-instances subcommand of the asadmin utility command with the --long option specified.

    asadmin list-instances --long=true

    When this command is run, the result is displayed as follows. Ensure that the statuses of the server instances are not running.

    server_instance_name host_name port_number process_ID cluster_name not running
    Command list-instances executed successfully.
    
    • cluster_name is displayed only for cluster configurations that contain multiple Java EE servers.

  4. To display a list of web servers, run the list-webservers subcommand of the asadmin utility command.

    asadmin list-webservers

    When this command is run, the result is displayed as follows. Ensure that the statuses of the web servers are not running.

    web_server_name not running
    Command list-webservers executed successfully.
  5. To stop the domain, run the stop-domain subcommand of the asadmin utility command.

    asadmin stop-domain domain_name

    When this command is run, the result is displayed as follows:

    Command stop-domain executed successfully.
  6. If necessary, back up the environment information by running the backup-domain subcommand of the asadmin utility.

    asadmin backup-domain --backupdir directory_for_backup_files 
    domain_name

    Verify the output backup files.

  7. Back up the files (the server templates for example) that are managed in locations other than the domain directory.

  8. If the distributed COM is enabled, disable DCOM on the remote host and the local host.

    1. In Run in the Start menu, enter dcomcnfg.exe, and then click OK.

    2. In the Component Services window, click Component Services > Computers to expand the tree.

    3. Right-click My Computers, and then select Properties.

    4. On the Default Properties tab of the My Computer Properties window, clear the option Enable Distributed COM on this computer.

    5. Click OK to restart the computer. Note that if DCOM is already disabled, you do not need to restart the computer.

    6. If the machine is restarted and thus the domain administration server is started, run the stop-domain subcommand of the asadmin utility command to stop the domain.

  9. To disable the DCOM settings, run the setup-local-dcom subcommand of the asadmin utility command in the remote host.

    asadmin setup-local-dcom --unsetup
    Important note

    When updating the Windows registry information, we recommend that you first back up the registry information before executing the setup-local-dcom subcommand.

    When this command is run, the result is displayed as follows:

    Command setup-local-dcom executed successfully.
  10. For Windows 8, Windows 8.1, Windows Server 2012, or Windows Server 2012 R2, restart the Windows service Remote Registry on the remote host.

  11. In the control panel, select Programs and Features, select and right-click the Hitachi Application Server - display_name to be uninstalled, and click the Uninstall/Change button.

    A window appears, asking for your confirmation on the program to be uninstalled (Do you want to uninstall all of Hitachi Application Server?)

  12. Click the Yes button.

    The Starting the uninstallation dialog box appears.

    Reference note

    You can also select and uninstall the programs that compose the product. In this case, click the No button. In the displayed Select Programs dialog box, select the program you want to uninstall, and then click the Next button.

  13. Check the setting. If everything is in order, click the Next button.

    The uninstallation of the program starts. When the program is uninstalled, the Completing the setup dialog box appears.

  14. Click the Finish button.

    The uninstallation of Application Server is complete.