Enabling and Disabling Connection Pooling when Using Application Module Pooling

You can enable and disable connection pooling when using the application module pooling feature. By default, it is disabled.

To enable connection pooling:

When you start the business logic tier's Java VM, include the following directive on the command line:

-Djbo.doconnectionpooling=true

A value of false disables failover.

Alternatively, you can enter a line in the jboserver.properties file, which is stored in \lib\jbomt.zip. During deployment, you need to include the file.

jbo.doconnectionpooling=true

To set Java VM parameters through project properties:

  1. In the Workspace view of the Navigator, right-click a business component project and choose Properties.

  2. In the Run/Debug panel, type the parameters in the Java VM Parameters field.

  3. Click OK.

    The values are added to the jboserver.properties file, which is stored in \lib\jbomt.zip.


Related topics
Pooling Application Modules
About Application Module Pooling
About Application Module Pooling Classes
About Configuration Properties for a JSP Project