Oracle GlassFish Server 3.0.1 Scripting Framework Guide

Using GlassFish v3 Gem CLI

The GlassFish v3 Gem offers several commands to configure the GlassFish Server server. You can change the configuration options either by using GlassFish Server 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 Server configuration file generated by the following command:

jruby -S gfrake config