Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

ExcerptThe Thread Pools portlet provides information about threads being used by the Geronimo server.

...

  • DefaultThreadPool size denotes the maximum number of threads possible in the server.
  • ConnectorThreadPool size denotes the pool size of the connector threads and is a subset of DefaultThreadPool size.

...

  1. Stop the server.
  2. Backup the server's <Geronimo_HOME>/var/config/config.xml file (where <Geronimo_HOME> is the installation directory) and then open the file in an editor.
  3. Find the <module> tag for the org.apache.geronimo.framework/rmi-naming module and update the following <gbean> element inside the <module> element. Code BlockborderStylesolid <gbean name="DefaultThreadPool"> <attribute name="keepAliveTime">30000</attribute> <attribute name="minPoolSize">${MinThreadPoolSize}</attribute> <attribute name="maxPoolSize">${MaxThreadPoolSize}</attribute> </gbean> Note that ${MinThreadPoolSize} and ${MaxThreadPoolSize} are defined in <Geronimo_HOME>/var/config/config-sbustitions.properties already, you can either change them in that file or replace them with new values in config.xml directly.
  4. Find the <module> tag for the org.apache.geronimo.configs/transaction module and insert the following <gbean> element inside the <module> element. Code BlockborderStylesolid <gbean name="ConnectorThreadPool"> <attribute name="keepAliveTime">5000</attribute> <attribute name="minPoolSize">30</attribute> <attribute name="maxPoolSize">50</attribute> </gbean> Note that 30 and 50 are system defaults. You can change these 2 values to meet your need.
  5. Save the updated config.xml.
  6. Start the server.

...