see corrections inline
karthikn wrote:
> 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 / balancer
> JkMount /* balancer
>
> ----------------------------------------------
>
>
> workers.properties
> ----------------------------------------------
> workers.java_home=D:/JAVA/JDK163
>
> ps=/
> # Define 1 real worker using ajp13
> # Each Tomcat Inclusion as a new worker
> worker.list=balancer
> 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@...
> To unsubscribe, e-mail:
users-unsubscribe@...
> For additional commands, e-mail:
users-help@...
>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail:
users@...
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...