Re: Tomcat simple tcp cluster doesn't work on switching browser

2015-11-22 Thread Amit Rawat
Hi, I tried to see if the connection between two tomcats is working correctly & took a netstat with the receiver port(4010) of tomcat 2 & process id(13437) of tomcat 1 which gives the following. netstat -anp | grep 4010 | grep 192.168.x.x:4010 | grep 13437/java tcp0580 :::192.168.x

Re: Tomcat simple tcp cluster doesn't work on switching browser

2015-11-17 Thread Amit Rawat
Hi Chris, It might seem that both are going to SERVER-1 because I have set the jvmRoute for both instances of tomcat is set to SERVER-1. I had started with setting different jvmRoute for both and I faced the same issue . Then I tried setting them the same since I thought jvmRoute should be unique

Re: Tomcat simple tcp cluster doesn't work on switching browser

2015-11-16 Thread Christopher Schultz
Amit, On 11/16/15 7:21 AM, Amit Rawat wrote: > Thanks for the reply. I understand that on changing browsers, a new > session would need to be established & that is indeed what I do . On > changing browsers , I login again , creating a new session . > As can be seen in the logs I pasted on stack ov

Re: Tomcat simple tcp cluster doesn't work on switching browser

2015-11-16 Thread Amit Rawat
Hi André, Thanks for the reply. I understand that on changing browsers, a new session would need to be established & that is indeed what I do . On changing browsers , I login again , creating a new session . As can be seen in the logs I pasted on stack overflow : New Session ::: 6003A09956987A2035

Re: Tomcat simple tcp cluster doesn't work on switching browser

2015-11-16 Thread tomcat
On 16.11.2015 11:36, Amit Rawat wrote: Hi, I'm observing some strange behaviour between two instances of apache-tomcat-7.0.41 running on the same server. Sessions are shared between the servers on multiple logins/logouts on the same browser , but when i switch browsers , the session sharing

Tomcat simple tcp cluster doesn't work on switching browser

2015-11-16 Thread Amit Rawat
Hi, I'm observing some strange behaviour between two instances of apache-tomcat-7.0.41 running on the same server. Sessions are shared between the servers on multiple logins/logouts on the same browser , but when i switch browsers , the session sharing stops . I have posted a question on sta