Hi

Can some body suggest me any thin missing in here...

I have 2  independent Tomcats clustered


The Apache Configurations is as given

httpd.conf
---------------------------------------------
LoadModule     jk_module modules/mod_jk.so
JkWorkersFile  conf/workers.properties
JkLogFile         logs/mod_jk.log
JkLogLevel      info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkRequestLogFormat "%w %V %T"

#LBTEST
JkMount / node01
JkMount /* node01
JkMount / node02
JkMount /* node02

----------------------------------------------


workers.properties
----------------------------------------------
workers.java_home=D:/JAVA/JDK163

ps=/
# Define 1 real worker using ajp13
# Each Tomcat Inclusion as a new worker
worker.list=node01,node02

worker.node01.type=ajp13
worker.node01.host=10.10.16.63
worker.node01.port=8009 worker.node01.lbfactor=1

worker.node02.type=ajp13
worker.node02.host=10.10.16.63
worker.node02.port=8010 worker.node02.lbfactor=1


##################### Load Balance #####################
worker.balancer.type=lb
worker.balancer.method=B
worker.balancer.sticky_session=true
worker.balancer.balanced_workers=node01,node02

----------------------------------------------------------------------------

Tomcat 1   Server.xml

<!-- You should set jvmRoute to support load-balancing via AJP ie : -->
<Engine name="Standalone" defaultHost="localhost" jvmRoute="node01" >
<!-- Define the top level container in our container hierarchy -->
<!-- <Engine name="Catalina" defaultHost="localhost" > -->


Tomcat 2   Server.xml

<!-- You should set jvmRoute to support load-balancing via AJP ie : -->
<Engine name="Standalone" defaultHost="localhost" jvmRoute="node02" >
<!-- Define the top level container in our container hierarchy -->
<!-- <Engine name="Catalina" defaultHost="localhost" > -->


Question : For Load balancing ,when 1st Tomcat is shutdown, The Session is not transfered to the 2nd Tomcat.


Spec
Tomcat 1 = 5.5.23
Tomcat 2 =  5.5.23
Jsdk     = 1.6
O/s  Win2000














---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to