Oracle GlassFish Server 3.0.1 Quick Start Guide

ProcedureTo Deploy the Sample Application Automatically

Before You Begin

The sample application must be available before you start this task. To download the sample, see Obtaining a Sample Application.

  1. Copy the application WAR file to the as-install/domains/domain-name/autodeploy directory.

    cp sample-dir/hello.war as-install/domains/domain-name/autodeploy

    Use copy instead of cp on Windows systems.

    GlassFish Server automatically discovers and deploys the application. The default URL for the application is: