Java Runtime log error “Could not instantiate auxFactory named “DC””

This error is not related to Runtime and is not a functional issue.

By default, Java runtime uses LRUMemoryCache class provided by JCS to cache licenses. LRUMemoryCache provides useful implementation to process least recently used objects from its cache.

Workaround:

The error message is more concerned for Disk Caching and since LRU cache is used internally, this error doesn’t really belong to Cloud Runtime.

As a workaround, following properties can be added to cache.ccf file in order to bypass this fake error:

jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
jcs.auxiliary.DC.attributes.DiskPath=cache