George, I doubt your error is related to Jeremy’s other than the fact that they both involve CacheBox.
In regards to your error- CacheBox simply does a fileExists() check to try and find the eviction policy. If you’re getting the error often, I’d add in some debugging info to capture a directory list of that folder to see if CF mappings are getting lost. You can also dump out the app mappings to ensure they exist (assuming you’re using an app mapping).
Thanks!
~Brad
Hi Jeremy,
I am getting a similar error on a SUN OS server.
Error creating eviction policy: LRU
Could not find the ColdFusion component or interface LRU. Ensure that the name is correct and that the component or interface exists.
The error occurred in /www2/wirebox/system/core/util/util.cfc: line 164
Called from /www2/wirebox/system/cache/providers/CacheBoxProvider.cfc: line 109
Called from /www2/wirebox/system/cache/CacheFactory.cfc: line 643
Called from /www2/wirebox/system/cache/CacheFactory.cfc: line 599
Called from /www2/wirebox/system/cache/CacheFactory.cfc: line 160
Called from /www2/wirebox/system/cache/CacheFactory.cfc: line 97
Called from /www2/wirebox/system/ioc/injector.cfc: line 898
Called from /www2/wirebox/system/ioc/injector.cfc: line 130
Called from /www2/wirebox/system/ioc/injector.cfc: line 92
Called from /www2/testsite.cfm: line 1
Stack Trace
at cfutil2ecfc2141156205$funcTHROWIT.runFunction(/www2/wirebox/system/core/util/util.cfc:164) at cfCacheBoxProvider2ecfc1649187190$funcCONFIGURE.runFunction(/www2/wirebox/system/cache/providers/CacheBoxProvider.cfc:109) at cfCacheFactory2ecfc2114601896$funcREGISTERCACHE.runFunction(/www2/wirebox/system/cache/CacheFactory.cfc:643) at cfCacheFactory2ecfc2114601896$funcCREATECACHE.runFunction(/www2/wirebox/system/cache/CacheFactory.cfc:599) at cfCacheFactory2ecfc2114601896$funcCONFIGURE.runFunction(/www2/wirebox/system/cache/CacheFactory.cfc:160) at cfCacheFactory2ecfc2114601896$funcINIT.runFunction(/www2/wirebox/system/cache/CacheFactory.cfc:97) at cfinjector2ecfc1301913115$funcCONFIGURECACHEBOX.runFunction(/www2/wirebox/system/ioc/injector.cfc:898) at cfinjector2ecfc1301913115$funcCONFIGURE.runFunction(/www2/wirebox/system/ioc/injector.cfc:130) at cfinjector2ecfc1301913115$funcINIT.runFunction(/www2/wirebox/system/ioc/injector.cfc:92) at cftestsite2ecfm1807972875.runPage(/www2/testsite.cfm:1)