-
Notifications
You must be signed in to change notification settings - Fork 348
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
tomcat 9 redis implementation throws ClassCastException on startup #407
Comments
Tried the latest jars in the tomcat lib folder jedis-3.0.1.jar However, I still get the same error |
Hi! |
已收到你的邮件,我会尽快与你联系回复!谢谢!!
|
I had the similar issue. Changing this <Context path="/" reloadable="false">
<Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager"
memcachedNodes="redis://localhost"
sticky="true"
... others configs
storageKeyPrefix="static:mykey" />
</Context> Using <Context path="/app" reloadable="false">
<Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager"
memcachedNodes="redis://localhost"
sticky="true"
... others configs
storageKeyPrefix="static:mykey" />
</Context> Docker Image: The tomcat lib folder contains the following jars:
|
已收到你的邮件,我会尽快与你联系回复!谢谢!!
|
Running application with docker in tomcat 9, JRE8 and implemented redis session manager.
The tomcat lib folder contains the following jars:
context.xml file contains the following config:
<Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager" memcachedNodes="redis://${tomcat.session.cache}:6379" sticky="false" requestUriIgnorePattern=".*\.(ico|png|gif|jpg|css|js)$" />
Versions:
Tomcat 9.0.17.0
JVM: 1.8.0_212-8u212-b01-1~deb9u1-b01
When starting the docker image, the following error occurs during start up:
I have tried other transcoder classes but they all result in a ClassCastException
Please could you advise whether I am missing any configuration or there is an issue with support for Tomcat 9 with a redis implementation
The text was updated successfully, but these errors were encountered: