This document lists a number of things that changed in Commons JCS 2.0.
The main difference is the move to the Apache Commons project
which lead to the change of the package names and Maven coordinates.
So in all your code replace
JCS now uses different cache access objects depending on
if you want to use cache groups or not. This was necessary
because the cache access objects are now generic which saves
you all the casts but doesn't allow different objects in the
same cache anymore. You now use
Here again, change all package names in configuration entries
from e.g.
MaxLifeSeconds
lines to MaxLife
like
The IndexedDiskCache
recycle bin is no longer limited in size.
So remove all references to MaxRecycleBinSize
from the configuration files.