~ubuntu-branches/ubuntu/utopic/jetty/utopic-proposed

« back to all changes in this revision

Viewing changes to examples/test-jndi-webapp/src/templates/jta.properties

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2009-08-09 08:48:10 UTC
  • Revision ID: james.westby@ubuntu.com-20090809084810-k522b97ind2robyd
ImportĀ upstreamĀ versionĀ 6.1.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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;
 
4
 
 
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
 
9
#
 
10
com.atomikos.icatch.service=com.atomikos.icatch.standalone.UserTransactionServiceFactory
 
11
#
 
12
#Use the service below for TransactionsRMI
 
13
#
 
14
#com.atomikos.icatch.service=com.atomikos.icatch.trmi.UserTransactionServiceFactory
 
15
            
 
16
#Set base name of file where messages are output 
 
17
#(also known as the 'console file').
 
18
#
 
19
#com.atomikos.icatch.console_file_name = tm.out
 
20
 
 
21
#Size limit (in bytes) for the console file;
 
22
#negative means unlimited.
 
23
#
 
24
#com.atomikos.icatch.console_file_limit=-1
 
25
 
 
26
#For size-limited console files, this option
 
27
#specifies a number of rotating files to 
 
28
#maintain.
 
29
#
 
30
#com.atomikos.icatch.console_file_count=1
 
31
 
 
32
#Set the number of log writes between checkpoints
 
33
#
 
34
#com.atomikos.icatch.checkpoint_interval=500
 
35
 
 
36
#Set output directory where console file and other files are to be put
 
37
#make sure this directory exists!
 
38
#
 
39
com.atomikos.icatch.output_dir = @JAVA_TMP_DIR@
 
40
 
 
41
#Set directory of log files; make sure this directory exists!
 
42
#
 
43
com.atomikos.icatch.log_base_dir = @JAVA_TMP_DIR@
 
44
 
 
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
 
48
#
 
49
#com.atomikos.icatch.log_base_name = tmlog
 
50
 
 
51
#Set the max number of active local transactions 
 
52
#or -1 for unlimited. Note: this may be overridden
 
53
#by your license!
 
54
#
 
55
#com.atomikos.icatch.max_actives = 50
 
56
 
 
57
#Set the max timeout (in milliseconds) for local transactions
 
58
#
 
59
#com.atomikos.icatch.max_timeout = 60000
 
60
 
 
61
#The globally unique name of this transaction manager process
 
62
#override this value with a globally unique name
 
63
#
 
64
#com.atomikos.icatch.tm_unique_name = tm
 
65
        
 
66
#Do we want to use parallel subtransactions? JTA's default
 
67
#is NO for J2EE compatibility
 
68
#
 
69
#com.atomikos.icatch.serial_jta_transactions=true
 
70
                    
 
71
#If you want to do explicit resource registration then
 
72
#you need to set this value to false.
 
73
#
 
74
#com.atomikos.icatch.automatic_resource_registration=true  
 
75
        
 
76
#Set this to WARN, INFO or DEBUG to control the granularity
 
77
#of output to the console file.
 
78
#
 
79
#com.atomikos.icatch.console_log_level=WARN
 
80
        
 
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!
 
85
#
 
86
#com.atomikos.icatch.enable_logging=true
 
87
 
 
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.
 
92
 
 
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.
 
99
#
 
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
 
103
 
 
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.
 
111
#
 
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
 
115
 
 
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.
 
120
#
 
121
#com.atomikos.icatch.trust_client_tm=false
 
122
 
 
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.
 
132
#
 
133
#com.atomikos.icatch.client_demarcation=false