THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Stop the server.
- 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. - Find the
<module>
tag for theorg.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.
where 500 is replaced with the new pool size.Code Block XML XML borderStyle solid <gbean name="DefaultThreadPool"> <attribute name="keepAliveTime">5000</attribute> <attribute name="poolSize">500</attribute> </gbean>
- Find the
<module>
tag for theorg.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.
where 30 is replaced with the new pool size.Code Block XML XML borderStyle solid <gbean name="ConnectorThreadPool"> <attribute name="keepAliveTime">5000</attribute> <attribute name="poolSize">30</attribute> </gbean>
- Save the updated
config.xml
. - 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
.
...