To Run a Rails Application From the GlassFish Server autodeploy Directory
As with the instructions in To Deploy a Rails Application as a Directory Using the asadmin Command, this procedure builds upon the example hello application described in Creating a Simple Rails Application.
Copy the entire hello application directory
to the as-install/glassfish/domains/domain-dir/autodeploy directory.
cp -r /apps/jruby-apps/hello glassfishv3/glassfish/domains/domain1/autodeploy
Run the hello application using the following
URL in your browser: