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
- The current working directory.
- The home directory of the executing user.
- The
CLASSPATH
, by means of thegetResource
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.