Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Create a custom ehcache.xml on the host system with corrected config:
<cache name="oauth2StateCache"
maxElementsInMemory="1000"
eternal="false"
timeToIdleSeconds="300"
timeToLiveSeconds="600"
overflowToDisk="false" />
Mount it into the container, e.g.:
-v /opt/codebeamer/config/ehcache.xml:/home/appuser/codebeamer/conf/ehcache.xml
Pass the path via Java system property:
-Dnet.sf.ehcache.configurationResourceName=file:/home/appuser/codebeamer/conf/ehcache.xml
Restart the container to apply changes.
This ensures the custom cache config is used persistently without modifying internal JAR files.
Thanks,
