Transaction-manager

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
(renamed tag to directive)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
[[Category:Configuration]]
 
[[Category:Configuration]]
  
The <transaction-manager> tag configures the distributed transaction manager.
+
The <transaction-manager> directive configures the distributed transaction manager.
  
 
{|
 
{|
!tag||description
+
!directive||description
 
|-
 
|-
 
||<[[transaction-log]]>||configures the transaction log
 
||<[[transaction-log]]>||configures the transaction log
Line 12: Line 12:
  
 
{{:transaction-log}}
 
{{:transaction-log}}
 +
 +
== example ==
 +
 +
<resin xmlns="http://caucho.com/ns/resin">
 +
 +
    <transaction-manager>
 +
        <transaction-log>
 +
            <path>xalog/xa.log</path>
 +
        </transaction-log>
 +
    </transaction-manager>
 +
 +
    ....
 +
</resin>

Latest revision as of 20:23, 21 February 2006


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