Hi,
I have just set up a Lucee 5.1.1.65 on my Mac and I’m having trouble with
my cache connections. I have the following code in my Application.cfc:
this.cache.connections[“MonitorPrograms”] = {
class: ‘org.lucee.extension.cache.eh.EHCache’
, bundleName: ‘ehcache.extension’
, bundleVersion: ‘2.10.0.20’
, storage: false
, custom: {“bootstrapAsynchronously”:“true”, “replicatePuts”:“true”, “automatic_hostName”:“”, “bootstrapType”:“on”, “maxelementsinmemory”:“10000”, “manual_rmiUrls”:“”, “distributed”:“off”, “automatic_multicastGroupAddress”:“230.0.0.1”, “memoryevictionpolicy”:“LRU”, “replicatePutsViaCopy”:“true”, “timeToIdleSeconds”:“86400”, “maximumChunkSizeBytes”:“5000000”, “automatic_multicastGroupPort”:“4446”, “listener_socketTimeoutMillis”:“120000”, “timeToLiveSeconds”:“86400”, “diskpersistent”:“true”, “manual_addional”:“”, “replicateRemovals”:“true”, “replicateUpdatesViaCopy”:“true”, “automatic_addional”:“”, “overflowtodisk”:“true”, “replicateAsynchronously”:“true”, “maxelementsondisk”:“10000000”, “listener_remoteObjectPort”:“”, “asynchronousReplicationIntervalMillis”:“1000”, “listener_hostName”:“”, “replicateUpdates”:“true”, “manual_hostName”:“”, “automatic_timeToLive”:“unrestricted”, “listener_port”:“”, “eternal”:“true”}
, default: ‘’
};
Code hier eingeben…
When I create a index.cfm try to add something to the cache, like:
cachePut(id=“test”,value=“Hello World”,cacheName=“MonitorPrograms”);
Code hier eingeben…
It throws an error saying: there is no cache with name [MonitorPrograms].
I have not configured cache anywhere else (Server Admin, Web Admin)
Any idea, what could be the reason?