To Configure the Ruby Container

Before You Begin

Before you can configure the Ruby container, you must install the jruby add-on component, then deploy at least one JRuby application.

  1. In the navigation tree, expand the Configuration node.
  2. Under the Configuration node, select the Ruby Container node.

    The Ruby Container page opens.

  3. In the JRuby Home field, type the path to the directory where the Ruby container 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 set for the Ruby container.

  4. 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.

  5. 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.

  6. 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.

  7. Click Save.

    Tip - To return to the default settings, click the Load Defaults button, then click Save.


See Also