2.2. Setting Properties

JBoss Transaction Service is configurable at runtime through the use of various property attributes, which are described in subsequent sections. You can provide these attributes at run-time on the command line. However, it often more convenient to specify them through the jbossts-properties.xml, which may be in any of the locations mentioned, in search order, in Possible Locations of the jbossts-properties.xml File. properties file.

Possible Locations of the jbossts-properties.xml File

  1. The current working directory.
  2. The home directory of the executing user.
  3. The CLASSPATH, by means of the getResource method.
If the properties file is found, all entries within it added to the system properties, and override the defaults. You can also specify other properties not specific to the Transaction Service.