commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Vandahl (JIRA)" <>
Subject [jira] [Resolved] (JCS-172) MaxLife element attribute causing cache region to stop responding
Date Thu, 26 Jan 2017 20:04:24 GMT


Thomas Vandahl resolved JCS-172.
       Resolution: Fixed
    Fix Version/s: jcs-2.1

Fixed in SVN

> MaxLife element attribute causing cache region to stop responding
> -----------------------------------------------------------------
>                 Key: JCS-172
>                 URL:
>             Project: Commons JCS
>          Issue Type: Bug
>    Affects Versions: jcs-2.0-beta-2, jcs-2.0
>            Reporter: Tom Schroeder
>            Assignee: Thomas Vandahl
>             Fix For: jcs-2.1
>         Attachments: cache.ccf
> We are using a cache region to stage some content, and have been using the MaxLife attribute
to expire content after a certain amount of time.  This seemed to work when using the jcs-2.0-beta-1
version.  However, after upgrading our project to either the jcs-2.0-beta-2 or the jcs-2.0
versions, our staging cache seems to stop retaining content after the system has been up for
the MaxLife time.  After that is seems that any content placed in our stagedContent region
is immediately expired.  Placing an item in the cache with a CacheAccess.put() and then immediately
trying to retrieve it with a CacheAccess.get() returns null.  I have attached a copy of our
cache configuration file for reference.

This message was sent by Atlassian JIRA

View raw message