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

Classic Java CAPS

Developing Java CAPS Projects

Using SOAP Message Handlers

Creating a Runtime Environment

Designing Business Processes in the Sun Business Process Manager

Working with TCP/IP HL7 Collaborations

Developing Sun Master Indexes (Repository)

Developing Sun Master Patient Indexes

Developing OTDs for Application Adapters

Developing OTDs for Communication Adapters

Developing OTDs for Database Adapters

Developing OTDs for Web Server Adapters

Designing with Application Adapters

Designing with Communication Adapters

Designing with Web Server Adapters

SWIFT Integration Projects

Java EE Based Components

Designing with Sun JCA Adapters

About the TCP/IP JCA Adapter

TCP/IP JCA Adapters Contrasted With TCP/IP eWay Adapters

Installing the TCP/IP JCA Adapter

Installing the Design-Time *.nbm Files for the TCP/IP JCA Adapter

To Install the NetBeans Modules for the TCP/IP JCA Adapter

Setting Up the Runtime Environment for the TCP/IP JCA Adapter

To Install the Global RAR for the TCP/IP JCA Adapter

To Add a Connector Connection Pool for the TCP/IP JCA Adapter

To Add a Connector Resource for the TCP/IP JCA Adapter

Configuring the TCP/IP JCA Adapter

Configuring Runtime Properties of a TCP/IP JCA Adapter Pool

To Configure a TCP/IP JCA Adapter Pool

Configuring Design-time Properties of an Individual TCP/IP JCA Adapter Component

To Configure a TCP/IP JCA Adapter Instance

Using the TCP/IP JCA Adapter in an EJB Project

Designing an EJB Module to Use TCP/IP JCA Adapter Code

To Create an EJB Module Project

To Add a TCP/IP JCA Adapter to an EJB Project

To Use TCP/IP-Specific Sample Code

Configuration Settings for the TCP/IP JCA Adapter

General Outbound Settings

TCPIP Outbound Settings -- Client Connection Establishment

TCP/IP Outbound Settings -- Server Port Binding

TCP/IP Outbound Settings

Envelope Message Settings

Connection Pool Settings

Defining Constants and Variables

Using Database Operations

Developing Sun Master Indexes

Using the JMS JCA Wizard

Using the JAXB Wizard and Code-Seeder Pallete

Connection Pool Settings

The Connection Pool properties specify pool parameters stored in sun-ra.xml for the TCP/IP JCA Adapter.

Steady Pool Size

Default: 1

Maps to parameter “steady-pool-size” in sun-ra.xml.

Specifies the minimum number of resource adapter connections to be maintained. For nonzero values, the container populates the resource adapter connection pool with the specified number and tries to maintain at least this many resource adapter connections in the free pool, ensuring a sufficient number of connections in the ready-to-serve state to process user requests.

Max Pool Size

Default: 32

Maps to parameter “max-pool-size” in sun-ra.xml.

Specifies the maximum number of resource adapter connections in the pool. A value of 0 means the pool is unbounded.

Pool Idle Timeout In Seconds

Default: 30

Maps to parameter “pool-idle-timeout-in-seconds” in sun-ra.xml.

This parameter provides a suggestion to the server for how often to run a timer thread that periodically removes unused resource adapter connections whose timeout has expired. This parameter defines the interval at which this thread runs; when it is set to greater than 0, the container removes or destroys any resource connection instance that has idle for this number of seconds. Thus, in other words, this parameter specifies the maximum number of seconds that a component can remain idle in the pool; after this amount of time, the pool can remove the bean. A value of 0 specifies that idle resource adapter connections can remain in the pool indefinitely.