You can use the GlassFish Server Administration Console to configure a subset of JRuby container options:
Initial Pool Size
Minimum Pool Size
Maximum Pool Size
These options are the same as those described in Table 1–1.
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.
The following procedure explains how to access a JRuby Container from the GlassFish Server Administration Console.
Open the GlassFish Server Administration Console from a Web browser.
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.
Select Common Tasks->Configuration->JRuby Container from the tree in the panel on the left side of the Administration Console.
Change JRuby Container properties, as desired, in the Details panel.