In a Java™ SE environment,
you can change the parameters of the connection pool in the ra.xml deployment
descriptor, for example to fine-tune performance.
About this task
In Java SE configurations,
the execution unit (XU) uses the defaultConnectionManagerProperties property
as part of its own implementation of the Java ConnectionManager interface.
Procedure
- Add a ra.xml file anywhere on the
class path. You can find a template in the product installation directory: <InstallDir>/executionserver/bin/ra.xml <InstallDir> is the product installation
directory.
- Find the defaultConnectionManagerProperties property.
<config-property>
<config-property-name>defaultConnectionManagerProperties</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>pool.maxSize=20,pool.waitTimeout=-1</config-property-value>
</config-property>
- Replace the default value pool.maxSize=20 with
one or all of the following properties:
- Save the deployment descriptor.