Session replication is a mechanism used to replicate the data stored in a session across different instances.
Questions tagged [session-replication]
121 questions
0
votes
1 answer
Replication exception with WebSphere 7 sessions
I have a JSF 2 + Spring 3 application that's currently being deployed to a clustered WebSphere 7 environment. The servers are configured for memory-to-memory replication for session handling. While running tests on the application, a common…

holic87
- 791
- 2
- 17
- 29
0
votes
1 answer
Tomcat loadbalancing serialize exception PersistenceExceptionTranslationInterceptor : lazy initialization exception
I have to put two tomcat servers (tcat01 and tcat02) in a loadbalancing architecture.
I'm using tomcat 6.x and I edited the conf/server.xml like this on tomcat tcat01 :

Nico
- 3,430
- 4
- 20
- 27
0
votes
0 answers
Wildfly 26.1 Cluster 'Initial state transfer timed out for cache'
I am trying to configure wildfly 26.1 with High Availability as mentioned here with 2 servers, server A and server B and a Haproxy in front of them.
I'm using the default configuration for standalone-ha.xml and everything is working fine. When the 2…

tsotzolas
- 387
- 1
- 10
0
votes
0 answers
tomcat cluster: member changes of an existing attribute object not replicated
Tomcat cluster in kubernetes: member changes of session existing object are not replicated.
Server.xml:
…

eastwater
- 4,624
- 9
- 49
- 118
0
votes
0 answers
java serialization: how to show object references
For the following stacktrace of tomcat session replication, is there a way to show object reference graph for serialization? i.e.,
Object A in session -> Object B -> .... -> ClassFoo Object
In other words, how to show the object type to write for…

eastwater
- 4,624
- 9
- 49
- 118
0
votes
0 answers
Hazelcast tomcat9 on Kubernetes: java.lang.IllegalStateException: Unknown protocol
Tomcat session replication with Hazelcast:
https://github.com/hazelcast/hazelcast-tomcat-sessionmanager
Downloaded the hazelcast-5.3.0.zip, it has hazelcast-5.3.0.jar (16M), but it does not have hazelcast-all-5.3.0.jar.
Following the instruction for…

eastwater
- 4,624
- 9
- 49
- 118
0
votes
0 answers
hazelcast for tomcat session replication: sticky
Hazelcast tomcat session manager:
https://github.com/hazelcast/hazelcast-tomcat-sessionmanager
Sticky Sessions (default)
Sticky Sessions are used to improve the
performance since the sessions do not
move around the cluster.
Requests always go to…

eastwater
- 4,624
- 9
- 49
- 118
0
votes
0 answers
Kubernetes tomcat cluster: no-active members and how to turn on debug logging?
k8s StatefulSet:
apiVersion: v1
kind: Service
metadata:
name: my-web
labels:
app: my-web
spec:
ports:
- name: http
port: 8080
targetPort: 8080
selector:
app: my-web
type: ClusterIP
---
apiVersion: apps/v1
kind:…

eastwater
- 4,624
- 9
- 49
- 118
0
votes
0 answers
How do I implement Serializable? For storing my data in Session
Hi I have been trying to do session replication between my 2 tomcat clusters...and also I am maintain sticky session...I am currently having a problem that after adding tag in web.xml and running my application it gives an error like…

Ganapathy R
- 1
- 1
0
votes
0 answers
Does spring-session-data-redis use session cookie
I was going to do this test myself but that requires Redis and I don;t have one for all I want to find out is if it uses/sets JSESIONID cookie.

bhantol
- 9,368
- 7
- 44
- 81
0
votes
1 answer
OpenAM (Forgerock) - "ds replication" Session replication problem
I have two WEB nodes/servers where two “OpenAM” instances run under “Apache Tomcat” Web Server.
I would like to apply the “Session Replication”, on these two nodes, using the OpenAM’s standard "ds replication" commands :
dsreplication.bat enable…

C75
- 1
0
votes
1 answer
Tomcat clustering mechanism and session replication is not working on tomcat 8.5.78
I am working on a project where I need to replicate sessions on two different tomcats. I configured Nginx as a load balancer. Configured two tomcats to make two different nodes.
My requirement: Suppose two nodes are running and the session of node…

Avijit Barua
- 2,950
- 5
- 14
- 35
0
votes
0 answers
Cannot invoke "com.vaadin.flow.server.VaadinService.getContext()", the return value of "com.vaadin.flow.server.VaadinSession.getService()" is null
I'm trying to setup a Vaadin 22 project using spring, spring-boot and hazelcast for session replication.
If I remove everything related to Hazelcast, the execution runs smoothly and I can login (through Keycloak) to my UI.
As soon as I add the…

Luca Trecarichi
- 45
- 7
0
votes
0 answers
tomcat 8.5 clustering issue on 2 ubuntu vms - skipping state transfer. No members active in cluster group
I am trying to create a tomcat cluster with 2 ubuntu machines.
Tomcat starts successfully on both vms. However, the war file is not copied on to node2. Error says: skipping state transfer. No members active in cluster group. Please let me know if…

Ravi
- 1
- 1
0
votes
0 answers
Spring Boot | Session Replication | Mode COOKIE
I have a spring boot application up and running.
We run it using external standalone tomcat behind LB.
Tomcat version - 9
Springboot - 2.3.4.RELEASE
I have tried with below approach but none works.
web.xml
…

Ankur Singhal
- 26,012
- 16
- 82
- 116