1
#SAMPLE PROPERTIES FILE FOR THE TRANSACTION SERVICE
2
#THIS FILE ILLUSTRATES THE DIFFERENT SETTINGS FOR THE TRANSACTION MANAGER
3
#UNCOMMENT THE ASSIGNMENTS TO OVERRIDE DEFAULT VALUES;
5
#different implementations of our JTA exists;
6
#this property indicates which one you use.
7
#NOTE: there is no default for this, so it MUST be specified!
8
#value below is for TransactionsJTA
10
com.atomikos.icatch.service=com.atomikos.icatch.standalone.UserTransactionServiceFactory
12
#Use the service below for TransactionsRMI
14
#com.atomikos.icatch.service=com.atomikos.icatch.trmi.UserTransactionServiceFactory
16
#Set base name of file where messages are output
17
#(also known as the 'console file').
19
#com.atomikos.icatch.console_file_name = tm.out
21
#Size limit (in bytes) for the console file;
22
#negative means unlimited.
24
#com.atomikos.icatch.console_file_limit=-1
26
#For size-limited console files, this option
27
#specifies a number of rotating files to
30
#com.atomikos.icatch.console_file_count=1
32
#Set the number of log writes between checkpoints
34
#com.atomikos.icatch.checkpoint_interval=500
36
#Set output directory where console file and other files are to be put
37
#make sure this directory exists!
39
com.atomikos.icatch.output_dir = @JAVA_TMP_DIR@
41
#Set directory of log files; make sure this directory exists!
43
com.atomikos.icatch.log_base_dir = @JAVA_TMP_DIR@
45
#Set base name of log file
46
#this name will be used as the first part of
47
#the system-generated log file name
49
#com.atomikos.icatch.log_base_name = tmlog
51
#Set the max number of active local transactions
52
#or -1 for unlimited. Note: this may be overridden
55
#com.atomikos.icatch.max_actives = 50
57
#Set the max timeout (in milliseconds) for local transactions
59
#com.atomikos.icatch.max_timeout = 60000
61
#The globally unique name of this transaction manager process
62
#override this value with a globally unique name
64
#com.atomikos.icatch.tm_unique_name = tm
66
#Do we want to use parallel subtransactions? JTA's default
67
#is NO for J2EE compatibility
69
#com.atomikos.icatch.serial_jta_transactions=true
71
#If you want to do explicit resource registration then
72
#you need to set this value to false.
74
#com.atomikos.icatch.automatic_resource_registration=true
76
#Set this to WARN, INFO or DEBUG to control the granularity
77
#of output to the console file.
79
#com.atomikos.icatch.console_log_level=WARN
81
#Do you want transaction logging to be enabled or not?
82
#If set to false, then no logging overhead will be done
83
#at the risk of losing data after restart or crash.
84
#Note: this setting may be overridden depending on your license!
86
#com.atomikos.icatch.enable_logging=true
88
#The last part of this file contains specific TransactionsRMI settings
89
#used for the binding of transaction stubs and the lookup of the
90
#transaction service across a network. Uncomment to take effect.
91
#Important: you need to choose between JRMP and IIOP settings.
93
#TransactionsRMI with RMI-JRMP (native RMI) settings.
94
#NOTE: you need to start the RMI registry first, with transactions_X_YZ.jar
95
#in the classpath, or it will not work. Example:type 'rmiregistry' in a
96
#command shell. Don't forget to have transactions_X_YZ.jar in the classpath!
97
#Uncomment the following 3 lines to make the settings effective.
98
#Also, replace localhost with the real IP address of your server.
100
#com.atomikos.icatch.rmi_export_class=UnicastRemoteObject
101
#java.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContextFactory
102
#java.naming.provider.url=rmi://localhost:1099
104
#TransactionsRMI with RMI-IIOP (CORBA) settings.
105
#Don't use this if you already uncommented the RMI-JRMP settings above!
106
#NOTE: you need to start the COSNaming service first, with transactions_X_YZ.jar
107
#in the classpath, or it will not work. Example: type 'tnameserv -ORBInitialPort 1050'
108
#in a command shell. Don't forget to have transactions_X_YZ.jar in the classpath!
109
#Uncomment the following 3 lines to make the settings effective.
110
#Also, replace localhost with the real IP address of your server.
112
#com.atomikos.icatch.rmi_export_class=PortableRemoteObject
113
#java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory
114
#java.naming.provider.url=iiop://localhost:1050
116
#For TransactionsRMI: do we trust a client's transaction manager
117
#when it tells us to forget heuristic problem transactions?
118
#Setting this to true enables more automated administration,
119
#but implies more trust in the client system.
121
#com.atomikos.icatch.trust_client_tm=false
123
#Do we want the UserTransaction to be available remotely
124
#in other VMs? Default is not. If you set this to
125
#true then you must also set the JNDI initial
126
#context factory and provider URL, and start the naming
127
#service first. These are used
128
#by the UserTransaction internally, to contact the
129
#transaction service. You are still required to
130
#make the UserTransaction available by binding
131
#it in a JNDI environment of your own.
133
#com.atomikos.icatch.client_demarcation=false