Deploy Web Applications

Use this page to deploy Web ARchive (WAR) files. Enter or edit the unique name for your application, specify redeployment, and JSP precompiler settings. By default, the name of the WAR file will be displayed. The file filename extension of the WAR file will not be displayed.

The following table describes the fields and buttons on the screen. The left column lists the fields and buttons; the right column describes the functionality.

Field or Button
Description

File Name

Displays the unique name for your application. By default the name of the WAR will be used here, without the filename extension.

Web Application Name

Displays the name web application that you have selected for deployment in a text field.

Context Root

The context root is the base path of a Web application relative to the server's base URL. For example, if your server's base URL is http://localhost and the context root is apps/myapp, then all components of the Web application will be accessed relative to http://localhost/apps/myapp. A context root value must be unique and non-overlapping throughout a virtual server. If there is only one web application in a virtual server, the context root may be empty in which case the context root will be the same as the server's base URL.

Redeploy if already exists

Marking this checkbox indicates to the server that this application can be re-deployed, if it already exists in the deployed applications list.

Checking this option will overwrite any existing application with the same application name (that is, it doesn't have to be the same application).

Run Verifier

This option, when checked, will perform detailed verification of the entire application before it is deployed.

Precompile JSPs

This will determine whether to precompile JSPs and only deploy the resulting class files.

Virtual Servers

Check the target virtual server to which you want to make the application available. You must select at least one virtual server.

Availability Enabled

To enable HTTP session persistence and failover capabilities for this application (Enterprise Edition only), select True from the drop-down menu. If this application does not require high availability, select False.

To enable the application to automatically inherit the failover settings of the parent Web container, select Specified by Container

OK

Saves your changes, and deploys the application.

Cancel

Cancels your input. Your application is not deployed.

See also

Select File to Deploy


Legal Notices
Copyright © 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.