Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Miguel TargaMiguel TargaPriority
NewLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Miguel Targa
Miguel TargaPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 29 July 2020 at 14:32
Updated 3 June 2024 at 12:00
We are currently using Redis Extension ( redis.extension-2.9.0.4-BETA ) to manage the Session across multiple instances of Lucee.
After Redis failover, Lucee starts throwing errors and the only solution right now is to terminate the Lucee instance.
Heres the stack trace:
java.lang.ClassCastException: [B cannot be cast to java.lang.Long at redis.clients.jedis.Connection.getIntegerReply(Connection.java:265) at redis.clients.jedis.Jedis.expire(Jedis.java:315) at lucee.extension.io.cache.redis.AbstractRedisCache.put(AbstractRedisCache.java:131) at lucee.runtime.type.scope.storage.IKHandlerCache.store(IKHandlerCache.java:54) at lucee.runtime.type.scope.storage.IKStorageScopeSupport.store(IKStorageScopeSupport.java:415) at lucee.runtime.type.scope.storage.IKStorageScopeSupport.getInstance(IKStorageScopeSupport.java:198) at lucee.runtime.type.scope.ScopeContext.getCFSessionScope(ScopeContext.java:667) at lucee.runtime.type.scope.ScopeContext.getSessionScope(ScopeContext.java:505) at lucee.runtime.PageContextImpl.sessionScope(PageContextImpl.java:1389) at lucee.runtime.PageContextImpl.sessionScope(PageContextImpl.java:1383) at lucee.runtime.interpreter.VariableInterpreter.scope(VariableInterpreter.java:655) at lucee.runtime.interpreter.VariableInterpreter.getVariableEL(VariableInterpreter.java:221)
Reading a little bit online looks like its related to the re-use of a closed connection, but I can be wrong:
https://programmersought.com/article/8781708994/