Configure Cache Size

If you see a Catalina cache warning in your log files when you run Find, you can use the server.tomcat.resources.max-cache-kb system property to increase the size of the cache.

The cache warning might appear similar to the following example:

org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/Find/example.jpg] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

To set the cache max size property

  • Set the Java system property server.tomcat.resources.max-cache-kb to the maximum cache size, in kilobytes. The default value is 20480 (20 MB). For example:

    java -Dserver.tomcat.resources.max-cache-kb=30480 -Didol.find.home=[home directory] -Dserver.port=[port] -jar find.war

    For more information about setting Java system properties, see Using Java System Properties.