THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
You must always stop the server before changing config.xml. Any changes made to config.xml while the server is running will be lost. When the server stops, it writes a new copy of config.xml so it contains any configuration changes made while the server was running.
Configuring
...
thread
...
pools
- 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.framework/rmi-naming
module and update the following<gbean>
element inside the<module>
element.
Note that MinThreadPoolSize and MaxThreadPoolSize are defined inCode Block XML XML borderStyle solid <gbean name="DefaultThreadPool"> <attribute name="keepAliveTime">30000</attribute> <attribute name="minPoolSize">${MinThreadPoolSize}</attribute> <attribute name="maxPoolSize">${MaxThreadPoolSize}</attribute> </gbean>
<Geronimo_HOME>/var/config/config-sbustitions.properties
already, you can either change them in that file or replace them with new values inconfig.xml
directly.
...
- Find the
<module>
tag for theorg.apache.geronimo.configs/transaction
module and insert the following<gbean>
element inside the<module>
element.
Note that 30 and 50 are system defaults. You can change these 2 values to meet your need.Code Block XML XML borderStyle solid <gbean name="ConnectorThreadPool"> <attribute name="keepAliveTime">5000</attribute> <attribute name="minPoolSize">30</attribute> <attribute name="maxPoolSize">50</attribute> </gbean>
- Save the updated
config.xml
. - Start the server.
...