How to use expiration for a cache accessed with a memcache connector in JDG

Solution Verified - Updated -

Issue

  • How can I enable expiration for a cache which is used by memcache clients
  • If http sessions are stored in a JDG cache via memcache protocol the entries did not expire, the memory consumption grow until we need to restart the server, how can I enable expiration for it?
  • A cache with enabled has start errors
ISPN011001: Cache 'memcachedCache' has expiration enabled which violates the Memcached protocol

Environment

  • Red Hat JBoss Data Grid (JDG)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In