Oracle GlassFish Server 3.0.1 Scripting Framework Guide

Configuring the JRuby Container Through GlassFish Server Administration Console

You can use the GlassFish Server Administration Console to configure a subset of JRuby container options:

These options are the same as those described in Table 1–1.

Note –

When configured through the Administration Console, these settings apply to the currently running GlassFish Server instance only. When the instance is shut down, the changes will be lost. To make your changes persistent from instance to instance, use the asadmin configure-jruby-container command instead.

For complete information about using the GlassFish Server Administration Console, see Administration Console in Oracle GlassFish Server 3.0.1 Administration Guide.

ProcedureTo Configure JRuby Container from the GlassFish ServerAdministration Console

The following procedure explains how to access a JRuby Container from the GlassFish Server Administration Console.

  1. Open the GlassFish Server Administration Console from a Web browser.

    For example:

  2. Log in to the Administration Console, if configured for secure login.

    Depending on your GlassFish Server configuration, your Administration Console may not require login credentials.

  3. Select Common Tasks->Configuration->JRuby Container from the tree in the panel on the left side of the Administration Console.

  4. Change JRuby Container properties, as desired, in the Details panel.

    See Configuring the JRuby Container for explanations of JRuby container properties. For detailed descriptions of the JRuby configuration options, see the configure-jruby-container(1) man page.