Sun GlassFish Enterprise Server v3 Prelude Quick Start Guide

ProcedureTo Undeploy the Sample Application

    Use the cd command to change to the domain's autodeploy directory.

    cd as-install/domains/domain-name/autodeploy

    Use the rm command to delete the application.

    rm hello.war