简体   繁体   English

如何在tomcat负载均衡中管理会话?

[英]how to manage the session in tomcat load balancing?

we have load balancing for the java application.but how to manage the session. 我们为Java应用程序提供了负载平衡。但是如何管理会话。 Like if user logged in and he has entered in the application.and the server which is processed the requests,has been down somehow then in load balancing load will transfer to other server.but wat happened to those who already logged into application.how we will pass the same session to the server. 就像用户登录并已进入应用程序一样,正在处理请求的服务器已宕机,然后负载平衡负载将转移到其他服务器。但是已经登录应用程序的用户却遇到了麻烦。会将相同的会话传递给服务器。 Please help me to get rid this problem with an example. 请通过示例帮助我摆脱这个问题。

您正在寻找的是会话复制

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM