开发者

Tomcat Cluster problem -session timeed out -in load balancing

I am having two tomcat instances in cluster mode;load-balancing enabled with apache using mod_jk. What i see is - load balancing is happening properly but the session doesn't get replicated. In case one node goes down then users attached to that node get session time out.

I have the default deltamanager setting also the sticky_session flag is set to 1 in workers properties file.

Could somebody help me to diagnose this prob开发者_如何学JAVAlem.

Thanks in advance. Deepak


When I have previously run into this and most other issues with Tomcat clustering it was a mis-configuration issue.

The default ports that need to be open are: 45564 4000

Also check that your server.xml configuration lists the IP of the server instead of "auto". We also ran into issues with Tomcat only binding to the localhost/127.0.0.1 and not the assigned IP address.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