tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Michel MAISONNAVE" <jeanmichel.maisonn...@capgemini.com>
Subject worker.domain directive
Date Mon, 06 Jun 2005 13:19:26 GMT

Hi
i dont manage to use domain directive in order to implement this technical arhcitecture:


In my Dev environment, I have 2 server. In each server, I installed one instance of Apache
and 2 instances of Tomcat.

A_01 is linked with T_01 and T_O3.
A_02 is linked with T_02 and T_O4
T_01 and T_02 are in the first server.
T_03 and T_04 are in the second server.

Here is my workers.properties:

# Define workers
worker.list=LB

# Set properties for LB (lb)
worker.LB.type=lb
worker.LB.balance_workers=A_01_T_01,A_01_T_03,A_02_T_02,A_02_T_04
worker.LB.sticky_session=true

# Set properties for A_01_T_01 (ajp13)
worker.A_01_T_01.domain=xxxxx
worker.A_01_T_01.type=ajp13
worker.A_01_T_01.host=128.1.21.51
worker.A_01_T_01.port=8009
worker.A_01_T_01.lbfactor=50
worker.A_01_T_01.cachesize=10
worker.A_01_T_01.cache_timeout=600
worker.A_01_T_01.socket_keepalive=1
worker.A_01_T_01.reclycle_timeout=300

# Set properties for A_01_T_03 (ajp13)
worker.A_01_T_03.domain=xxxxx
worker.A_01_T_03.type=ajp13
worker.A_01_T_03.host=128.1.21.52
worker.A_01_T_03.port=8009
worker.A_01_T_03.lbfactor=50
worker.A_01_T_03.cachesize=10
worker.A_01_T_03.cache_timeout=600
worker.A_01_T_03.socket_keepalive=1
worker.A_01_T_03.reclycle_timeout=300

# Set properties for A_02_T_02 (ajp13)
worker.A_02_T_02.domain=xxxxx
worker.A_02_T_02.type=ajp13
worker.A_02_T_02.host=128.1.21.51
worker.A_02_T_02.port=9009
worker.A_02_T_02.lbfactor=50
worker.A_02_T_02.cachesize=10
worker.A_02_T_02.cache_timeout=600
worker.A_02_T_02.socket_keepalive=1
worker.A_02_T_02.reclycle_timeout=300

# Set properties for A_02_T_04 (ajp13)
worker.A_02_T_04.domain=xxxxx
worker.A_02_T_04.type=ajp13
worker.A_02_T_04.host=128.1.21.52
worker.A_02_T_04.port=9009
worker.A_02_T_04.lbfactor=50
worker.A_02_T_04.cachesize=10
worker.A_02_T_04.cache_timeout=600
worker.A_02_T_04.socket_keepalive=1
worker.A_02_T_04.reclycle_timeout=300


I dont know what kind of information i must write in domain directive.
Somebody could help me?



This message contains information that may be privileged or confidential and is the property
of the Capgemini Group. It is intended only for the person to whom it is addressed. If you
are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,
 distribute, or use this message or any part thereof. If you receive this  message in error,
please notify the sender immediately and delete all  copies of this message.

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message