Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring memcached with Redis Cluster #418

Open
whigley opened this issue May 19, 2020 · 0 comments
Open

Configuring memcached with Redis Cluster #418

whigley opened this issue May 19, 2020 · 0 comments

Comments

@whigley
Copy link

whigley commented May 19, 2020

I am using Tomcat 9.0.31, Redis Cluster, and memcached:

className="de.javakaffee.web.msm.MemcachedBackupSessionManager"
memcachedNodes="redis://xxxxxxxxxxxx:6379"
sticky="true"
enable="true"
sessionBackupAsync="false"
requestUriIgnorePattern=".*.(ico|png|gif|jpg|css|js)$"
storageKeyPrefix="context,webappVersion"
transcoderFactoryClass="de.javakaffee.web.msm.serializer.kryo.KryoTranscoderFactory"

Redis-3.3.0
Memcached session manager: 2.3.3

I am getting the error below:

Caused by: redis.clients.jedis.exceptions.JedisMovedDataException: MOVED 3869 10.240.10.147:6379
at redis.clients.jedis.Protocol.processError(Protocol.java:118) ~[jedis-3.3.0-SNAPSHOT.jar:?]
at redis.clients.jedis.Protocol.process(Protocol.java:169) ~[jedis-3.3.0-SNAPSHOT.jar:?]
at redis.clients.jedis.Protocol.read(Protocol.java:223) ~[jedis-3.3.0-SNAPSHOT.jar:?]
at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:278) ~[jedis-3.3.0-SNAPSHOT.jar:?]
at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:196) ~[jedis-3.3.0-SNAPSHOT.jar:?]
at redis.clients.jedis.BinaryJedis.setex(BinaryJedis.java:676) ~[jedis-3.3.0-SNAPSHOT.jar:?]
at de.javakaffee.web.msm.storage.RedisStorageClient$2.execute(RedisStorageClient.java:112) ~[memcached-session-manager-2.3.3-SNAPSHOT.jar:?]
at de.javakaffee.web.msm.storage.RedisStorageClient$2.execute(RedisStorageClient.java:107) ~[memcached-session-manager-2.3.3-SNAPSHOT.jar:?]
at de.javakaffee.web.msm.storage.RedisStorageClient$RedisCommandCallable.call(RedisStorageClient.java:180) ~[memcached-session-manager-2.3.3-SNAPSHOT.jar:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_242]
... 1 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant