Sun GlassFish Enterprise Server v3 Scripting Framework Guide

Using GlassFish v3 Gem CLI

The GlassFish v3 Gem offers several commands to configure the GlassFish server. You can change the configuration options either by using GlassFish command line or by modifying the glassfish.yml file. You view these options by using the following command:

glassfish -h

The options include runtimes, runtimes-min, runtimes-max, and also a configuration option to create a configuration file for GlassFish Server.

You can create a glassfish.yml file which is a default GlassFish configuration file generated by the following command:

jruby -S gfrake config