Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  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.configs/rmi-naming module and insert the following <gbean> element inside the <module> element. Remember, if the <module> element you find is currently a singleton tag, you must change the trailing /> to > and add a </module> tag after your changes.
    Code Block
    XML
    XML
    borderStylesolid
    <gbean name="DefaultThreadPool">
      <attribute name="keepAliveTime">5000</attribute>
      <attribute name="poolSize">500</attribute>
    </gbean>
    
    where 500 is replaced with the new pool size.
  4. Find the <module> tag for the org.apache.geronimo.configs/transaction module and insert the following <gbean> element inside the <module> element. Remember, if the <module> element you find is currently a singleton tag, you must change the trailing /> to > and add a </module> tag after your changes.
    Code Block
    XML
    XML
    borderStylesolid
    <gbean name="ConnectorThreadPool">
      <attribute name="keepAliveTime">5000</attribute>
      <attribute name="poolSize">30</attribute>
    </gbean>
    
    where 30 is replaced with the new pool size.
  5. Save the updated config.xml.
  6. Start the server.

Note: ConnectorThreadPool is used in J2EE Connector Architecture (JCA), and DefaultThreadPool is used by Jetty and System database. They both have no connection with Tomcat Web connector.

Tomcat Web connector has its own thread pool for share among components. To change the settings for maximum and minimum thread numbers for Tomcat Web container, edit atrributes of the GBean TomcatWebConnector in the file <GERONIMO_HOME>/var/config/config.xml.

...