Contains the XA-related parameters of a data source.
Configuration parameters for a data source's XA-related behavior are specified using a XA parameters bean.
Security roles | The following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
|
||
Fully Qualified Interface Name | If you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:weblogic.j2ee.descriptor.wl.JDBCXAParamsBean
|
||
Factory Methods | No factory methods. Instances of this MBean are created automatically. | ||
Access Points |
You can access this MBean from the following MBean attributes:
|
This section describes the following attributes:
Enables WebLogic Server to keep the logical JDBC connection open for a global transaction when the physical XA connection is returned to the connection pool.
Select this option if the XA driver used to create database connections or the DBMS requires that a logical JDBC connection be kept open while transaction processing continues (although the physical XA connection can be returned to the connection pool).
Only applies to data sources that use an XA driver.
Use this setting to work around specific problems with JDBC XA drivers.
Privileges | Read/Write |
Type | boolean |
Enables WebLogic Server to associate the same XA database connection from the connection pool with a global transaction until the transaction completes.
Only applies to connection pools that use an XA driver.
Use this setting to work around specific problems with JDBC XA drivers.
Privileges | Read/Write |
Type | boolean |
Default Value | true |
Specifies whether the XA driver requires a distributed transaction context when closing various JDBC objects (result sets, statements, connections, and so forth). Only applies to connection pools that use an XA driver.
When enabled, SQL exceptions that are thrown while closing the JDBC objects without a transaction context will be suppressed.
Use this setting to work around specific problems with JDBC XA drivers.
Privileges | Read/Write |
Type | boolean |
Specifies that a dedicated XA connection is used for commit and rollback processing for a global transaction.
Only applies to data sources that use an XA driver.
Use this setting to work around specific problems with JDBC XA drivers.
Privileges | Read/Write |
Type | boolean |
Specifies that the transaction manager calls recover on the resource only once. Only applies to data sources that use an XA driver.
Use this setting to work around specific problems with JDBC XA drivers.
Privileges | Read/Write |
Type | boolean |
Enables JTA resource health monitoring for an XA data source. When enabled, if an XA resource fails to respond to an XA call within the period specified in MaxXACallMillis, WebLogic Server marks the data source as unhealthy and blocks any further calls to the resource.
This property applies to XA data sources only, and is ignored for data sources that use a non-XA driver.
Privileges | Read/Write |
Type | boolean |
Default Value | true |
Enables WebLogic Server to call rollback()
on the
connection before returning the connection to the connection
pool.
Enabling this attribute will have a performance impact as the rollback call requires communication with the database server.
This option is deprecated. Its value is currently ignored.
Deprecated.
Privileges | Read/Write |
Type | boolean |
Specifies that XAResource.end()
is called only once
for each pending XAResource.start()
.
This option prevents the XA driver from calling
XAResource.end(TMSUSPEND)
and
XAResource.end(TMSUCCESS)
successively. Only applies
to data sources that use an XA driver.
Use this setting to work around specific problems with JDBC XA drivers.
This option is deprecated. Its value is currently ignored.
Deprecated.
Privileges | Read/Write |
Type | boolean |
Determines the duration in seconds for which the transaction manager will perform recover operations on the resource. A value of zero indicates that no retries will be performed.
Privileges | Read/Write |
Type | int |
Default Value | 0 |
The number of seconds between XA retry operations if XARetryDurationSeconds is set to a positive value.
Privileges | Read/Write |
Type | int |
Default Value | 60 |
Enables WebLogic Server to set a transaction branch timeout based on the value for XaTransactionTimeout.
When enabled, the WebLogic Server Transaction Manager calls
XAResource.setTransactionTimeout()
before calling
XAResource.start
, and passes either the XA Transaction
Timeout value or the global transaction timeout.
You may want to set a transaction branch timeout if you have long-running transactions that exceed the default timeout value on the XA resource.
Note: To use this feature, the resource manager
(typically, the JDBC driver) must support the
javax.transaction.xa.XAResource.setTransactionTimeout()
method.
For more information, see:
Privileges | Read/Write |
Type | boolean |
The number of seconds to set as the transaction branch timeout.
If set, this value is passed as the transaction timeout value in
the XAResource.setTransactionTimeout()
call on the XA
resource manager, typically the JDBC driver.
When this value is set to 0
, the WebLogic Server
Transaction Manager passes the global WebLogic Server transaction
timeout in seconds in the method.
If set, this value should be greater than or equal to the global WebLogic Server transaction timeout.
Note: You must enable XaSetTransactionTimeout to enable setting the transaction branch timeout.
For more information, see:
Privileges | Read/Write |
Type | int |
Default Value | 0 |
This section describes the following operations:
|
Return true if the given property has been explicitly set in this bean.
Operation Name | "isSet" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
Exceptions |
|
Restore the given property to its default value.
Operation Name | "unSet" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Exceptions |
|