NonStop Server Guide for BEA WebLogic Server 8.1

XA Resource Manager (XARM)
HP NonStop Server Guide for BEA WebLogic Server 8.1529891-001
6-8
Configuring the WebLogic Server Data Sources for
SQL/MX
Properties
The Properties field is useful only with the XADataSource driver. The property
names and the various acceptable values are provided the following table.
Configuring the WebLogic Server Data
Sources for SQL/MX
While configuring the JDBC data sources for SQL/MX, one of the XA or non-XA pools
configured for SQL/MX, as described in the previous section (Configuring the JDBC
Connection Pools for SQL/MX), is used.
A transaction data-source has to either use the XA connection pool or should have the
EnableTwoPhaseCommit attribute set to true. For example:
<JDBCTxDataSource
JNDIName=”examples-Tx-MX-DataSource”
Name=”examples-Tx-MX-DataSource”
PoolName=”PoolName
EnableTwoPhaseCommit=”true”
Targets=”targetServers
/>
The EnableTwoPhaseCommit attribute instructs the WebLogic Server to emulate an
XA resource object if the underlying JDBC driver supporting the connection pool does
not have XA support. This attribute is otherwise ignored.
Property Name Description
maxStatements Has the same meaning as specified in the JDBC
specification. Valid value is greater than or equal to
zero (>=0). Zero (0) disables statement caching. Less
than zero (>0) enables statement caching with specific
number of statements. Default value is 0.
maxPoolSize The maximum number of physical connections the pool
should keep available at all times. Valid values are -1
and 0 or less than zero (<0). Negative 1 (-1) disables
use of the connection pooling data source to get a
connection. Zero or greater than 0 (0 or >0) value
results in a data source object being created in the
background and used for connection pooling. Default
value is 0. This value indicates no maximum size.
minPoolSize The number of physical connections the pool should
keep available at all times. Valid values are -1 and 0 or
greater than 0 (<0). Value must be less than
maxPoolSize. Negative 1 (-1) disables use of the
connection pooling data source to get a connection.
Default value is 0. This value indicates that connections
should be created as needed.