Oracle GlassFish Server 3.0.1 Scripting Framework Guide

ProcedureTo Deploy the WAR File

  1. Change to the rails-warbler/hello application directory.

  2. Deploy the application WAR file to the GlassFish Server by running the asadmin command:


    asadmin deploy hello.war
    
  3. Run the hello application by entering the following URL in your browser:


    http://host-name:port/hello