[Coldbox 4.2.0] Error creating eviction policy: coldbox.system.cache.policies.LRU

45 views
Skip to first unread message

Irvin Wilson

unread,
Sep 18, 2016, 2:14:16 PM9/18/16
to ColdBox Platform
I've seen this statement (Error creating eviction policy: coldbox.system.cache.policies.LRU) in several posts but they don't seem to be of the same cause or at least same path to get there as what I'm getting.  Using Coldfusion 9 if I create a new app using commandbox like so - 

coldbox create app compliance --installColdBox    and launch browser I get - 

The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
Error creating eviction policy: coldbox.system.cache.policies.LRU

CacheBoxProvider.EvictionPolicyCreationException
 
The error occurred in E:/Projects/Server_Dev/App3/compliance/coldbox/system/cache/providers/CacheBoxProvider.cfc: line 112
Called from E:/Projects/Server_Dev/App3/compliance/coldbox/system/cache/CacheFactory.cfc: line 646
Called from E:/Projects/Server_Dev/App3/compliance/coldbox/system/cache/CacheFactory.cfc: line 602
Called from E:/Projects/Server_Dev/App3/compliance/coldbox/system/cache/CacheFactory.cfc: line 163
Called from E:/Projects/Server_Dev/App3/compliance/coldbox/system/cache/CacheFactory.cfc: line 100
Called from E:/Projects/Server_Dev/App3/compliance/coldbox/system/web/services/LoaderService.cfc: line 157
Called from E:/Projects/Server_Dev/App3/compliance/coldbox/system/web/services/LoaderService.cfc: line 48
Called from E:/Projects/Server_Dev/App3/compliance/coldbox/system/Bootstrap.cfc: line 71
Called from E:/Projects/Server_Dev/App3/compliance/Application.cfc: line 27
110 : //writedump(e); abort;
111 : instance.logger.error("Error creating eviction policy: #evictionPolicy#", e);
112 : throw('Error creating eviction policy: #evictionPolicy#','#e.message# #e.detail# #e.stackTrace#','CacheBoxProvider.EvictionPolicyCreationException');
113 : }
114 : 

If I then writedump the error at line 111 in cacheboxprovider.cfc I get - 

struct
Detail The execute function does not specify the same value for the output argument in the coldbox.system.cache.policies.LRU ColdFusion component and the IEvictionPolicy ColdFusion interface.
Message Argument output value mismatch.


Oddly we have Coldbox running on this server with another app. If I copy that coldbox folder and replace the one pulled down via CommandBox I get same error.  Is same server so seems not Coldfusion 9 issue.  Does this make any sense to anyone?

Thank you!

br...@bradwood.com

unread,
Sep 19, 2016, 2:08:21 PM9/19/16
to col...@googlegroups.com
Is the ColdBox app in a subfolder of the web root?  If so, you need to create a server or application mapping that points to "/coldbox". What happens otherwise is the Application.cfc find the coldbox folder at first because it's in the same folder, but later in the framework startup, other attempts to use ColdBox fail because there is no mapping.

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: br...@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com 
 
 
--------- Original Message ---------
struct
DetailThe execute function does not specify the same value for the output argument in the coldbox.system.cache.policies.LRU ColdFusion component and the IEvictionPolicy ColdFusion interface.
MessageArgument output value mismatch.
 
 
Oddly we have Coldbox running on this server with another app. If I copy that coldbox folder and replace the one pulled down via CommandBox I get same error.  Is same server so seems not Coldfusion 9 issue.  Does this make any sense to anyone?
 
Thank you!
 

 

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/5b0edd03-6e63-471e-b20a-774136cf06eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Irvin Wilson

unread,
Sep 19, 2016, 8:11:41 PM9/19/16
to col...@googlegroups.com
Same exact error still.  Maybe I'm looking at it wrong but the error doesn't seem to be of a "not found" type..

struct
DetailThe execute function does not specify the same value for the output argument in the coldbox.system.cache.policies.LRU ColdFusion component and the IEvictionPolicy ColdFusion interface.
MessageArgument output value mismatch.


--------- Original Message ---------
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+unsubscribe@googlegroups.com.

To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/5b0edd03-6e63-471e-b20a-774136cf06eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to a topic in the Google Groups "ColdBox Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coldbox/46Brgvb7TTg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coldbox+unsubscribe@googlegroups.com.

To post to this group, send email to col...@googlegroups.com.

Irvin Wilson

unread,
Sep 19, 2016, 8:21:46 PM9/19/16
to col...@googlegroups.com
I had the mapping wrong when I test a minute ago.  Seems things are found but now I get - 

