--0-1778151907-1269941750=:56272
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi all,
We have 4 Jboss AS which are load-balanced via Apache Http Server with mod_=
jk 1.2.28.
If a request from client comes, this will be forward to one of the JBoss in=
stance assumed JB1. A session is built and began in JB1 with a session-id. =
All the requests and responses after that will be kept in this session till=
the client close it.
But sometimes the connection btw. Apache and JB1 is brocken and if a reques=
t comes the Apache send this to another JB-instance assumed JB3. Since the =
session-id is not began by JB3, therefore JB3 throws an exception in the se=
rver.log "NoSuchConversationException". One can find the session-id which b=
egan in Jb1 in Jb3 server.log.
I am not sure if our parameters in workers.properties are correct? Or shoul=
d we use additionally clustering in Jboss.
Regards
Thomas
The parameters in the workers.properties look as follow:
....
###################################
#=A0 3. Define the Template
###################################
worker.template.connection_pool_timeout=3D300
worker.template.socket_timeout=3D60
worker.template.socket_connect_timeout=3D60000
worker.template.socket_keepalive=3DTrue
worker.template.lbfactor=3D1
worker.template.type=3Dajp13
worker.template.ping_timeout=3D10000
worker.template.ping_mode=3DA
worker.template.retries=3D2
worker.template.activation=3DA
worker.template.recovery_options=3D7
....
###################################
#=A0 4.1 Set properties for worker_monther. If you have more than one worke=
r_son, just separate them with ','.
#=A0=A0=A0=A0=A0 And you have to set the properties similar to 3.1.1.
###################################
#Load balancer for appl-icf.proactiv.de
worker.worker1.balance_workers=3Djb1,jb2,jb3,jb4
worker.worker1.sticky_session=3DTrue
worker.worker1.type=3Dlb
worker.worker1.error_escalation_time=3D0
###################################
#=A0 4.1.1 Set the properties for worker_son.
###################################
worker.jb1.reference=3Dworker.template
worker.jb1.port=3D8009
worker.jb1.host=3Dappl1-web.mycom.com
....
On the Jboss AS site the jvm parameter look as follow:
....
<Connector port=3D"8009" address=3D"${jboss.bind.address}" protocol=3D"AJP/=
1.3"
=A0=A0=A0 useBodyEncodingForURI=3D"true"
=A0=A0=A0=A0=A0=A0=A0=A0 emptySessionPath=3D"false" enableLookups=3D"false"=
redirectPort=3D"8443"
=A0=A0=A0=A0=A0=A0=A0=A0 maxThreads=3D"400"
=A0=A0=A0=A0=A0=A0=A0=A0 minSpareThreads=3D"25"
=A0=A0=A0=A0=A0=A0=A0=A0 maxSpareThreads=3D"75"
=A0=A0=A0=A0=A0=A0=A0=A0 acceptCount=3D"100"
=A0=A0=A0 =A0connectionTimeout=3D"300000" />
....
=0A=0A__________________________________________________=0AD o You Yahoo!?=
=0ASie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Sc=
hutz gegen Massenmails. =0Ahttp://mail.yahoo.com
--0-1778151907-1269941750=:56272
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" ><tr><td valign=3D"=
top" style=3D"font: inherit;">Hi all,<br><br>We have 4 Jboss AS which are l=
oad-balanced via Apache Http Server with mod_jk 1.2.28. <br><br>If a reques=
t from client comes, this will be forward to one of the JBoss instance assu=
med JB1. A session is built and began in JB1 with a session-id. All the req=
uests and responses after that will be kept in this session till the client=
close it.<br><br>But sometimes the connection btw. Apache and JB1 is brock=
en and if a request comes the Apache send this to another JB-instance assum=
ed JB3. Since the session-id is not began by JB3, therefore JB3 throws an e=
xception in the server.log "NoSuchConversationException". One can find the =
session-id which began in Jb1 in Jb3 server.log.<br><br>I am not sure if ou=
r parameters in workers.properties are correct? Or should we use additional=
ly clustering in
Jboss.<br><br>Regards<br><br>Thomas<br><br><br><br><br><br>The parameters =
in the workers.properties look as follow:<br><br>...<br>###################=
################<br># 3. Define the Template<br>#####################=
##############<br>worker.template.connection_pool_timeout=3D300<br>worker.t=
emplate.socket_timeout=3D60<br>worker.template.socket_connect_timeout=3D600=
00<br>worker.template.socket_keepalive=3DTrue<br>worker.template.lbfactor=
=3D1<br>worker.template.type=3Dajp13<br>worker.template.ping_timeout=3D1000=
0<br>worker.template.ping_mode=3DA<br>worker.template.retries=3D2<br>worker=
..template.activation=3DA<br>worker.template.recovery_options=3D7<br>...<br>=
<br>###################################<br># 4.1 Set properties for w=
orker_monther. If you have more than one worker_son, just separate them wit=
h ','.<br># And you have to set the propertie=
s similar to 3.1.1.<br>###################################<br>#Load balance=
r for
appl-icf.proactiv.de<br>worker.worker1.balance_workers=3Djb1,jb2,jb3,jb4<b=
r>worker.worker1.sticky_session=3DTrue<br>worker.worker1.type=3Dlb<br>worke=
r.worker1.error_escalation_time=3D0<br><br>################################=
###<br># 4.1.1 Set the properties for worker_son.<br>################=
###################<br>worker.jb1.reference=3Dworker.template<br>worker.jb1=
..port=3D8009<br>worker.jb1.host=3Dappl1-web.mycom.com<br>...<br><br><br>On =
the Jboss AS site the jvm parameter look as follow:<br><br>...<br><Conne=
ctor port=3D"8009" address=3D"${jboss.bind.address}" protocol=3D"AJP/1.3"<b=
r> useBodyEncodingForURI=3D"true"<br> &n=
bsp; emptySessionPath=3D"false" enableLookups=3D"fa=
lse" redirectPort=3D"8443" <br> &n=
bsp; maxThreads=3D"400" <br>  =
; minSpareThreads=3D"25" <br> &nbs=
p; maxSpareThreads=3D"75"
<br> acceptCount=3D"100"<b=
r> connectionTimeout=3D"300000" /><br>...<br><br=
><br><br><br><br></td></tr></table><br>____________________________________=
______________<br>Do You Yahoo!?<br>Sie sind Spam leid? Yahoo! Mail verfü=
gt über einen herausragenden Schutz gegen Massenmails. <br>http://mail.ya=
hoo.com
--0-1778151907-1269941750=:56272--
