urn:jboss:domain:transactions:5.0

subsystem

The configuration of the transactions subsystem.

core-environment

The core environment configuration. The process-id element specifies the process id implemention. The "node-identifier" attribute is used to set the node identifier on the core environment.
NameTypeDefaultDescription
node-identifierstring1

process-id

The process identifer implementation The "node-identifier" attribute is used to set the node identifier on the core environment. The "socket-process-id-max-ports" attribute is used to set the max ports on the core environment.

uuid

The UUID based process identifer implementation

socket

The socket based process identifer implementation The "socket-binding" attribute is used to specify the port to bind to. The "socket-process-id-max-ports" attribute is used to set the max ports on the core environment.
NameTypeDefaultDescription
socket-bindingstring
socket-process-id-max-portsint10

recovery-environment

The recovery environment configuration. The "socket-binding" attribute is used to reference the correct socket binding to use for the recovery environment. The "status-socket-binding" attribute is used to reference the correct socket binding to use for the transaction status manager. The "recovery-listener" attribute sets if recovery system should listen on a network socket or not.
NameTypeDefaultDescription
socket-bindingstring
status-socket-bindingstring
recovery-listenerbooleanfalse

coordinator-environment?

The coordinator environment configuration. statistics-enabled - if recording of transaction statistics is enabled, false otherwise. enable-tsm-status - if the transaction status manager (TSM) service, needed for out of process recovery, should be provided or not. default-timeout - the default transaction lifetime, in seconds. maximum-timeout - the maximum transaction lifetime, in seconds.
NameTypeDefaultDescription
statistics-enabledbooleanfalse
enable-statisticsbooleanfalse Deprecated. Use statistics-enabled.
enable-tsm-statusbooleanfalse
default-timeoutint300
maximum-timeoutint31536000

object-store?

The object store configuration. The "path" attribute denotes a relative or absolute filesystem path denoting where the transaction manager object store should store data. The "relative-to" attribute references a global path configuration in the domain model, defaulting to the JBoss Application Server data directory (jboss.server.data.dir). If the value of the "path" attribute does not specify an absolute pathname, it will treated as relative to this path.
NameTypeDefaultDescription
pathstringtx-object-store
relative-tostring

jts?

The flag to enable JTS.

use-journal-store?

The flag to enable the journal transaction log store.
NameTypeDefaultDescription
enable-async-iobooleanfalse Enable AsyncIO for the journal transaction log store.

jdbc-store?

The presence of this tag enable the jdbc transaction log store.
NameTypeDefaultDescription
datasource-jndi-namestring Configure datasource jndi used to connect for jdbc store

action?

Configure jdbc store for default action store. If not present defaults are used.

Settings for jdbc store
NameTypeDefaultDescription
table-prefixstring
drop-tablebooleanfalse

communication?

Configure jdbc store for communication store. If not present defaults are used.

Settings for jdbc store
NameTypeDefaultDescription
table-prefixstring
drop-tablebooleanfalse

state?

Configure jdbc store for state store. If not present defaults are used.

Settings for jdbc store
NameTypeDefaultDescription
table-prefixstring
drop-tablebooleanfalse

commit-markable-resources?

A list of non XA aware datasources that can reliably participate in an XA transaction.

commit-markable-resource

Settings for a single commit markable resource. Each datasource must be defined in the datasources subsystem configuration and each one must be marked with the connectable="true" attribute.
NameTypeDefaultDescription
jndi-nametoken

xid-location?

Storage settings for a single commit markable resource. For datasource resources this will specifiy the table name where the xid of the commit-markable-resource is stored
NameTypeDefaultDescription
nametokenxids A name for the storage location
immediate-cleanupbooleantrue Indicates whether the entry should be removed as soon as the transaction has completed
batch-sizeinteger100 If deletion of entries are deferred to the recovery module (ie immediate-cleanup is set to false) then the batch size specifies how many xids to remove per DML statement. Tuning the batch size is resource manager specific.
Expand/Collapse All