ProcedureTo deploy a web application

A web application is packaged in a WAR file, a type of archive file that contains components such as servlets and JSP files.

  1. Do one of the following:

  2. On the Deployment page, specify the location of the WAR file to deploy.

    The server machine is the host that is running the application server domain administration server. The client machine is the host on which you are viewing the Admin Console through a browser.

  3. Click Next to display the Deploy Web Application page.

  4. On the Deploy Web Application page, specify the settings for the application.

    1. In the Application Name field, either retain the default name, which is the prefix of the file name, or type another name.

      The default name appears if you chose to upload a file. The application name must be unique.

    2. In the Context Root field, enter a string that identifies the Web application.

      In the URL of the Web application, the context root immediately follows the port number (http://host:port/context-root/...). The context root must start with a forward slash, for example: /hello.

    3. In the Virtual Servers field, you can replace the default server.

      To view the available virtual servers, in the tree component select Configuration -> HTTP Service -> Virtual Servers.

    4. To disable the application so that is unavailable after deployment, deselect the Status: Enabled check box.

      By default, an application is available as soon as it is deployed.

    5. To verify the structure and contents of the file before deployment, select the Verifier checkbox.

      Verification of large applications is often time-consuming. Verify the file if you suspect it is corrupt or non-portable.

    6. To precompile JSP pages, select the JSPs checkbox.

      If you do not select this checkbox, the JSP pages are compiled at runtime when they are first accessed. Because compilation is often time-consuming, select this option for best performance in a production environment.

    7. Enter the path to any libraries (JAR files) that the application requires.

      The libraries must be accessible on the server.

    8. Optionally enter a brief text description of the application.

    9. Choose whether to generate RMI stubs.

      If you choose to generate RMI stubs, static RMI-IIOP stubs are generated and put into the client JAR file.

  5. Click OK to deploy the application.

More Information
Equivalent asadmin command

deploy

See Also