Use wsadmin to install stand-alone Java archive and Web archive files

Use the AdminApp object's install command install stand-alone Java archive (JAR) and Web archive (WAR) files on your application server. For more information about wsadmin, see The wsadmin administrative tool.

To install a stand-alone JAR or WAR file, follow these steps:

  1. Run the wsadmin tool.

  2. Run one of the following commands:

    • The install command for the AdminApp object uses the EAR file and the command option information to install the application. In this example, /home/myApps/myModule.jar is the fully qualified path of the application that you want to install, and serv2 is the name of the application server on which the application is installed.

      $AdminApp install /home/myApps/myModule.jar {-server serv2}
    • The installInteractive command prompts you for information during the installation. In this example, /home/myApps/myModule.jar is the fully qualified path of the application that you want to install.

      $AdminApp installInteractive /home/myApps/myModule.jar

  3. Run the following command to save the configuration changes:

    $AdminConfig save