1 Reply Latest reply on Aug 17, 2012 12:15 PM by Michael Musgrove

    JBOSS AS 6.1.0 final : transaction data store issue.

    Sumeeth Tewar Newbie



      I Assume when transactions fail during the two phase commit process, on jboss as 6.1.0

      the $JBOSS_HOME/profile/data/tx-object-store/ShadowNoFileLockStore/defaultStore/StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction/*

      binary files are created.


      can some one let me know, how to convert and read these files, i need to find what transactions/applications on my server are doing these transactions.

        • 1. Re: JBOSS AS 6.1.0 final : transaction data store issue.
          Michael Musgrove Master

          We expose transaction logs as MBeans:


          You can use an MBean viewer such as jconsole and navigate to the bean with the name jboss.jta:type=ObjectStore. From there you need to run the "probe" operation which should then populate the jconsole window with nodes corresponding to the transaction logs.


          In AS7 the supported method is via the cli:


          > bin/jboss-cli.sh --connect

          > cd /subsystem=transactions/log-store=log-store

          > \:probe # colon probe (ie not an emoticon)

          > :read-resource(recursive=true)


          the probe operation exposes any prepared transactions (and the participants involved in those transactions)


          To see the documentation of what the nodes and attributes mean read the resource description (recursive=true gives you everything under the current node):


          > :read-resource-description(recursive=true)