Session replication is a mechanism used to replicate the data stored in a session across different instances.
Questions tagged [session-replication]
121 questions
2
votes
0 answers
Tomcat clustering and Session replication
I successfully configured my Apache Httpd Server (Apache 2) and Tomcat (Tomcat 7) for clustering and session replication.
I checked this by following 2 scenarios.
1. All tomcat instances are on the same machine
2. Tomcat instances are distributed…

Pankaj Shinde
- 3,361
- 2
- 35
- 44
2
votes
0 answers
Glassfish session replication not working
I'm struggling with making a simple app replicate it session. The thing is very basic. At first I've setuped two VMs to do this but with no luck so I thinked that maybe I'll do it on a single machine and so I did.
I've create a cluster with two…

almendar
- 1,823
- 13
- 23
2
votes
2 answers
Clustering with JBoss EWS 2.0
In our production environment, we're using JBoss Enterprise Web Server 2.0, which basically is a bundling of Apache HTTP Server and a slightly modified Tomcat 7. We have two nodes, on different servers, and we're trying to set up clustering with…

NilsH
- 13,705
- 4
- 41
- 59
2
votes
0 answers
Avoid loosing Session and ViewState data with Glassfish clustering in a JSF application
We are using this configuration in our clustered application :
glassfish-web.xml :

Alexandre Jacob
- 2,993
- 3
- 26
- 36
2
votes
0 answers
Gails - Hazelcast IllegalStateException on application stop
I'm trying some way to clusterize my grails application, I've found Hazelcast very interesting.
I made a little test application to try the integration with grails.
I followed the documentation on the site, to make the session replication.
I found…

rascio
- 8,968
- 19
- 68
- 108
1
vote
1 answer
Session id in Tomcat Cluster
I have a basic concept question about tomcat cluster. That is, if I have a tomcat cluster with two machines ( we say, m1 and m2 )
If I access a webpage in m1 with the url : http://192.168.0.10:8080/examples/test.jsp , I will get a session id ( we…

Kevingo Tsai
- 629
- 7
- 21
1
vote
1 answer
How to setup Tomcat Session Replication with Spring Boot embedded tomcat
I haven't been able to find any guide on how to programmatically setup tomcat session replication when using an embedded tomcat with spring boot. It was even a hard time finding out about the "tomcat-catalina-ha" dependency.
I have a working Tomcat…

Lifeweaver
- 986
- 8
- 29
1
vote
0 answers
HtmlDataTable Not Serializable
I am trying to Session repication in cluster envoirnment. After change all my backing beans to serialized object but I am unable to Serialize HtmlDataTable
Caused By: java.io.NotSerializableException: javax.faces.component.html.HtmlDataTable
at…

Anupam
- 509
- 1
- 6
- 16
1
vote
0 answers
Cannot find a working configuration for Http Session replication in Grails 4
I wanted to run my Grails application (version 4.0.4) in a cluster. I tried to apply Hazelcast to replicate the HTTP session across the nodes/instances but somehow I couldn’t override/replace the SessionRepository bean that Grails uses with the…

Bere
- 1,627
- 2
- 16
- 22
1
vote
0 answers
Authentication and session replication in tomcat cluster setup
I currently have basic tomcat cluster setup with Apache httpd server acting as load balancer(mod_proxy_balancer module)
I have also enabled sticky sessions (added addjvmRoute="server1" and addjvmRoute="server2" in respective configuration file)
I'm…

Autin
- 21
- 2
1
vote
1 answer
Spring Session Replication Problem
I've currently researching in load balancing my Spring project. I've used Apache web server as front-end to multiple Tomcat instances. I've used mod_jk for the load balancing. When I run it, if I shutdown one server, i had to login again to the…

rpa
- 97
- 1
- 9
1
vote
1 answer
Tomcat 6 Clustering - Authenticated Session Replication
I currently have a very basic cluster composed of two Tomcat 6.0.32 instances (Tomcat1 and Tomcat2) running on the same VPS. I'm using mod_proxy_ajp and mod_proxy_balancer as the load balancer through Apache (on the same VPS).
We are using basic…

Ross
- 511
- 3
- 12
1
vote
1 answer
Is it possible to turn on session replication for embedded tomcat servers in Spring Boot?
It is clear on how to do it when you have a tomcat server, but what if that server is embedded such as when you use bootJAR to build and run a tomcat webapp directly from a .jar file?

Calicoder
- 1,322
- 1
- 19
- 37
1
vote
2 answers
Is session replication possible in tomcat, without making session attributes serializable?
Is session replication possible in tomcat, without making session attributes serializable ?

Dipak Chaudhari
- 475
- 1
- 4
- 9
1
vote
0 answers
Wildfly 12 - Does HttpSession replication work only if it is configured with transaction?
I'm trying to use session replication but without lock contention.
So I set up the infinispan "web" cache-container like this:

ethanxyz_0
- 713
- 12
- 37