Install and uninstall applications with wsadmin

You can use wsadmin to deploy applications into your application server. The wsadmin tool supports non-interactive installation, in which you run a single command that specifies the application to install, and interactive installation, in which you are prompted for information about the installation. You can also use wsadmin to uninstall applications from your application server.

Install applications with wsadmin

To use the wsadmin tool to deploy applications into your application server, follow these steps:

  1. On the CL command line, run the STRQSH (Start Qshell) command.

  2. Run the cd command to change to the directory that contains the wsadmin tool:

    cd /QIBM/ProdData/WebASE51/ASE/bin
  3. Start wsadmin.

  4. At the wsadmin prompt, run one of these commands:

  5. Run this command to save your changes:

    $AdminConfig save

Uninstall applications with wsadmin

  1. On the CL command line, run the STRQSH (Start Qshell) command.

  2. Run the cd command to change to the directory that contains the wsadmin tool:

    cd /QIBM/ProdData/WebASE51/ASE/bin
  3. Start wsadmin.

  4. At the wsadmin prompt, run this command to uninstall an application:

    $AdminApp uninstall myApp

    where myApp is the name of the application that you want to uninstall.

    Note: Specify the name of the application, not the name of the EAR or WAR file.

  5. Run this command to save your changes:

    $AdminConfig save