Questions tagged [session-replication]

Session replication is a mechanism used to replicate the data stored in a session across different instances.

109 questions
30
votes
3 answers

Sticky Sessions and Session Replication

I am evaluating the case of using sticky sessions with Session replication in tomcat. From my initial evaluation, I thought that if we enable Session replication, then session started in one tomcat node will be copied to all other tomcat nodes and…
Ashish
  • 2,940
  • 4
  • 26
  • 35
19
votes
6 answers

Tomcat's Clustering / Session Replication not replicating properly

I'm setting up clustering/replication on Tomcat 7 on my local machine, to evaluate it for use with my environment/codebase. Setup I have two identical tomcat servers in sibling directories running on different ports. I have httpd listening on two…
nvioli
  • 3,854
  • 3
  • 16
  • 33
12
votes
1 answer

memcached-session-manager on AWS

I've got a website running on Amazon Web Services that is deployed using Elastic Beanstalk and runs on a minimum of 2 EC2 micro instances. An auto scaling policy is in place, so that it can scale up and scale down depending on the the traffic in the…
10
votes
3 answers

What are the different approaches for Java EE session replication?

I am working on a project that requires really high availability and my team is currently working on upgrading some infra-structure and software for a future release. One of the features we would like to enable is to have session replication across…
Pablo
  • 1,860
  • 7
  • 26
  • 52
7
votes
2 answers

jboss cluster session replication not working (multiple jsessionid cookies)

I'm trying to authenticate on my web application deployed on a jboss working in cluster mode with 2 nodes. After a succesful authentication I get redirected to an admin page where a Filter checks if I am logged in. On standalone mode it works just…
6
votes
4 answers

FOSS ASP.Net Session Replication Solution?

I've been searching (with little success) for a free/opensource session clustering and replication solution for asp.net. I've run across the usual suspects (indexus sharedcache, memcached), however, each has some limitations. Indexus - Very…
jsight
  • 26,474
  • 23
  • 103
  • 138
5
votes
0 answers

Session Replication not working with tomcat7

In my nginx I have set upstream and setup sticky session with: upstream tomcat { ip_hash; server localhost:XXXX; server localhost:XXXY; server localhost:XXYY; } I have added tag in my web.xml (in all…
SSC
  • 2,796
  • 3
  • 24
  • 42
5
votes
1 answer

Liferay cluster session replication

I'm trying to enable session replication in liferay on tomcat without much luck. I have written a small test to see if sessions are being replicated and it works well in a separate JSP file that I have placed under webapps/examples but when I input…
Kempe
  • 367
  • 1
  • 3
  • 13
5
votes
3 answers

Tomcat clustering - configuring 2 tomcats on different machines

I'm trying to create a tomcat cluster in order to replicate sessions. my 2 tomcats are existing on two different machines, All examples available showed clustering of 2 tomcats on same machine. Where do i configure the ips of the tomcats in the…
Urbanleg
  • 5,402
  • 14
  • 64
  • 128
4
votes
1 answer

Tomcat session replication issue

TL;DR - The node name in the sessionId is not being updated to the current node name in the backup when the primary goes down. Tomcat version - apache-tomcat-7.0.50 I have two nodes (2 instances of my application in 2 seperate tomcats) set up, with…
bub
  • 577
  • 1
  • 6
  • 18
4
votes
1 answer

CAS 4 Clustering on AWS: Ticket not recognized

I'm trying to configure CAS (4.1) to work on a cluster envinronment inside amazon aws. I've configured Tomcat 7 for clustering, but on aws you can't use multicast autodiscovery, so i've set up database session replication on tomcat context. Session…
4
votes
1 answer

CLUSTER SECURITY EXCEPTION in wildfly

I configured wildfly in two system(master and slave) and able to control from central domain controller all the instances, but in my slave I am getting following exception Server:server-four-slave] 06:32:05,826 ERROR [org.hornetq.core.server]…
Robert Smith
  • 437
  • 1
  • 8
  • 25
4
votes
1 answer

How do I setup session replication in Sakai 10?

The recent Open Apereo 14 conference had a session about distributed caching and session replication in Sakai 10: http://lanyrd.com/2014/apereo/sdbbct/ What are the steps I need to take with Sakai 10 to allow for session replication?
samottenhoff
  • 598
  • 3
  • 13
4
votes
1 answer

Are there issues with using Spring Security's HttpSessionSecurityContextRepository on CloudFoundry?

I understand that Spring Security's HttpSessionSecurityContextRepository makes use of HttpSession. Furthermore, I have read that PaaS such as CloudFoundry try to avoid session replication for the purpose of scalability. I intend to deploy an…
balteo
  • 20,469
  • 52
  • 196
  • 362
3
votes
1 answer

Is tomcat clustering only way for session replication?

I tested Tomcat Clustering for session replication on ubuntu servers with apache as front end load balancers. From my testing experience I say it's better not using tomcat clustering but running each node as standalone not knowing one another…
1
2 3 4 5 6 7 8