Issues

Select view

Select search mode

 
19 of 19

Redis sessions not working 6.2.1.112-RC and Redis Ext 4.0.0.0

Description

Lucee 6.2.1.112-RC
Lucee redis extension 4.0.0.0-SNAPSHOT

 

<cfset this.sessionCluster  = true />
<cfset this.sessionStorage = "redisStorage" />
<cfset this.sessionType  = "jee" />
same if the sessionType = “cfml“

 

lucee.runtime.exp.NativeException: class lucee.runtime.type.scope.JSession cannot be cast to class lucee.runtime.type.scope.storage.StorageScope (lucee.runtime.type.scope.JSession is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @4832f03b; lucee.runtime.type.scope.storage.StorageScope is in unnamed module of loader java.net.URLClassLoader @370736d9) at lucee.runtime.type.scope.ScopeContext.getCFScope(ScopeContext.java:220) at lucee.runtime.type.scope.ScopeContext.hasExistingSessionScope(ScopeContext.java:447) at lucee.runtime.PageContextImpl.initApplicationContext(PageContextImpl.java:3587) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:116) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:41) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2810) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2797) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2768) at lucee.runtime.engine.Request.exe(Request.java:45) at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1109) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1066) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97) at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:424) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassCastException: class lucee.runtime.type.scope.JSession cannot be cast to class lucee.runtime.type.scope.storage.StorageScope (lucee.runtime.type.scope.JSession is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @4832f03b; lucee.runtime.type.scope.storage.StorageScope is in unnamed module of loader java.net.URLClassLoader @370736d9) ... 35 more

Environment

None

Details

Assignee

Reporter

Priority

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

Created 1 hour ago
Updated 1 hour ago

Activity

Show:

Flag notifications