Transaction-manager

From Resin 3.0

Revision as of 12:23, 21 February 2006 by Sam (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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

directive description
<transaction-log> configures the transaction log

transaction-log

tag description
path path 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.

example

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

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

   ....
</resin>
Personal tools