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

java.lang.ClassNotFoundException: com.radiadesign.catalina.session.RedisSessionHandlerValve #101

Open
vijaygoturi opened this issue Nov 16, 2017 · 6 comments

Comments

@vijaygoturi
Copy link

I am getting this error? Can anybody support?

jedis-2.5.2.jar
tomcat-redis-session-manager-2.0.0.jar
commons-pool2-2.4.2.jar

@jcoleman
Copy link
Owner

Did you upgrade versions? You have the wrong class name; see the instructions here: https://github.com/jcoleman/tomcat-redis-session-manager#usage

@vijaygoturi
Copy link
Author

vijaygoturi commented Nov 16, 2017

I am not able to find the related jar. The jar downloaded map to radiadesign class.

upgrade versions?

ANy help in this regard.. i am stuck .

@vijaygoturi
Copy link
Author

vijaygoturi commented Nov 20, 2017

I have added the jar file created by gradle..and still facing the same error. class not found.

Working with Java 8. Is it because of the java version? Should i downgrade to 7?

SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: com.orangefunction.tomcat.redissessions.RedisSessionHandlerValve
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:144)
at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1303)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1576)
at org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:651)
at org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:594)
at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:849)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:399)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:388)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:103)

@vijaygoturi
Copy link
Author

We have a jsp app, that uses j_security_check. We see the sessions in redis but the application errors out saying that login took a long time.

I have java 8, is that the problem?

@NameYoung
Copy link

try this

  <Valve className="com.bluejeans.tomcat.redissessions.RedisSessionHandlerValve"/>
  <Manager className="com.bluejeans.tomcat.redissessions.RedisSessionManager"/>

@jomcyjohny
Copy link

@vijaygoturi I am facing the same error, Can you please provide some information, if you have any idea regarding this question now.
I am using a file store to persist my session data however I want to use Redis store so I tried to configure my context.xml and I end up with this error.

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

4 participants