Tomcat Clustering Series Part 3 : Session Replication
HTML-код
- Опубликовано: 9 фев 2025
- In this video we are going to discuss the how to setup session replication in tomcat clustering environment. Session replication makes High availability and full fail-over capability to our clustering environment
Visit : www.ramkitech.c...
Subscribe
www.youtube.com...
Website
www.ramkitech.com
Ramki on Twitter
/ ramkicse
Very well organized tutorial and very detailed. Thank you very much Mr. Ramki!
Thanks 😊
awesome explanation & walk through.. thanks a lot Ramki
Thanks :-)
Rama, thank you very much for sharing this video. Its very informative. I have a follow up question. Is it possible to use apache as workers instead of tomcat? the reason is below every worker I want to have another level of workers. If yes please point me to the documentation.
Really appreciate you that way you are presenting. I just want to know that same steps will work for tomcat9 ?
mostly working. check tomcat9 docs
Hi Ramki,
I have been watching your videos.
We have Tomcat 9 with 2 nodes and session replication does not work.
Could you please share the steps that I need to follow to set up session replication on Tomcat 9?
Excellent Tutorial RamiK. Thank you very much
Thanks :-)
HI Rama Krishnan,
very Good explanation, thank you so much.
if any video is available for Jboss clustering.
hi watched the vedio i alredy enabled the cluster by seeing the tomcat cluster documentation but some times i am getting errors like no faulty members found. while starting the tomcat instances
I have one doubt do you have any idea how to distribute the load in Autosys?
U need to add route line irrespective of ur IP address. because multicast address is class D address range. (224.0.0.0 to 239.255.255.255). so u should select this address range only.
so the route line command common for all IP address
Tomcat is definitely one of the best and easiest J2EE App Server/Container to use
compared to other products like Weblogic and Websphere. And furthermore it is free of charge unlike the 2 so-called enterprise products above that come with a ridiculous price tag to put someone into COMA.
As Working with Tomcat 9 on windows machine multiple tomcat on single machine. Not replicating session. How to debug? Will this work on windows machine . Also getting error for org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener. Class not found exception. Please do help.
r u put distributable tag inside web.xml file?
please elaborate the problem? what u did and which step is showing problem?
Hi Rama ,Firstly Thanks for the great explanation in Part One and Part Two In this Part 3 i have one doubt can you
please tell me how to enable Multicasting for Windows at 7:33
Thank you in advance
it may already enabled. download multicast java sample from Internet. verify it
ok Thank you Ram Thnaks alot :-)
Ram one doubt is if i have restful webservices deployed as war in tomcat instances and ui in apache webserver can i use the clustering from same apache webserver with all above part1 configurations?
2.)also please tell me does webservices need sticky sessions and session replication configured ?
+Dhana Shekar yes u can make static pages come from httpd and dynamic content come from tomcat. make proper rules
ok Thank you still i have some doubts Thank you once again Ram,
Rama - were you able to test session replication on tomcat version 8 clustering using mod_jk ?
i am having doubt about one line in you post
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
can u please give me a example with my ip and netmask
ip is 192.168.3.10
netmask is 255.255.255.0
whenever I am doing this not able to add tomcat server into eclipse.its showing there is no conf file.how can i resolve
good one
Thank you Rama
Great!
I search alot of videos on this cluserting concept.
No one given this much info.. Hatsoff to you sir.. Can I have your mail I'd .. To discuss something with you.
ramkicse@gmail.com
Rama, I have this configured usin Members instead multicast, but it's not runing fine. Particularly when a tomcat shut down because the machine stop running.
In that case I had some errors in log like "No route to host", bla, bla. Do you have that case as an example? A mean, using StaticMembershipInterceptor as an interceptor instead Multicast! How could I contact you? Warm regards, Marcelo
No route to host errors are coming when giving hostname for static member but network not able to connect it. check with ping. r u able to ping the hosts based on hostname or not
hi can u provide ur server.xml file. i want check ur configuration
Hi . could you send one sample server.xml file . for me always getting class not found exception while starting tomcat
github.com/ramkicse/tomcat-clustering-session-replication-/blob/master/instance-1/conf/server.xml
Thanks man much appreciated
Very GOOD
Great videos !! But still can't understand a word your saying lol
+Zarren Spry :-)
on my machines only the SessionID and attributes are replicated, but not the values. What does that mean?
Are you planning a new tutorial with Tomcat 8 ++
:-)