Merge "Change PTL informatin in INFO"
[bottlenecks.git] / testsuites / rubbos / rubbos_scripts / 1-1-1 / apache_conf / workers.properties_template
1
2 # workers.properties -
3 #
4 # This file provides jk derived plugins with the needed information to
5 # connect to the different tomcat workers.  Note that the distributed
6 # version of this file requires modification before it is usable by a
7 # plugin.
8 #
9 # As a general note, the characters $( and ) are used internally to define
10 # macros. Do not use them in your own configuration!!!
11 #
12 # Whenever you see a set of lines such as:
13 # x=value
14 # y=$(x)\something
15 #
16 # the final value for y will be value\something
17 #
18 # Normaly all you will need to do is un-comment and modify the first three
19 # properties, i.e. workers.tomcat_home, workers.java_home and ps.
20 # Most of the configuration is derived from these.
21 #
22 # When you are done updating workers.tomcat_home, workers.java_home and ps
23 # you should have 3 workers configured:
24 #
25 # - An ajp12 worker that connects to localhost:8007
26 # - An ajp13 worker that connects to localhost:8009
27 # - A jni inprocess worker.
28 # - A load balancer worker
29 #
30 # However by default the plugins will only use the ajp12 worker. To have
31 # the plugins use other workers you should modify the worker.list property.
32 #
33 #
34
35 # OPTIONS ( very important for jni mode ) 
36
37 #
38 # workers.tomcat_home should point to the location where you
39 # installed tomcat. This is where you have your conf, webapps and lib
40 # directories.
41 #
42 #workers.tomcat_home=/mnt/elba/rubbos/apache-tomcat-5.5.17
43 workers.tomcat_home=/bottlenecks/rubbos/app/apache-tomcat-5.5.17
44
45 #
46 # workers.java_home should point to your Java installation. Normally
47 # you should have a bin and lib directories beneath it.
48 #
49 #workers.java_home=/mnt/elba/rubbos/jdk1.6.0_27
50 workers.java_home=/bottlenecks/rubbos/app/jdk1.6.0_27
51
52 #
53 # You should configure your environment slash... ps=\ on NT and / on UNIX
54 # and maybe something different elsewhere.
55 #
56 ps=/
57
58 #
59 #------ ADVANCED MODE ------------------------------------------------
60 #---------------------------------------------------------------------
61 #
62
63 #
64 #------ DEFAULT worket list ------------------------------------------
65 #---------------------------------------------------------------------
66 #
67 #
68 # The workers that your plugins should create and work with
69 #
70 # Add 'inprocess' if you want JNI connector
71 worker.list=worker1
72 # , inprocess
73
74
75 worker.TOMCAT1.port=8009
76 worker.TOMCAT1.host=REPLACE_TOMCAT1_HOST
77 worker.TOMCAT1.type=ajp13
78 worker.TOMCAT1.lbfactor=1
79
80
81 #
82 #------ DEFAULT ajp12 WORKER DEFINITION ------------------------------
83 #---------------------------------------------------------------------
84 #
85
86 #
87 # Defining a worker named ajp12 and of type ajp12
88 # Note that the name and the type do not have to match.
89 #
90 #worker.ajp12.port=8007
91 #worker.ajp12.host=localhost
92 #worker.ajp12.type=ajp12
93 #
94 # Specifies the load balance factor when used with
95 # a load balancing worker.
96 # Note:
97 #  ----> lbfactor must be > 0
98 #  ----> Low lbfactor means less work done by the worker.
99 #worker.ajp12.lbfactor=1
100
101 #
102 #------ DEFAULT ajp13 WORKER DEFINITION ------------------------------
103 #---------------------------------------------------------------------
104 #
105
106 #
107 # Defining a worker named ajp13 and of type ajp13
108 # Note that the name and the type do not have to match.
109 #
110 #worker.ajp13.port=8009
111 #worker.ajp13.host=node60.rubbostest.Infosphere.emulab.net
112 #worker.ajp13.type=ajp13
113 #
114 # Specifies the load balance factor when used with
115 # a load balancing worker.
116 # Note:
117 #  ----> lbfactor must be > 0
118 #  ----> Low lbfactor means less work done by the worker.
119 #worker.ajp13.lbfactor=1
120
121 #
122 # Specify the size of the open connection cache.
123 #worker.ajp13.cachesize
124
125 #
126 #------ DEFAULT LOAD BALANCER WORKER DEFINITION ----------------------
127 #---------------------------------------------------------------------
128 #
129
130 #
131 # The router (type lb) workers perform wighted round-robin
132 # load balancing with sticky sessions.
133 # Note:
134 #  ----> If a worker dies, the load balancer will check its state
135 #        once in a while. Until then all work is redirected to peer
136 #        workers.
137 worker.worker1.type=lb
138 worker.worker1.balance_workers=TOMCAT1
139 worker.worker1.sticky_session=True
140 worker.worker1.method=Session
141
142 #
143 #------ DEFAULT JNI WORKER DEFINITION---------------------------------
144 #---------------------------------------------------------------------
145 #
146
147 #
148 # Defining a worker named inprocess and of type jni
149 # Note that the name and the type do not have to match.
150 #
151 worker.inprocess.type=jni
152
153 #
154 #------ CLASSPATH DEFINITION -----------------------------------------
155 #---------------------------------------------------------------------
156 #
157
158 #
159 # Additional class path components.
160 #
161 worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
162
163 #
164 # Setting the command line for tomcat. 
165 # Note: The cmd_line string may not contain spaces.
166 #
167 worker.inprocess.cmd_line=start
168
169 # Not needed, but can be customized.
170 #worker.inprocess.cmd_line=-config
171 #worker.inprocess.cmd_line=$(workers.tomcat_home)$(ps)conf$(ps)server.xml
172 #worker.inprocess.cmd_line=-home
173 #worker.inprocess.cmd_line=$(workers.tomcat_home)
174
175 #
176 # The JVM that we are about to use
177 #
178 # This is for Java2
179 #
180 # Windows
181 #worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll
182 # IBM JDK1.3 
183 #worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)libjvm.so
184 # Unix - Sun VM or blackdown
185 #worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)classic$(ps)libjvm.so
186 worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)server$(ps)libjvm.so
187
188 #
189 # And this is for jdk1.1.X
190 #
191 #worker.inprocess.jvm_lib=$(workers.java_home)$(ps)bin$(ps)javai.dll
192
193
194 #
195 # Setting the place for the stdout and stderr of tomcat
196 #
197 worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
198 worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
199
200 #
201 # Setting the tomcat.home Java property
202 #
203 #worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home)
204
205 #
206 # Java system properties
207 #
208 # worker.inprocess.sysprops=java.compiler=NONE
209 # worker.inprocess.sysprops=myprop=mypropvalue
210
211 #
212 # Additional path components.
213 #
214 # worker.inprocess.ld_path=d:$(ps)SQLLIB$(ps)bin
215 #