This interface provides access to the JTA configuration attributes. The methods defined herein are applicable for JTA configuration at the clluster level.
Since | 12.1.2.0 | ||
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.JTAClusterMBean
|
||
Factory Methods | No factory methods. Instances of this MBean are created automatically. | ||
Access Points |
You can access this MBean from the following MBean attributes:
|
||
Access Points Inherited from JTAMBean |
Because this MBean extends or implements JTAMBean, you can also access this MBean by retrieving JTAMBeans. The following attributes contain JTAMBeans and its subtypes:
|
This section describes the following attributes:
Specifies the maximum amount of time, in seconds, a transaction manager persists in attempting to complete the second phase of a two-phase commit transaction.
During the second phase of a two-phase commit transaction, the transaction manager continues to try to complete the transaction until all resource managers indicate that the transaction is completed. 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 rolls back the transaction to release any locks held on behalf of the abandoned transaction.
Privileges | Read/Write |
Type | int |
Minimum value | 1 |
Maximum value | 2147483647 |
The maximum number of cycles that the transaction manager
performs the beforeCompletion
synchronization callback
for this cluster.
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 synchronization occurs.
Privileges | Read/Write |
Type | int |
Minimum value | 1 |
Maximum value | 2147483647 |
Private property that disables caching in proxies.
Privileges | Read only |
Type | boolean |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
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 |
Minimum value | 10 |
Maximum value | 1800 |
Indicates that cluster-wide recovery is used for distributed transactions.
When enabled, recovery operations for a distributed transaction are applied to all the servers of the cluster hosting a InterposedTransactionManager rather than just the server hosting the InterposedTransactionManager.
Privileges | Read/Write |
Type | boolean |
Specifies the maximum amount of time, in seconds, a transaction manager waits for all resource managers to respond and indicate if the transaction can be committed or rolled back.
The default value is 0, which sets the value to approximately
twice the default transaction-timeout
value with a
maximum value of 120 seconds. This value provides backward
compatibility for prior releases without this setting.
If the specified value is -1, the maximum value supported by this attribute is used.
If the specified value exceeds the value set for
abandon-timeout-seconds
, the value of
abandon-timeout-seconds
is used.
Privileges | Read/Write |
Type | int |
Minimum value | -1 |
Maximum value | 2147483647 |
The interval at which a store lock for a given server in a recovery domain will be checked for takeover eligibility.
Privileges | Read/Write |
Type | int |
Default Value | 60 |
Minimum value | 1 |
Maximum value | 2147483647 |
The time after which a lease expires making it eligible for recovery by another site.
Privileges | Read/Write |
Type | int |
Default Value | 30 |
Minimum value | 1 |
Maximum value | 2147483647 |
The time in seconds in which to update at lease timestamp.
Privileges | Read/Write |
Type | int |
Default Value | 10 |
Minimum value | 1 |
Maximum value | 2147483647 |
The interval at which a lease for a given server in a recovery domain will be checked for takeover eligibility.
Privileges | Read/Write |
Type | int |
Default Value | 60 |
Minimum value | 1 |
Maximum value | 2147483647 |
Returns a list of one or more transaction resources (determiners). A determiner's in-doubt transaction records are used during transaction recovery when a TLog is not present.
Available Since | Release 12.2.1.0.0 |
Privileges | Read only |
Type | |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
Specifies a list of one or more transaction resources (determiners) separated by line breaks. A determiner's in-doubt transaction records are used during transaction recovery when a TLog is not present.
Privileges | Read/Write |
Type | class java.lang.String[] |
Return whether the MBean was created dynamically or is persisted to config.xml
Privileges | Read only |
Type | boolean |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
Specifies whether the transaction manager automatically performs
an XA Resource 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 |
Return the unique id of this MBean instance
Privileges | Read only |
Type | long |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
Maximum number of concurrent requests to resources allowed for each server.
Privileges | Read/Write |
Type | int |
Minimum value | 10 |
Maximum value | 2147483647 |
Maximum duration time, in milliseconds, that a resource is declared dead. After the duration, the resource is declared available again, even if the resource provider does not explicitly re-register the resource.
Privileges | Read/Write |
Type | long |
Minimum value | 0 |
Maximum value | 9223372036854775807 |
The maximum amount of time, in seconds, WebLogic Server waits for the determiner to recover from a failure. If the determiner does not recover after this period, WebLogic Server sets the TLog health state to HEALTH_FAILED.
Privileges | Read/Write |
Type | int |
Default Value | 300 |
Minimum value | 0 |
Maximum value | 2147483647 |
The maximum number of simultaneous in-progress transactions allowed on a server in this cluster.
Privileges | Read/Write |
Type | int |
Minimum value | 1 |
Maximum value | 2147483647 |
The interval for which the transaction map must be full for the JTA subsystem to declare its health as CRITICAL.
Privileges | Read/Write |
Type | long |
Minimum value | 1000 |
Maximum value | 9223372036854775807 |
The maximum number of unique transaction names for which statistics are maintained.
The first 1001 unique transaction names are maintained as their
own transaction name and stored in each statistic. After the 1001st
transaction name is reached, the transaction name is stored as
weblogic.transaction.statistics.namedOverflow
, and the
transaction statistic is also merged and maintained in
weblogic.transaction.statistics.namedOverflow
.
A transaction name typically represents a category of business transactions, such as "funds-transfer."
Privileges | Read/Write |
Type | int |
Minimum value | 0 |
Maximum value | 2147483647 |
Maximum allowed time duration, in milliseconds, for 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 |
Minimum value | 0 |
Maximum value | 9223372036854775807 |
Returns the MBean info for this MBean.
Deprecated.
Privileges | Read only |
Type | javax.management.MBeanInfo |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The time interval, in seconds, that the checkpoint is done for the migrated transaction logs (TLOGs).
Privileges | Read/Write |
Type | int |
Minimum value | 1 |
Maximum value | 2147483647 |
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 Server 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.
Note: If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.
Privileges | Read/Write |
Security roles | Write access is granted only to the following roles:
|
Type | java.lang.String |
Returns the ObjectName under which this MBean is registered in the MBean server.
Deprecated.
Privileges | Read only |
Type | weblogic.management.WebLogicObjectName |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The dispatch policy to use when performing XA operations in parallel.
Privileges | Read/Write |
Type | java.lang.String |
Indicates that XA calls are executed in parallel if there are available threads.
Privileges | Read/Write |
Type | boolean |
Return the immediate parent for this MBean
Privileges | Read/Write |
Type |
The interval that a particular resource must be accessed within for it to be included in the checkpoint record.
Privileges | Read/Write |
Type | int |
Minimum value | 0 |
Maximum value | 2147483647 |
The name of the site whose transactions this site/domain will recover in the event that intra-cluster transaction service migration is not successful or efficient.
Privileges | Read/Write |
Type | java.lang.String |
The interval that recovery is attempted until the resource becomes available.
Privileges | Read/Write |
Type | long |
Minimum value | 60000 |
Maximum value | 9223372036854775807 |
Returns false if the MBean represented by this object has been unregistered.
Deprecated.
Privileges | Read only |
Type | boolean |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
Specifies the security mode of the communication channel used for XA calls between servers that participate in a global transaction. All server instances in a domain must have the same security mode setting.
Security Interoperability Mode options:
The transaction coordinator makes calls using the kernel
identity over an admin channel if it is enabled, and
anonymous
otherwise. Man-in-the-middle attacks are
possible if the admin channel is not enabled.
The transaction coordinator makes calls using
anonymous
at all times. This implies a security risk
since a malicious third party could then try to affect the outcome
of transactions using a man-in-the-middle attack.
The transaction coordinator makes calls as the kernel identity over an insecure channel. This is a high security risk because a successful man-in-the-middle attack would allow the attacker to gain administrative control over both domains. This setting should only be used when strong network security is in place.
Privileges | Read/Write |
Type | java.lang.String |
The time interval, in milliseconds, at which internal objects used to serialize resource enlistment are cleaned up.
Privileges | Read/Write |
Type | long |
Minimum value | 0 |
Indicates how long the server should wait for active transactions to complete before allowing shutdown.
Privileges | Read/Write |
Type | int |
Default Value | 180 |
Return all tags on this Configuration MBean
Available Since | Release 12.2.1.0.0 |
Privileges | Read/Write |
Type | class java.lang.String[] |
Indicates tight coupling of transaction branches that span different transaction manager systems.
When enabled, WebLogic uses the transaction identifier of a transaction imported by the InterposedTransactionManager for XA calls rather than an internally mapped Xid. This applies to inter-domain WebLogic transactions and transactions imported from Tuxedo. This allows for tight coupling of transaction branches for transactions that span across different transaction manager systems.
If a transaction between WebLogic and Tuxedo resources uses a GridLink Data Source with GridLink Affinity enabled, the XA Affinity context is automatically used for the transaction.
Privileges | Read/Write |
Type | boolean |
Specifies the maximum amount of time, in seconds, an active transaction is allowed to be in the first phase of a two-phase commit transaction. If the specified amount of time expires, the transaction is automatically rolled back.
Privileges | Read/Write |
Type | int |
Minimum value | 1 |
Maximum value | 2147483647 |
Indicates two-phase transaction recovery logs are written even if one or more determiners are configured.
Privileges | Read/Write |
Type | boolean |
Indicates that the two-phase commit protocol is used to coordinate transactions across two or more resource managers.
If not selected:
Two-phase commit is disabled and any attempt to use two-phase commit results in a RollbackException being thrown.
All transaction logging is disabled, including checkpoint records.
Privileges | Read/Write |
Type | boolean |
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 amount of time, in seconds, a transaction manager waits for transactions involving the resource to complete before unregistering a resource. This grace period helps 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 blocks until the call returns
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 outstanding transactions are
associated with the resource, the unregisterResource
call returns and a log message is written to the server on which
the resource was previously registered.
Privileges | Read/Write |
Type | int |
Minimum value | 0 |
Maximum value | 2147483647 |
Specifies whether to use issuedtoken
to enable
authentication between the WS-AT coordinator and participant.
Privileges | Read/Write |
Type | boolean |
Specifies transport security mode required by WebService Transaction endpoints.
Transport Security options:
All WebService Transaction protocol messages are exchanged over the HTTP channel.
All WebService Transaction protocol messages are and can only be exchanged over the HTTPS.
All WebService Transaction protocol messages are and can only be exchanged over the HTTPS, and WLS enforces the presence of client certificate
Privileges | Read/Write |
Type | java.lang.String |
Default Value | SSLNotRequired |
Legal Values |
|
This section describes the following operations:
Add a tag to this Configuration MBean. Adds a tag to the current set of tags on the Configuration MBean. Tags may contain white spaces.
Operation Name | "addTag" |
Parameters | Object [] { tag }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
Exceptions |
|
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.
Note: 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 |
|
Return all properties' names whose value is inherited from template mbean. this is a convenient method to get inheritance info on multiple properties in one jmx call.
Operation Name | "getInheritedProperties" |
Parameters | Object [] { propertyNames }
where:
|
Signature | String [] {
"[Ljava.lang.String;" } |
Returns |
class |
Check if the value of a property is inherited from template mbean or not.
Operation Name | "isInherited" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
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
|
Remove a tag from this Configuration MBean
Operation Name | "removeTag" |
Parameters | Object [] { tag }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
Exceptions |
|
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
|