Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components
Close Print View
Configuring: Connection Pool Settings
 

Classic Java CAPS

Configuring JMS Clients

Configuring Java CAPS for SSL Support

Configuring Java CAPS Business Processes

Configuring Environment Components for the Sun Business Process Manager

Configuring Sun Master Indexes (Repository)

Configuring Java CAPS Project Components for Application Adapters

Configuring Java CAPS Project Components for Communication Adapters

Configuring Java CAPS Project Components for Database Adapters

Configuring Java CAPS Project Components for Web Server Adapters

Configuring Java CAPS Environment Components for Application Adapters

Using the Environment Properties Editor

To Configure the Environment Properties

Configuring Oracle Applications Adapter Environment Properties

Outbound Oracle Applications Adapter Properties

Outbound Oracle Adapter Properties with XA support

Configuring the PeopleSoft HTTP Client Adapter Environment Properties

HTTP Settings

Proxy Configuration

Security and Authentication

Security and SSL

PeopleSoft Settings

PeopleSoft Settings and PeopleTools 8.42 Settings

PeopleSoft Settings and PeopleTools 8.13 Settings

Configuring SAP BAPI Adapter Environment Properties

Inbound SAP BAPI Adapter

Outbound SAP BAPI Adapter

Configuring the Siebel EAI Adapter Environment Properties

Siebel EAI

HTTP Settings

Proxy Configuration

Security

Additional SSL Section Notes

Adapter Environment Properties

Configuring the SWIFT Alliance Gateway Adapter Environment Properties

To Configure the SWIFT AG Adapter Environment Properties

SWIFT AG Adapter Environment Properties

Transport

Connection Pool Settings

Configuring Websphere MQ Adapter Environment Properties

Inbound MQSeries Adapter -- Inbound Adapter Environment Configuration

Outbound MQSeries Adapter (XA) -- Outbound Adapter Environment Configuration

Outbound MQSeries Adapter (XA) -- Connection Retry Settings

Outbound MQSeries Adapter (XA) -- Connection Pool Settings

Outbound MQSeries Adapter -- Outbound Adapter Environment Configuration

Outbound MQSeries Adapter -- Connection Retry Settings

Outbound MQSeries Adapter -- Connection Pool Settings

Outbound MQSeries Adapter -- Connection Establishment Mode

Accessing Non-Local Queue Managers and Non-Local Queues

Configuring Java CAPS Environment Components for Communications Adapters

Configuring Java CAPS Environment Components for Database Adapters

Configuring Java CAPS Environment Components for Web Server Adapters

Configuring JDBC/ODBC Drivers

Configuring SAP R/3 for the SAP BAPI Adapter

Configuring Secure Network Communications for SAP

Configuring Siebel EAI Workflows

Importing an SNA Custom Handshake Class

Configuring WebLogic for Asynchronous Communication

Configuring Master Index (Repository) Connectivity and Environments

Related Topics for Sun Adapter for Batch/FTP

Java EE Based Components

Broadcasting Master Index Updates to External Systems

Configuring Sun Master Indexes

Connection Pool Settings

The Connection Pool Settings section is specific for the RA connection pool of Sun Java System Application Server only. Please refer to the corresponding documentations along with your product for more details.

The Connection Pool Settings section of the SWIFT AG Adapter Environment properties contains the top-level properties displayed in the table.

Environment Configuration - Connection Pool Settings

Name
Description
Required Value
Steady Pool Size
Specifies the steady pool size.

The steady pool size represents the minimum number of RA connections to be maintained. When it is set to greater than 0, the container not only pre-populates the RA connection pool with the specified number, but also attempts to ensure that there is always this many RA connections in the free pool. This ensures that there are enough RA connections in the ready to serve state to process user requests.

This parameter does not necessarily guarantee that no more than steady-pool-size instances exist at a given time. It only governs the number of instances that are pooled over a long period of time. For example, suppose an idle stateless session container has a fully-populated pool with a steady-pool-size of 10. If 20 concurrent requests arrive for the RA connection component, the container creates 10 additional instances to satisfy the burst of requests. The advantage of this is that it prevents the container from blocking any of the incoming requests. However, if the activity dies down to 10 or fewer concurrent requests, the additional 10 instances are discarded.

An integer indicating the steady pool size.

The configured default is 1.

Max Pool Size
Specifies the maximum pool size.

This number represents the maximum number of RA connections in the pool. A value of 0 indicates that the pool is unbounded.

An integer indicating the maximum pool size. A value of 0 indicates that the pool is unbounded.

The configured default is 32.

Max Wait Time in Millis
Specifies the maximum wait time in milliseconds.

If an RA connection is not available, the caller must wait this long before another RA connection is created. A value of 0 indicates that an exception is thrown if there is no RA connection available. If the pool is completely utilized and the timer expires, an exception will be delivered to the application.

Note - This element is deprecated for the bean pool container for Sun Java System Application Server.

An integer indicating the maximum wait time in milliseconds.

The configured default is 60000.

Pool Idle Timeout In Seconds
Specifies the pool idle timeout in seconds.

This serves as a hint to the server. A timer thread periodically removes unused RA connections. This parameter defines the interval at which this thread runs. This thread removes unused RA connection that have an expired timeout.

This allows you to specify the amount of time that an RA connection instance can be idle in the pool. When pool-idle-timeout-in-seconds is set to greater than 0, the container removes or destroys any RA connection instance that is idle for this specified duration. It is the maximum time that a component can remain idle in the pool. After this amount of time, the pool can remove this bean. A value of 0 specifies that idle RA connections can remain in the pool indefinitely.

An integer indicating the pool idle timeout in seconds. A value of 0 indicates that an idle RA connection may remain in the pool indefinitely. When the value is greater than 0, the container removes or destroys any RA connection instance that is idle for this specified duration.

The configured default is 300.