Detail
The execute function does not specify the same value for the output argument in the coldbox.system.cache.policies.LRU ColdFusion component and the IEvictionPolicy ColdFusion interface.
MessageArgument output value mismatch.
StackTracecoldfusion.runtime.InterfaceRuntimeExceptions$OutputValuesDoNotMatchException: Argument output value mismatch. at coldfusion.runtime.InterfaceRuntimeExceptions.throwOutputValuesDoNotMatchException(InterfaceRuntimeExceptions.java:356) at coldfusion.runtime.UDFMethod.verifyInterfaceMethodImpl(UDFMethod.java:600) at coldfusion.runtime.TemplateProxy.verifyInterfaceMethodImpl(TemplateProxy.java:1025) at coldfusion.runtime.TemplateProxy.verifyParentInterfaceImpl(TemplateProxy.java:992) at coldfusion.runtime.TemplateProxy.verifyInterfacesImpl(TemplateProxy.java:887) at coldfusion.cfc.ComponentProxyFactory.getProxy(ComponentProxyFactory.java:67) at coldfusion.runtime.CFPage.CreateObject(CFPage.java:4815) at coldfusion.runtime.CFPage.CreateObject(CFPage.java:4829) at cfCacheBoxProvider2ecfc1222127703$funcCONFIGURE.runFunction(E:\Projects\Server_Dev\App3\compliance\coldbox\system\cache\providers\CacheBoxProvider.cfc:107) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfCacheFactory2ecfc35580252$funcREGISTERCACHE.runFunction(E:\Projects\Server_Dev\App3\compliance\coldbox\system\cache\CacheFactory.cfc:646) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582) at cfCacheFactory2ecfc35580252$funcCREATECACHE.runFunction(E:\Projects\Server_Dev\App3\compliance\coldbox\system\cache\CacheFactory.cfc:602) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2547) at cfCacheFactory2ecfc35580252$funcCONFIGURE.runFunction(E:\Projects\Server_Dev\App3\compliance\coldbox\system\cache\CacheFactory.cfc:163) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582) at cfCacheFactory2ecfc35580252$funcINIT.runFunction(E:\Projects\Server_Dev\App3\compliance\coldbox\system\cache\CacheFactory.cfc:100) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfLoaderService2ecfc157319846$funcCREATECACHEBOX.runFunction(E:\Projects\Server_Dev\App3\compliance\coldbox\system\web\services\LoaderService.cfc:157) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582) at cfLoaderService2ecfc157319846$funcLOADAPPLICATION.runFunction(E:\Projects\Server_Dev\App3\compliance\coldbox\system\web\services\LoaderService.cfc:48) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfBootstrap2ecfc1737183145$funcLOADCOLDBOX.runFunction(E:\Projects\Server_Dev\App3\compliance\coldbox\system\Bootstrap.cfc:71) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfApplication2ecfc603446925$funcONAPPLICATIONSTART.runFunction(E:\Projects\Server_Dev\App3\compliance\Application.cfc:39) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337) at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:88) at coldfusion.runtime.AppEventInvoker.onApplicationStart(AppEventInvoker.java:211) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:242) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:94) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:201) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

On Mon, Sep 19, 2016 at 11:08 AM, <br...@bradwood.com> wrote:
--------- Original Message ---------
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+unsubscribe@googlegroups.com.

To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/5b0edd03-6e63-471e-b20a-774136cf06eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to a topic in the Google Groups "ColdBox Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coldbox/46Brgvb7TTg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coldbox+unsubscribe@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.

br...@bradwood.com

unread,
Sep 19, 2016, 9:23:44 PM9/19/16
to col...@googlegroups.com
Hmm, did you compare the return value of the execute method to the interface like the error suggests?
 
Also, do you have component caching turned off in the admin if this is Adobe CF?
--------- Original Message ---------
--------- Original Message ---------
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.

To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/5b0edd03-6e63-471e-b20a-774136cf06eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to a topic in the Google Groups "ColdBox Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coldbox/46Brgvb7TTg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coldbox+u...@googlegroups.com.

 

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.

To post to this group, send email to col...@googlegroups.com.

Irvin Wilson

unread,
Sep 21, 2016, 8:19:06 PM9/21/16
to col...@googlegroups.com
Brad,

I just found out today we're getting new ACF licenses for latest Coldfusion so likely this issue will go away (for us anyway - not sure others have issue or not).  I'm still very curious why an app created with commandbox --installColdbox would do this on ACF 9 so I'll look at this more tomorrow.

Thank you!

Irv

--------- Original Message ---------
--------- Original Message ---------
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+unsubscribe@googlegroups.com.

To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/5b0edd03-6e63-471e-b20a-774136cf06eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to a topic in the Google Groups "ColdBox Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coldbox/46Brgvb7TTg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coldbox+unsubscribe@googlegroups.com.

 

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+unsubscribe@googlegroups.com.

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to a topic in the Google Groups "ColdBox Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coldbox/46Brgvb7TTg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coldbox+unsubscribe@googlegroups.com.

To post to this group, send email to col...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages