JTARuntimeMBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

This interface is used for accessing transaction runtime characteristics within a WebLogic server.

   
Fully Qualified Interface NameIf you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.management.runtime.JTARuntimeMBean
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 RuntimeMBean Because this MBean extends or implements RuntimeMBean, you can also access this MBean by retrieving RuntimeMBeans. The following attributes contain RuntimeMBeans and its subtypes:


    Related MBeans

    This section describes attributes that provide access to other MBeans.


    NonXAResourceRuntimeMBeans

    An array of NonXAResourceRuntimeMBeans that each represents the statistics for a non-XA resource.

    For more information, see:

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeNonXAResourceRuntimeMBean[]
    Relationship type: Containment.

    RecoveryRuntimeMBeans

    Returns the runtime MBeans for the Transaction Recovery Services that were deployed on this server.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeJTARecoveryRuntimeMBean[]
    Relationship type: Containment.

    TransactionLogStoreRuntimeMBean

    Returns the runtime MBean for the primary TLOG persistent store, regardless of it is default store or JDBC store.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypePersistentStoreRuntimeMBean
    Relationship type: Containment.

    TransactionNameRuntimeMBeans

    An array of TransactionNameRuntimeMBeans that represent statistics for all transactions in the server, categorized by transaction name.

    For more information, see:

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeTransactionNameRuntimeMBean[]
    Relationship type: Containment.

    TransactionResourceRuntimeMBeans

    An array of TransactionResourceRuntimeMBeans that each represents the statistics for a transaction resource.

    For more information, see:

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeTransactionResourceRuntimeMBean[]
    Relationship type: Containment.


    Attributes

    This section describes the following attributes:


    ActiveTransactionsTotalCount

    The number of active transactions on the server.

           
    Privileges Read only
    Typeint

    CachingDisabled

    Private property that disables caching in proxies.

           
    Privileges Read only
    Typeboolean

    DBPassiveModeState

    Returns the JTA Passive Mode state as a string. The state values are (ACTIVE, PASSIVE, ACTIVATING, PASSIVATING)

           
    Privileges Read only
    Typejava.lang.String

    HealthState

    The health state of the JTA subsystem. for state values.

    For more information, see:

           
    Privileges Read only
    Typeweblogic.health.HealthState

    JTATransactions

    An array of JTATransaction objects. Each object provides detailed information regarding an active transaction.

           
    Privileges Read only
    Typeinterface weblogic.management.runtime.JTATransaction[]

    MBeanInfo

    Returns the MBean info for this MBean.

    Deprecated.

           
    Privileges Read only
    Typejavax.management.MBeanInfo

    Name

    The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.

           
    Privileges Read only
    Typejava.lang.String

    ObjectName

    Returns the ObjectName under which this MBean is registered in the MBean server.

    Deprecated.

           
    Privileges Read only
    Typeweblogic.management.WebLogicObjectName

    Parent

    Return the immediate parent for this MBean

           
    Privileges Read/Write
    Type

    Registered

    Returns false if the MBean represented by this object has been unregistered.

    Deprecated.

           
    Privileges Read only
    Typeboolean

    RegisteredNonXAResourceNames

    An array of NonXA resource names that are registered with the transaction manager.

           
    Privileges Read only
    Typeclass java.lang.String[]

    RegisteredResourceNames

    An array of XA resource names that are registered with the transaction manager.

           
    Privileges Read only
    Typeclass java.lang.String[]

    SecondsActiveTotalCount

    The total number of seconds that transactions were active for all committed transactions.

           
    Privileges Read only
    Typelong

    TransactionAbandonedTotalCount

    The total number of transactions that were abandoned since the server was started.

           
    Privileges Read only
    Typelong

    TransactionCommittedTotalCount

    The total number of transactions committed since the server was started.

           
    Privileges Read only
    Typelong

    TransactionHeuristicsTotalCount

    The number of transactions that completed with a heuristic status since the server was started.

           
    Privileges Read only
    Typelong

    TransactionLLRCommittedTotalCount

    The total number of LLR transactions that were committed since the server was started.

           
    Privileges Read only
    Typelong

    TransactionNoResourcesCommittedTotalCount

    The total number of transactions with no enlisted resources that were committed since the server was started.

           
    Privileges Read only
    Typelong

    TransactionOneResourceOnePhaseCommittedTotalCount

    The total number of transactions with only one enlisted resource that were one-phase committed since the server was started.

           
    Privileges Read only
    Typelong

    TransactionReadOnlyOnePhaseCommittedTotalCount

    The total number of transactions with more than one enlisted resource that were one-phase committed due to read-only optimization since the server was started.

           
    Privileges Read only
    Typelong

    TransactionRolledBackAppTotalCount

    The number of transactions that were rolled back due to an application error.

           
    Privileges Read only
    Typelong

    TransactionRolledBackResourceTotalCount

    The number of transactions that were rolled back due to a resource error.

           
    Privileges Read only
    Typelong

    TransactionRolledBackSystemTotalCount

    The number of transactions that were rolled back due to an internal system error.

           
    Privileges Read only
    Typelong

    TransactionRolledBackTimeoutTotalCount

    The number of transactions that were rolled back due to a timeout expiration.

           
    Privileges Read only
    Typelong

    TransactionRolledBackTotalCount

    The number of transactions that were rolled back since the server was started.

           
    Privileges Read only
    Typelong

    TransactionServiceState

    Returns the lifecycle state of the JTA Transaction Service as a string

           
    Privileges Read only
    Typejava.lang.String

    TransactionTotalCount

    The total number of transactions processed. This total includes all committed, rolled back, and heuristic transaction completions since the server was started.

           
    Privileges Read only
    Typelong

    TransactionTwoPhaseCommittedLoggedTotalCount

    The total number of two phase commit transactions that were committed with TLog since the server was started.

           
    Available Since Release 12.2.1.0.0
    Privileges Read only
    Typelong

    TransactionTwoPhaseCommittedNotLoggedTotalCount

    The total number of two phase commited transactions that were committed without TLog since the server was started.

           
    Available Since Release 12.2.1.0.0
    Privileges Read only
    Typelong

    TransactionTwoPhaseCommittedTotalCount

    The total number of transactions with more than one enlisted resource that were two-phase committed since the server was started.

           
    Privileges Read only
    Typelong

    Type

    Returns the type of the MBean.

           
    Privileges Read only
    Typejava.lang.String


    Operations

    This section describes the following operations:


    forceGlobalCommit

    Forces the transaction represented by xid to be committed at all participating SubCoordinators. If the server on which the method is invoked is not the coordinating server then the coordinating server will be notified to process the commit.

       
    Operation Name"forceGlobalCommit"
    ParametersObject [] {  xid }

    where:

    • xid is an object of type javax.transaction.xa.Xid that specifies:

      xid

    SignatureString [] { "javax.transaction.xa.Xid" }
    Returns void
    Exceptions
    • java.rmi.RemoteException

    forceGlobalRollback

    Forces the transaction represented by xid to be rolled-back at all participating SubCoordinators. If the server on which the method is invoked is not the coordinating server then the coordinating server will be notified to process the rollback.

       
    Operation Name"forceGlobalRollback"
    ParametersObject [] {  xid }

    where:

    • xid is an object of type javax.transaction.xa.Xid that specifies:

      xid

    SignatureString [] { "javax.transaction.xa.Xid" }
    Returns void
    Exceptions
    • java.rmi.RemoteException

    forceLocalCommit

    Forces the transaction represented by xid to be committed at the local SubCoordinator only.

       
    Operation Name"forceLocalCommit"
    ParametersObject [] {  xid }

    where:

    • xid is an object of type javax.transaction.xa.Xid that specifies:

      xid

    SignatureString [] { "javax.transaction.xa.Xid" }
    Returns void
    Exceptions
    • java.rmi.RemoteException

    forceLocalRollback

    Forces the transaction represented by xid to be rolled-back at the local SubCoordinator only.

       
    Operation Name"forceLocalRollback"
    ParametersObject [] {  xid }

    where:

    • xid is an object of type javax.transaction.xa.Xid that specifies:

      xid

    SignatureString [] { "javax.transaction.xa.Xid" }
    Returns void
    Exceptions
    • java.rmi.RemoteException

    getJTATransaction

    Returns the JTATransaction information object for the specified Xid. If the transaction represented by xid does not exist on the server, then the method will return null.

       
    Operation Name"getJTATransaction"
    ParametersObject [] {  xid }

    where:

    • xid is an object of type java.lang.String that specifies:

      xid

    SignatureString [] { "java.lang.String" }
    ReturnsJTATransaction
    Exceptions
    • java.rmi.RemoteException

    getRecoveryRuntimeMBean

    Returns the runtime MBean for the Transaction Recovery Service of the specified server. If the Transaction Recovery Service of the specified server is not deployed on this server, null will be returned.

       
    Operation Name"getRecoveryRuntimeMBean"
    ParametersObject [] {  serverName }

    where:

    • serverName is an object of type java.lang.String that specifies:

      serverName

    SignatureString [] { "java.lang.String" }
    ReturnsJTARecoveryRuntimeMBean

    getTransactionsOlderThan

    An array of JTATransaction objects. Each object provides detailed information regarding an active transaction that has existed for a period longer than the time specified.

       
    Operation Name"getTransactionsOlderThan"
    ParametersObject [] {  seconds }

    where:

    • seconds is an object of type java.lang.Integer that specifies:

      The transaction duration in seconds qualifier.

    SignatureString [] { "java.lang.Integer" }
    Returns class