Select the Common Tasks node from the navigation tree, or select Deploy Web Application from the right panel of the console.
On the Deploy Web Application page, specify the location of the WAR file to deploy.
Click Browse to browse to the file, or type the full path to the file.
Select Next to proceed to the next page of the WAR deployment.
Specify the following settings for the application:
Application Name: 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.
Context Root: 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.
Virtual Servers: Identify the desired virtual server. To view the available virtual servers, select Configuration --> HTTP Servicce -->Virtual Servers in the navigation tree.
Status: By default, an application is available as soon as it is deployed. To disable the application so that is unavailable after deployment, uncheck the Enabled checkbox.
Run: To verify the structure and contents of the file before deployment, select the Verifier checkbox. Verification of large applications can be time-consuming. Verify the file if you suspect it is corrupt or non-portable.
Precompile: Select the JSPs checkbox to precompile JSP pages. 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.
Libraries: List any library (JAR) files required by the application.
Description: Provide a meaningful description of the component.
In the Advanced section of the deployment page, you can choose to generate RMI stubs.
If you choose to generate RMI stubs, static RMI-IIOP stubs are generated and put into the client.jar.
Click Finish to deploy the application.
To redeploy your application, click Redeploy. In the next page, provide the path to the WAR file and click OK.
deploy