Change to the rails-warbler/hello application directory.
Deploy the application WAR file to the GlassFish Server by running the asadmin command:
asadmin deploy hello.war
Run the hello application by entering the following URL in your browser:
http://host-name:port/hello