This interface provides access to the JTA configuration attributes. The methods defined herein are applicable for JTA configuration at the domain level.
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.management.configuration.JTAMBean
|
||
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:
The transaction abandon timeout seconds for transactions in the second phase of the two-phase commit (prepared and later).
During the second phase of the two-phase commit process, the transaction manager will continue to try to complete the transaction until all resource managers indicate that the transaction is completed. Using this timeout, you can set the maximum time that a transaction manager will persist in attempting to complete a transaction during the second phase of the transaction. After the abandon transaction timer expires, no further attempt is made to resolve the transaction. If the transaction is in a prepared state before being abandoned, the transaction manager will roll back the transaction to release any locks held on behalf of the abandoned transaction.
Privileges | Read/Write |
Type | int |
Default Value | 86400 |
Minimum value | 1 |
Maximum value | 2147483647 |
The maximum number of cycles that the transaction manager will perform the beforeCompletion synchronization callback for this WebLogic Server domain.
Nothing prevents a Synchronization object from registering
another during beforeCompletion
, even those whose
beforeCompletions
have already been called. For
example, an EJB can call another in its ejbStore()
method. To accommodate this, the transaction manager calls all
Synchronization objects, then repeats the cycle if new ones have
been registered. This count sets a limit to the number of cycles
that can happen.
Privileges | Read/Write |
Type | int |
Default Value | 10 |
Minimum value | 1 |
Maximum value | 2147483647 |
The interval at which the transaction manager creates a new transaction log file and checks all old transaction log files to see if they are ready to be deleted.
Privileges | Read/Write |
Type | int |
Default Value | 300 |
Minimum value | 10 |
Maximum value | 1800 |
Specifies whether the transaction manager will automatically perform an XAResource forget operation for heuristic transaction completions.
When enabled, the transaction manager automatically performs an
XA Resource forget()
operation for all resources as
soon as the transaction learns of a heuristic outcome. Disable this
feature only if you know what to do with the resource when it
reports a heuristic decision.
Privileges | Read/Write |
Type | boolean |
Default Value | true |
Maximum number of concurrent requests to resources allowed for each server.
Privileges | Read/Write |
Type | int |
Default Value | 50 |
Minimum value | 10 |
Maximum value | 2147483647 |
Maximum duration in milliseconds that a resource is declared dead. After the duration, the resource will be declared available again, even if the resource provider does not explicitly re-register the resource.
Privileges | Read/Write |
Type | long |
Default Value | 1800000 |
Minimum value | 0 |
Maximum value | 9223372036854775807 |
The maximum number of simultaneous in-progress transactions allowed on a server in this WebLogic Server domain.
Privileges | Read/Write |
Type | int |
Default Value | 10000 |
Minimum value | 1 |
Maximum value | 2147483647 |
The maximum number of unique transaction names for which statistics will be maintained.
A transaction name typically represents a category of business transactions (such as "funds-transfer")
Privileges | Read/Write |
Type | int |
Default Value | 1000 |
Minimum value | 0 |
Maximum value | 2147483647 |
Maximum allowed duration of XA calls to resources. If a particular XA call to a resource exceeds the limit, the resource is declared unavailable.
Privileges | Read/Write |
Type | long |
Default Value | 120000 |
Minimum value | 0 |
Maximum value | 9223372036854775807 |
The user-specified name of this MBean instance.
This name is included as one of the key properties in the
MBean's javax.management.ObjectName
:
Name=user-specified-name
Privileges | Read/Write |
Type | java.lang.String |
Optional information that you can include to describe this configuration.
WebLogic Sever saves this note in the domain's configuration
file (config.xml
) as XML PCDATA. All left angle
brackets (<) are converted to the XML entity
<
. Carriage returns/line feeds are
preserved.
If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.
Privileges | Read/Write |
Type | java.lang.String |
Return the immediate parent for this MBean
Privileges | Read/Write |
Type |
Specifies the security mode to use for XA calls in cross-domain transactions. Only applies to transactions in which some participating resources are running on older versions of WebLogic Server.
In previous releases of WebLogic Server, the transaction coordinator used the kernel identity when calling to remote resources, however calls were made over a non-secure channel. In the current release, remote calls made as the kernel identity must use a secure channel, which causes an interoperability problem with previous WebLogic domains and a possible performance problem in JTA with an admin channel enabled. The security interoperability mode setting enables you to control the XA call behavior.
Security Interoperability Mode options:
- The transaction coordinator makes calls using the kernel
identity over an admin channel if it is enabled, and
anonymous
otherwise.
- The transaction coordinator makes calls using
anonymous
at all times. This implies a small security
risk since a malicious third party could then try to affect the
outcome of transactions.
- The transaction coordinator makes calls as the kernel identity over an insecure channel. This is a high security risk because it means that the server's kernel identity could be captured and used for nefarious purposes. However, this setting is required to interoperate with older, unpatched versions of WebLogic Server.
Privileges | Read/Write |
Type | java.lang.String |
Default Value | default |
Legal Values |
|
The interval at which internal objects used to serialize resource enlistment are cleaned up.
Privileges | Read/Write |
Type | long |
Default Value | 30000 |
Minimum value | 0 |
The transaction timeout seconds for active transactions, before the prepared state.
If the transaction is still in the "active" state after this
time (counting from begin()
), it is automatically
rolled back. Once the transaction moves on to the prepared state,
however, this timeout does not apply; the transaction is retried
until all the resources are committed.
Privileges | Read/Write |
Type | int |
Default Value | 30 |
Minimum value | 1 |
Maximum value | 2147483647 |
Returns the type of the MBean.
Privileges | Read only |
Type | java.lang.String |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The grace period (number of seconds) that the transaction manager waits for transactions involving the resource to complete before unregistering a resource. The grace period can help minimize the risk of abandoned transactions because of an unregistered resource, such as a JDBC data source module packaged with an application.
During the specified grace period, the unregisterResource call
will block until the call can return, and no new transactions are
started for the associated resource. If the number of outstanding
transactions for the resource goes to 0
, the
unregisterResource call returns immediately.
At the end of the grace period, if there are still outstanding transactions associated with the resource, the unregisterResource call returns and a log message is written on the server on which the resource was previously registered.
Privileges | Read/Write |
Type | int |
Default Value | 30 |
Minimum value | 0 |
Maximum value | 2147483647 |
This section describes the following operations:
If the specified attribute has not been set explicitly, and if the attribute has a default value, this operation forces the MBean to persist the default value.
Unless you use this operation, the default value is not saved and is subject to change if you update to a newer release of WebLogic Server. Invoking this operation isolates this MBean from the effects of such changes.
To insure that you are freezing the default value, invoke the
restoreDefaultValue
operation before you invoke
this.
This operation has no effect if you invoke it on an attribute that does not provide a default value or on an attribute for which some other value has been set.
Deprecated.
Operation Name | "freezeCurrentValue" |
Parameters | Object [] { attributeName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Exceptions |
|
Returns true if the specified attribute has been set explicitly in this MBean instance.
Operation Name | "isSet" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
If the specified attribute has a default value, this operation removes any value that has been set explicitly and causes the attribute to use the default value.
Default values are subject to change if you update to a newer
release of WebLogic Server. To prevent the value from changing if
you update to a newer release, invoke the
freezeCurrentValue
operation.
This operation has no effect if you invoke it on an attribute that does not provide a default value or on an attribute that is already using the default.
Deprecated.
Operation Name | "restoreDefaultValue" |
Parameters | Object [] { attributeName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Exceptions |
|
Restore the given property to its default value.
Operation Name | "unSet" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|