
en.help.task-configrubycontainer.html Maven / Gradle / Ivy
To Configure the Ruby Container
You can configure the Ruby container before you have installed the JRuby add-on
component.
- In the navigation tree, expand the Configuration node.
- Under the Configuration node, select the Ruby Container node.
The Ruby Container page opens.
- In the JRuby Home field, type the path to the directory where the
JRuby add-on component is installed.
The default location is as-install/jruby. If a deployed JRuby application also specifies a JRuby
Home value, the value set for the application overrides the value of the
JRuby Home field.
- In the Initial Pool Size field, type the initial number of JRuby runtimes
to start.
The value must be greater than 0, greater than or equal to the
value in the Minimum Pool Size field, and less than or equal to
the value in the Maximum Pool Size field. The default value is
1. If a deployed JRuby application also specifies an Initial Pool Size value,
the value set for the application overrides the value of the Initial Pool
Size field set for the Ruby container.
- In the Minimum Pool Size field, type the minimum number of JRuby runtimes
in the pool.
The value must be greater than zero, less than or equal to the
value in the Initial Pool Size field, and less than or equal to
the value in the Maximum Pool Size field. The default value is
1. If a deployed JRuby application also specifies a Minimum Pool Size value, the
value set for the application overrides the value of the Minimum Pool Size
field set for the Ruby container.
- In the Maximum Pool Size field, type the maximum number of JRuby runtimes
in the pool.
The value must be greater than or equal to the value in the
Minimum Pool Size field and greater than or equal to the value in
the Initial Pool Size field. The default value is 1. If a
deployed JRuby application also specifies a Maximum Pool Size value, the value set for
the application overrides the value of the Maximum Pool Size field set for
the Ruby container.
- Click Save.
Tip - To return to the default settings, click the Load Defaults button, then click
Save.
See Also