Uploaded image for project: 'Lucee Development'
  1. LDEV-1376

there is no cache defined with name ['+name+'] errors logged on each request

    Details

    • Type: Bug
    • Status: Rejected
    • Priority: New
    • Resolution: Duplicate
    • Affects Version/s: 5.2.1.9
    • Fix Version/s: 5.2.2.29
    • Labels:
      None
    • Environment:

      windows 2012 R2
      Tomcat 8
      JVM: Java HotSpot(TM) 64-Bit Server VM (25.102-b14, mixed mode)
      Java: version 1.8.0_102, vendor Oracle Corporation

      Description

      I have just upgraded to 5.2.1.9 and see the error below in the logs. "actorsasccess.com" is my application name. A new error is logged upon every page request.

      lucee.runtime.exp.NativeException: there is no cache defined with name [actorsasccess.com], available caches are [ehcache, cbluceestore, cbsessionstore, ram cache]
      at lucee.runtime.exp.NativeException.newInstance(NativeException.java:73)
      at lucee.runtime.op.Caster.toPageException(Caster.java:3201)
      at lucee.runtime.op.Caster.toPageException(Caster.java:3176)
      at lucee.runtime.type.scope.storage.IKHandlerCache.getCache(IKHandlerCache.java:71)
      at lucee.runtime.type.scope.storage.IKHandlerCache.store(IKHandlerCache.java:40)
      at lucee.runtime.type.scope.storage.IKStorageScopeSupport.store(IKStorageScopeSupport.java:408)
      at lucee.runtime.type.scope.storage.IKStorageScopeSupport.touchAfterRequest(IKStorageScopeSupport.java:288)
      at lucee.runtime.PageContextImpl.release(PageContextImpl.java:547)
      at lucee.runtime.CFMLFactoryImpl.releaseLuceePageContext(CFMLFactoryImpl.java:208)
      at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1046)
      at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:996)
      at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102)
      at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
      at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:478)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:745)

      I tried using different cache storage with the same results. i.e. ram cache, ehcache, ortus couchbase extension.

      Here are my application settings:

      THIS.name="actorsasccess.com";
      THIS.applicationTimeout = createTimeSpan( 60, 0, 0, 0 );
      THIS.sessionManagement = false;
      THIS.clientManagement = true;
      THIS.clientCluster = true;
      THIS.clientTimeout = createTimeSpan( 0, 2, 0, 0 );
      THIS.clientStorage = "ram cache";

      if I revert back to 5.1.4.19 there are no errors logged.

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              nonfatmedia Marc Archenault
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: