summaryrefslogtreecommitdiffstats
path: root/testsuites/rubbos/puppet_manifests/modules/rubbos_httpd/files/apache_conf/workers.properties
blob: cdf0a783cf95fc8f06aff70dbc66afa5094f2318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#############################################################################
# Copyright (c) 2016 Huawei Technologies Co.,Ltd and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################


# workers.properties
#
# This file provides jk derived plugins with the needed information to
# connect to the different tomcat workers.  Note that the distributed
# version of this file requires modification before it is usable by a
# plugin.
#

# workers.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
workers.tomcat_home=REPLACED_RUBBOS_APP_TOOLS/apache-tomcat-5.5.17

# workers.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
workers.java_home=REPLACED_RUBBOS_APP_TOOLS/jdk1.6.0_27

# You should configure your environment slash... ps=\ on NT and / on UNIX
# and maybe something different elsewhere.
ps=/


# The workers that your plugins should create and work with
worker.list=worker1

# Here, it can be declared multiple session handlers, such as s1, s2
REPLACED_HANDLERS_DETAILS
# examples:
#worker.s1.port=8009
#worker.s1.host=btnks-2
#worker.s1.type=ajp13
#worker.s1.lbfactor=1

worker.worker1.type=lb
worker.worker1.balance_workers=REPLACED_HANDLERS
# example:
#worker.worker1.balance_workers=s1
worker.worker1.sticky_session=True
worker.worker1.method=Session

# Defining a worker named inprocess and of type jni
# Note that the name and the type do not have to match.
worker.inprocess.type=jni

# Additional class path components.
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar

# Setting the command line for tomcat.
# Note: The cmd_line string may not contain spaces.
worker.inprocess.cmd_line=start

worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)server$(ps)libjvm.so
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr