On Tue, Jun 10, 2025 at 11:43 PM Thomas Vandahl <t...@apache.org> wrote:
> Hi Robert, > > > Am 08.06.2025 um 04:52 schrieb robertlazarski <robertlazar...@gmail.com > >: > > > > I am upgrading a rather large project to the jakarta libs and noticed the > > latest JCS version 3.2.1 will not run with jakarta.servlet-api version > > 6.1.0, nor does the GitHub repo seem to have any indication of jakarta > > support. > > > > The servlet-api is an optional dependency for JCS. It should work fine > without it, unless you are using the specific servlet classes. > > Bye, Thomas > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@commons.apache.org > For additional commands, e-mail: user-h...@commons.apache.org > > Hi Thomas, Indeed, org.apache.commons.jcs3.utils.servlet.JCSServletContextListener via web.xml or modern equivalent. I am trying to get that working in the latest Spring Boot 3 I am inclined to get JCS working with jakarta one way or another, but due to misunderstandings on my side I don't have a lot of time. Here is my config file, which I hope clarifies my usage of JCS. I do want to reiterate that other cache solutions couldn't handle our load, which is how we ended up with JCS - and it just works with no problems whatsoever. . ############################################################## ##### Default Region Configuration jcs.default=DC jcs.default.cacheattributes=org.apache.commons.jcs3.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=1000000 jcs.default.cacheattributes.MemoryCacheName=org.apache.commons.jcs3.engine.memory.lru.LRUMemoryCache jcs.default.elementattributes=org.apache.commons.jcs3.engine.ElementAttributes jcs.default.elementattributes.IsEternal=true jcs.default.elementattributes.IsRemote=false jcs.default.elementattributes.IsLateral=false jcs.default.elementattributes.IsSpool=true ############################################################## ##### CACHE REGIONS jcs.region.localUnitTestalphatheoryTickerCache=DC jcs.region.localUnitTestalphatheoryTickerCache.cacheattributes=org.apache.commons.jcs3.engine.CompositeCacheAttributes jcs.region.localUnitTestalphatheoryTickerCache.cacheattributes.MaxObjects=1000000 jcs.region.localUnitTestalphatheoryTickerCache.cacheattributes.MemoryCacheName=org.apache.commons.jcs3.engine.memory.lru.LRUMemoryCache jcs.region.localUnitTestalphatheoryTickerCache.cacheattributes.useRemote=false jcs.region.localUnitTestalphatheoryTickerCache.cacheattributes.useLateral=false jcs.region.localUnitTestalphatheoryTickerCache.cacheattributes.UseMemoryShrinker=false jcs.region.localUnitTestalphatheoryTickerHistoryCache=DC jcs.region.localUnitTestalphatheoryTickerHistoryCache.cacheattributes=org.apache.commons.jcs3.engine.CompositeCacheAttributes jcs.region.localUnitTestalphatheoryTickerHistoryCache.cacheattributes.MaxObjects=1000000 jcs.region.localUnitTestalphatheoryTickerHistoryCache.cacheattributes.MemoryCacheName=org.apache.commons.jcs3.engine.memory.lru.LRUMemoryCache jcs.region.localUnitTestalphatheoryTickerHistoryCache.cacheattributes.useRemote=false jcs.region.localUnitTestalphatheoryTickerHistoryCache.cacheattributes.useLateral=false jcs.region.localUnitTestalphatheoryTickerHistoryCache.cacheattributes.UseMemoryShrinker=false ############################################################## ##### AUXILIARY CACHES # Indexed Disk Cache jcs.auxiliary.DC=org.apache.commons.jcs3.auxiliary.disk.indexed.IndexedDiskCacheFactory jcs.auxiliary.DC.attributes=org.apache.commons.jcs3.auxiliary.disk.indexed.IndexedDiskCacheAttributes jcs.auxiliary.DC.attributes.DiskPath=/apps/wildfly/conf jcs.auxiliary.DC.attributes.MaxPurgatorySize=1000000 jcs.auxiliary.DC.attributes.MaxKeySize=1000000 jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=300000 jcs.auxiliary.DC.attributes.OptimizeOnShutdown=true jcs.auxiliary.DC.attributes.DiskLimitType=COUNT