In the tree component, expand the Applications node.
Select the Web Applications node.
On the Web Applications page, click Deploy.
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.
If the file resides on or is accessible from the client machine, click the radio button to specify a package file to upload to the Application Server.
Click Browse to browse to the file, or type the full path to the file.
If the file resides on the server machine, or to deploy an unpackaged application from an exploded directory, click the radio button to specify a package file or a directory path that must be accessible from the server.
Type the full path name to the file or directory. Deploying from an exploded directory is for advanced developers and is not recommended for production environments.
Click Next to display the Deploy Web Application page.
On the Deploy Web Application page, specify the settings for the application.
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.
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/...). Make sure that the context root starts with a forward slash, for example: /hello.
To view the available virtual servers, in the tree component select Configuration -> HTTP Service -> Virtual Servers.
To disable the application so that is unavailable after deployment, select the Disabled radio button.
By default, an application is available as soon as it is deployed.
If the application has already been deployed, select the Redeploy checkbox to redeploy it; otherwise you see an error.
You can also choose a different application name and deploy it under a new name.
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.
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, in a production environment select this checkbox.
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.
Click OK to deploy the application.