I am trying to create load balancing tomcat with apache server. I have done following things to achieve my goal.
1) I have created primary tomcat and backup tomcat.
2) Both are running simultaneously.
3) If primary is tomcat down then I can able to access my application from the backup tomcat.
4) But the existing application session values and data are not available.
While switching over from primary tomcat to backup tomcat I should maintain the session and data in backup tomcat also.
I tried few ways but that is not useful for me. Please guide me how to do that.
Thanks and Regards,
Suresh Kumar K
[ UD: Removed question unrelated to Tomcat. Please UseOneThreadPerQuestion