Sun Java System Application Server 9.1 Quick Start Guide

ProcedureTo Deploy the Sample Enterprise Application Using Admin Console

  1. Click the Home button or click Common Tasks on the left pane to go to the Common Tasks page, if you are not there already.

  2. On the right pane, under Common Tasks, click Deploy Enterprise Application (.ear).

  3. If application server is installed on your local machine, click Browse in the Packaged File to Upload text box, and navigate to as-install/samples/ee-samples/highavailability/apps/clusterjsp/clusterjsp.ear. If you are accessing Admin Console remotely with application server installed on another machine, click Browse in the Local packaged file or directory that is accessible from the Application Server text box. Navigate to as-install/samples/quickstart/clusterjsp/clusterjsp.ear.

  4. In the Targets section of the page, select cluster1 from the Available list, and click Add to move it to the Selected list.

  5. Click OK.

    The clusterjsp application is now deployed to cluster1. Before you launch this application, you need to start the instances in the cluster. See To Start the Instances in a Cluster

Deploying Applications Using CLI Commands

You can deploy applications using the asadmin deploy command. See deploy(1) in the Sun Java System Application Server 9.1 Reference Manual. You can also use the asant commands for deployment. For detailed information on deploying applications see Deploying Modules and Applications in Sun Java System Application Server 9.1 Application Deployment Guide.