How to check if session replication is actually working between jboss eap servers

Pulkit Gupta <[email protected]> Fri, 7 Oct 2016 11:27:17 +0530
Newsgroups gmane.comp.java.jboss.user
Message-ID <CAApADD2HsVqr7QukVo9DJRDqe-+xnjdRAbPGOYLUj7w18CTyHw@mail.gmail.com>
--===============6134189985992048728==
Content-Type: multipart/alternative; boundary=047d7bb04a2a934411053e401713

--047d7bb04a2a934411053e401713
Content-Type: text/plain; charset=UTF-8

Hi Team,

I have recently started working on Jboss clustering.
I am facing an issue with user logins and session experience and want to
check if the session replication is indeed working.

I am running 2 Jboss EAP6 servers behind a LB. I have added distributable
tag in my web.xml.
Once I am accessing my application I checked the session id ,mentioned in
the cookie set at the client.

Using this session id I checked the server log but I can see that this
session id logs are only present on a single host.
So I think that session is not getting replicated correctly and thence the
request are only working correctly when they are hitting the correct host
with the session created.

Is there any other better way to check if the session replication is
actually working. In case session replication is not working then how can I
correct that as well?

Any help would be highly appreciated.

Thanks!

-- 
Regards,
Pulkit

--047d7bb04a2a934411053e401713
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Team,<div><br></div><div>I have recently started workin=
g on Jboss clustering.</div><div>I am facing an issue with user logins and =
session experience and want to check if the session replication is indeed w=
orking.</div><div><br></div><div>I am running 2 Jboss EAP6 servers behind a=
 LB. I have added distributable tag in my web.xml.</div><div>Once I am acce=
ssing my application I checked the session id ,mentioned in the cookie set =
at the client.</div><div><br></div><div>Using this session id I checked the=
 server log but I can see that this session id logs are only present on a s=
ingle host.</div><div>So I think that session is not getting replicated cor=
rectly and thence the request are only working correctly when they are hitt=
ing the correct host with the session created.</div><div><br></div><div>Is =
there any other better way to check if the session replication is actually =
working. In case session replication is not working then how can I correct =
that as well?</div><div><br></div><div>Any help would be highly appreciated=
.</div><div><br></div><div>Thanks!=C2=A0<br clear=3D"all"><div><br></div>--=
 <br><div class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div=
 dir=3D"ltr"><div><div>Regards,<br></div>Pulkit<br></div></div></div>
</div></div>

--047d7bb04a2a934411053e401713--

--===============6134189985992048728==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user
--===============6134189985992048728==--