• Type: Bug
    • Status: Deployed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s:
    • Fix Version/s: Hibernate,
    • Labels:
    • Environment:
    • Sprint:
      January 2018 Sprint


      I've been seeing this intermittently in an application and have finally tracked down a reproducible test case. It seems to require the following conditions:

      • ORM Second Level Cache is enabled
      • EHCache is the Second level cache provider
      • At least one entity CFC has cacheuse attribute set
      • Two differently named applications share one ORM configuration and entity CFC which has cacheuse attribute set

      The conditions to reproduce appear to be as follows:

      1. Initialize ORM on both App 1 and App 2
      2. Do reloadORM() on App 2 only
      3. Now both App 1 and App 2 fail with error "Cache is not alive (STATUS_SHUTDOWN)"

      My internet searches on this error seem to indicate that under the covers Lucee may be setting the second Level cache specifically to the overall Lucee context, instead of the specific application name. So perhaps when one application resets ORM, it also instructs Hibernate/EHCache to reset it's cache. However it creates a problem because some part of this process is tied to the CFML application and some other part is tied to a higher level server context.

      That is my theory. Test case to reproduce attached.




            • Assignee:
              michael1 Michael Offner
              cameronchildress Cameron Childress
            • Votes:
              1 Vote for this issue
              4 Start watching this issue


              • Created: