Read docu: "The expiration time is indicated using the org.jboss.cache.Node.put() method, using a String key expiration and the absolute time as a java.lang.Long object, with a value indicated as milliseconds past midnight January 1st, 1970 UTC (the same relative time as provided by java.lang.System.currentTimeMillis() )."
The key has to be absolute time, whereas you're giving it a relative time:
And @mjdinsmore, it's not the same issue that you have in the other forum entry
Yup. I realized that later on. I set absolute time and it still doesn't work. I tried infinispan and it works fine there.