Transaction-manager

From CauchoWiki

Jump to: navigation, search


The <transaction-manager> directive configures the distributed transaction manager.

directivedescription
<transaction-log>configures the transaction log

[edit] transaction-log

tagdescription
pathpath to the transaction log

The transaction log saves the state of every transaction handled by the transaction manager. It is configured as part of <transaction-manager>. In the case of an unexpected or unclean server shutdown, Resin will use the transaction log to properly rollback uncompleted transactions in the database.

[edit] example

<resin xmlns="http://caucho.com/ns/resin">

    <transaction-manager>
        <transaction-log>
           <path>xalog/xa.log</path>
        </transaction-log>
    </transaction-manager>

   ....
</resin>
Personal tools