Problems upgrading to Coldbox 6

I’m upgrading from Coldbox 5.3 to Coldbox 6.2. I’m using Commandbox with Lucee 5.3.7.47.

When I try to load my site, I receive the message below. Because this is coming from coldbox.system, I’d love some guidance on how to fix. It appears that it may have something to do with my cachebox settings? I’ve included my cachebox.cfc file as well as the stacktrace on the error. Thanks in advance for any help.

/**
* Configure CacheBox for ColdBox Application Operation
*/
function configure () {
	
	// The CacheBox configuration structure DSL
	cacheBox = {
		// LogBox config already in coldbox app, not needed
		// logBoxConfig = "coldbox.system.web.config.LogBox", 
		
		// The defaultCache has an implicit name "default" which is a reserved cache name
		// It also has a default provider of cachebox which cannot be changed.
		// All timeouts are in minutes
		defaultCache = {
			objectDefaultTimeout = 120, //two hours default
			objectDefaultLastAccessTimeout = 30, //30 minutes idle time
			useLastAccessTimeouts = true,
			reapFrequency = 2,
			freeMemoryPercentageThreshold = 0,
			evictionPolicy = "LRU",
			evictCount = 1,
			maxObjects = 300,
			objectStore = "ConcurrentStore", //guaranteed objects
			coldboxEnabled = true
		},
		
		// Register all the custom named caches you like here
		caches = {
			// Named cache for all coldbox event and view template caching
			template = {
				provider = "coldbox.system.cache.providers.CacheBoxColdBoxProvider",
				properties = {
					objectDefaultTimeout = 120,
					objectDefaultLastAccessTimeout = 30,
					useLastAccessTimeouts = true,
					freeMemoryPercentageThreshold = 0,
					reapFrequency = 2,
					evictionPolicy = "LRU",
					evictCount = 2,
					maxObjects = 300,
					objectStore = "ConcurrentSoftReferenceStore" //memory sensitive
				}
			},	
			app = {
				provider = "coldbox.system.cache.providers.CacheBoxColdBoxProvider",
				properties = {
					objectDefaultTimeout = 120,
					objectDefaultLastAccessTimeout = 30,
					useLastAccessTimeouts = true,
					freeMemoryPercentageThreshold = 0,
					reapFrequency = 2,
					evictionPolicy = "LRU",
					evictCount = 2,
					maxObjects = 100,
					objectStore = "ConcurrentStore" //not memory sensitive
				}	
			}	
		}		
	};
}

Lucee 5.3.7.47 Error (expression)
Message Component [coldbox.system.cache.CacheFactory] has no accessible Member with name [LOCKNAME]
Stacktrace The Error Occurred in
/Users/jamiesalvatori/CODE/mysite-Production/MyApp/coldbox/system/cache/CacheFactory.cfc: line 542
540: */
541: boolean function cacheExists( required name ){
542: lock name="#variables.lockName#" type=“readonly” timeout=“20” throwontimeout=“true”{
543: return structKeyExists( variables.caches, arguments.name );
544: }

called from /Users/jamiesalvatori/CODE/mysite-Production/MyApp/coldbox/system/ioc/dsl/CacheBoxDSL.cfc: line 63
61: var cacheName = getToken( thisType, 2, “:” );
62: // Verify that cache exists
63: if( variables.cacheBox.cacheExists( cacheName ) ){
64: return variables.cacheBox.getCache( cacheName );
65: }

called from /Users/jamiesalvatori/CODE/mysite-Production/MyApp/coldbox/system/ioc/Builder.cfc: line 478
476: }
477: // retrieve it
478: refLocal.dependency = variables.cacheBoxDSL.process( argumentCollection=arguments );
479: break;
480: }

called from /Users/jamiesalvatori/CODE/mysite-Production/MyApp/coldbox/system/ioc/Injector.cfc: line 943
941: definition = thisDIData,
942: targetID = arguments.targetID,
943: targetObject = arguments.targetObject
944: );
945: }

called from /Users/jamiesalvatori/CODE/mysite-Production/MyApp/coldbox/system/ioc/Injector.cfc: line 699
697: }
698: // DIProperty injection
699: processInjection( targetObject, thisMap.getDIProperties(), arguments.targetID );
700: // DISetter injection
701: processInjection( targetObject, thisMap.getDISetters(), arguments.targetID );

called from /Users/jamiesalvatori/CODE/mysite-Production/MyApp/coldbox/system/ioc/scopes/Singleton.cfc: line 77
75:
76: // wire up dependencies on the singleton object
77: variables.injector.autowire( target=tmpSingleton, mapping=arguments.mapping );
78:
79: // If thread safe, then now store it in the singleton cache, as all dependencies are now safely wired

called from /Users/jamiesalvatori/CODE/mysite-Production/MyApp/coldbox/system/ioc/Injector.cfc: line 417
415: var target = variables
416: .scopes[ mapping.getScope() ]
417: .getFromScope( mapping, arguments.initArguments );
418:
419: // Announce creation, initialization and DI magicfinicitation!

called from /Users/jamiesalvatori/CODE/mysite-Production/MyApp/coldbox/system/ioc/config/Binder.cfc: line 1288
1286: } )
1287: .each( function( key, thisMapping ){
1288: variables.injector.getInstance( arguments.thisMapping.getName() );
1289: } );
1290:

called from /Users/jamiesalvatori/CODE/mysite-Production/MyApp/coldbox/system/ioc/config/Binder.cfc: line 1289
1287: .each( function( key, thisMapping ){
1288: variables.injector.getInstance( arguments.thisMapping.getName() );
1289: } );
1290:
1291: return this;

called from /Users/jamiesalvatori/CODE/mysite-Production/MyApp/coldbox/system/ioc/Injector.cfc: line 265
263:
264: // Process Eager Inits
265: variables.binder.processEagerInits();
266:
267: // Check if binder has onLoad convention and execute callback

called from /Users/jamiesalvatori/CODE/mysite-Production/MyApp/coldbox/system/ioc/Injector.cfc: line 190
188:
189: // Configure the injector for operation
190: configure( arguments.binder, arguments.properties );
191:
192: return this;

called from /Users/jamiesalvatori/CODE/mysite-Production/MyApp/coldbox/system/web/services/LoaderService.cfc: line 174
172: wireboxData.binderPath,
173: variables.controller.getConfigSettings(),
174: variables.controller
175: );
176:

called from /Users/jamiesalvatori/CODE/mysite-Production/MyApp/coldbox/system/web/services/LoaderService.cfc: line 60
58:
59: // Create WireBox Container
60: createWireBox();
61: // Create CacheBox
62: createCacheBox();

called from /Users/jamiesalvatori/CODE/mysite-Production/MyApp/coldbox/system/Bootstrap.cfc: line 98
96: application[ appKey ] = new coldbox.system.web.Controller( COLDBOX_APP_ROOT_PATH, appKey );
97: // Setup the Framework And Application
98: application[ appKey ].getLoaderService().loadApplication( COLDBOX_CONFIG_FILE, COLDBOX_APP_MAPPING );
99: // Get the reinit key
100: // Application Start Handler

called from /Users/jamiesalvatori/CODE/mysite-Production/MyApp/Application.cfc: line 108
106: COLDBOX_APP_MAPPING
107: );
108: application.cbBootstrap.loadColdbox();
109: return true;
110:

Java Stacktrace lucee.runtime.exp.ExpressionException: Component [coldbox.system.cache.CacheFactory] has no accessible Member with name [LOCKNAME]
at lucee.runtime.ComponentScopeShadow.get(ComponentScopeShadow.java:128)
at coldbox.system.cache.cachefactory_cfc$cf$k.udfCall2(/coldbox/system/cache/CacheFactory.cfc:542)
at coldbox.system.cache.cachefactory_cfc$cf$k.udfCall(/coldbox/system/cache/CacheFactory.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:680)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:568)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1898)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1710)
at coldbox.system.ioc.dsl.cacheboxdsl_cfc$cf$y.udfCall(/coldbox/system/ioc/dsl/CacheBoxDSL.cfc:63)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:207)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:681)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:568)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1917)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:864)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1729)
at coldbox.system.ioc.builder_cfc$cf$v.udfCall2(/coldbox/system/ioc/Builder.cfc:478)
at coldbox.system.ioc.builder_cfc$cf$v.udfCall(/coldbox/system/ioc/Builder.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:207)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:681)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:568)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1917)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:864)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1729)
at coldbox.system.ioc.injector_cfc$cf$l.udfCall3(/coldbox/system/ioc/Injector.cfc:943)
at coldbox.system.ioc.injector_cfc$cf$l.udfCall(/coldbox/system/ioc/Injector.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:779)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1710)
at coldbox.system.ioc.injector_cfc$cf$l.udfCall1(/coldbox/system/ioc/Injector.cfc:699)
at coldbox.system.ioc.injector_cfc$cf$l.udfCall(/coldbox/system/ioc/Injector.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:207)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:681)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:568)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1917)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:864)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1729)
at coldbox.system.ioc.scopes.singleton_cfc$cf$12.udfCall(/coldbox/system/ioc/scopes/Singleton.cfc:77)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:680)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:568)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1898)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1710)
at coldbox.system.ioc.injector_cfc$cf$l.udfCall1(/coldbox/system/ioc/Injector.cfc:417)
at coldbox.system.ioc.injector_cfc$cf$l.udfCall(/coldbox/system/ioc/Injector.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:680)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:568)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1898)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1710)
at coldbox.system.ioc.config.binder_cfc$cf$t.udfCall7(/coldbox/system/ioc/config/Binder.cfc:1288)
at coldbox.system.ioc.config.binder_cfc$cf$t.udfCall(/coldbox/system/ioc/config/Binder.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:212)
at lucee.runtime.type.EnvUDF.call(EnvUDF.java:109)
at lucee.runtime.functions.closure.Each._call(Each.java:214)
at lucee.runtime.functions.closure.Each.invoke(Each.java:194)
at lucee.runtime.functions.closure.Each._call(Each.java:98)
at lucee.runtime.functions.closure.Each.call(Each.java:66)
at lucee.runtime.functions.struct.StructEach._call(StructEach.java:50)
at lucee.runtime.functions.struct.StructEach.call(StructEach.java:38)
at lucee.runtime.functions.struct.StructEach.invoke(StructEach.java:55)
at lucee.runtime.interpreter.ref.func.BIFCall.getValue(BIFCall.java:134)
at lucee.runtime.type.util.MemberUtil.call(MemberUtil.java:117)
at lucee.runtime.type.util.StructSupport.call(StructSupport.java:277)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1710)
at coldbox.system.ioc.config.binder_cfc$cf$t.udfCall7(/coldbox/system/ioc/config/Binder.cfc:1289)
at coldbox.system.ioc.config.binder_cfc$cf$t.udfCall(/coldbox/system/ioc/config/Binder.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:680)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:568)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1898)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1710)
at coldbox.system.ioc.injector_cfc$cf$l.udfCall1(/coldbox/system/ioc/Injector.cfc:265)
at coldbox.system.ioc.injector_cfc$cf$l.udfCall(/coldbox/system/ioc/Injector.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:779)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1710)
at coldbox.system.ioc.injector_cfc$cf$l.udfCall1(/coldbox/system/ioc/Injector.cfc:190)
at coldbox.system.ioc.injector_cfc$cf$l.udfCall(/coldbox/system/ioc/Injector.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:680)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:568)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1898)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1710)
at coldbox.system.web.services.loaderservice_cfc$cf$5.udfCall1(/coldbox/system/web/services/LoaderService.cfc:174)
at coldbox.system.web.services.loaderservice_cfc$cf$5.udfCall(/coldbox/system/web/services/LoaderService.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:779)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1710)
at coldbox.system.web.services.loaderservice_cfc$cf$5.udfCall1(/coldbox/system/web/services/LoaderService.cfc:60)
at coldbox.system.web.services.loaderservice_cfc$cf$5.udfCall(/coldbox/system/web/services/LoaderService.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:680)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:568)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1898)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1710)
at coldbox.system.bootstrap_cfc$cf.udfCall1(/coldbox/system/Bootstrap.cfc:98)
at coldbox.system.bootstrap_cfc$cf.udfCall(/coldbox/system/Bootstrap.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:680)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:568)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1898)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1710)
at application_cfc$cf$16.udfCall(/Application.cfc:108)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:680)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:568)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1898)
at lucee.runtime.listener.ModernAppListener.call(ModernAppListener.java:436)
at lucee.runtime.listener.ModernAppListener.onApplicationStart(ModernAppListener.java:303)
at lucee.runtime.PageContextImpl.initApplicationContext(PageContextImpl.java:3077)
at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:119)
at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:42)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2416)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2406)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2381)
at lucee.runtime.engine.Request.exe(Request.java:43)
at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1170)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1116)
at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
at org.cfmlprojects.regexpathinfofilter.RegexPathInfoFilter.doFilter(RegexPathInfoFilter.java:47)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:405)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at runwar.Server$1.handleRequest(Server.java:531)
at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)
at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:387)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
at java.base/java.lang.Thread.run(Thread.java:832)

Timestamp 2/21/21 1:34:39 PM PST

I made some progress in solving my own issue.

It appears that cacheBox() is created, but init() is not run until after wireBox has finished wiring up and processing all eagerInit() calls. Some of my eagerInit() calls had injected cacheBox with specific cachenames (inject=“cacheBox:app” for instance).

I removed all asEagerInit() calls in my wirebox config cfc and the problem went away.

However, this does beg the question as to why this worked in ColdBox 5 and not in ColdBox 6… and is this a regression?

@Jamie_Salvatori ,
I am facing the same issue. Did you resolve it?

Without seeing how you are doing mappings, it really is very very difficult for us to help. We would have to have a way to replicate the issue.

1 Like

hey @lmajano ,
this is what I have as configs:

cacheBox = {
	//configfile="DTSBase.dts.config.CacheBox"
	defaultCache : {
		objectDefaultTimeout : 4800, 
		objectDefaultLastAccessTimeout : 4800, 
		useLastAccessTimeouts : true,
		reapFrequency : 5,
		freeMemoryPercentageThreshold : 0,
		evictionPolicy : "LRU",
		evictCount : 1,
		maxObjects : 300,
		objectStore : "ConcurrentStore", //guaranteed objects
		coldboxEnabled : true
	},
		
	// Register all the custom named caches you like here
	caches : {
		// Named cache for all coldbox event and view template caching
		template : {
			provider : "coldbox.system.cache.providers.CacheBoxColdBoxProvider",
			properties : {
				objectDefaultTimeout : 120,
				objectDefaultLastAccessTimeout : 30,
				useLastAccessTimeouts : true,
				freeMemoryPercentageThreshold : 0,
				reapFrequency : 2,
				evictionPolicy : "LRU",
				evictCount : 2,
				maxObjects : 300,
				objectStore : "ConcurrentSoftReferenceStore" //memory sensitive
			}
		},		
		General : {
			provider : "setBelow",
			properties : {
				objectDefaultTimeout : 600,
				objectDefaultLastAccessTimeout : 600,
				useLastAccessTimeouts : true,
				freeMemoryPercentageThreshold : 0,
				reapFrequency : 2,
				evictionPolicy : "LRU",
				evictCount : 2,
				maxObjects : 10000,
				objectStore : "ConcurrentSoftReferenceStore" //memory sensitive
			}
		}		
	}
};

if (not settings.localhost) {
	cacheBox.caches.General.provider = "MyApp.models.cacheProviders.MyCouchbaseCBProvider";
	cacheBox.caches.General.properties.servers = "couchbaseServers";
	cacheBox.caches.General.properties.bucket = "couchbaseBucket";
} else {
	cacheBox.caches.General.provider = "coldbox.system.cache.providers.CacheBoxColdBoxProvider";
}

I tried configs under config/ColdBox.cfc and config/CacheBox.cfc - result is the same.
I don’t have any mappings under config/Wirebox.cfc

This is the stack trace:

 lucee.runtime.exp.ExpressionException: Component [coldbox.system.cache.CacheFactory] has no accessible Member with name [lockName]
     at lucee.runtime.ComponentScopeShadow.get(ComponentScopeShadow.java:130)
     at system.cache.cachefactory_cfc$cf$1.udfCall1(/coldbox/system/cache/CacheFactory.cfc:276)
     at system.cache.cachefactory_cfc$cf$1.udfCall(/coldbox/system/cache/CacheFactory.cfc)
     at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
     at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
     at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
     at lucee.runtime.ComponentImpl._call(ComponentImpl.java:698)
     at lucee.runtime.ComponentImpl._call(ComponentImpl.java:586)
     at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1933)
     at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
     at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1775)
     at system.ioc.scopes.cachebox_cfc$cf.udfCall(/coldbox/system/ioc/scopes/CacheBox.cfc:51)
     at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
     at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
     at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
     at lucee.runtime.ComponentImpl._call(ComponentImpl.java:698)
     at lucee.runtime.ComponentImpl._call(ComponentImpl.java:586)
     at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1933)
     at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
     at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1775)
     at system.ioc.injector_cfc$cf.udfCall1(/coldbox/system/ioc/Injector.cfc:508)
     at system.ioc.injector_cfc$cf.udfCall(/coldbox/system/ioc/Injector.cfc)
     at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
     at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
     at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
     at lucee.runtime.ComponentImpl._call(ComponentImpl.java:698)
     at lucee.runtime.ComponentImpl._call(ComponentImpl.java:586)
     at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1933)
     at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
     at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1775)
     at system.ioc.builder_cfc$cf.udfCall3(/coldbox/system/ioc/Builder.cfc:865)
     at system.ioc.builder_cfc$cf.udfCall(/coldbox/system/ioc/Builder.cfc)
     at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
     at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
     at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
     at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:804)
     at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866)
     at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1794)
     at system.ioc.builder_cfc$cf.udfCall2(/coldbox/system/ioc/Builder.cfc:579)
     at system.ioc.builder_cfc$cf.udfCall(/coldbox/system/ioc/Builder.cfc)

Ok, this tells me something is using CacheBox for storage persistence. However, it might seem that this is being done BEFORE cachebox is even initialized. Can you check what objects you have with component scope="CacheBox"

Usually this error means that something is being requested to be stored in the Cache, but the Cache has not initialized yet.

Thank you @lmajano.

To be honest it is a bit weird, I am not using scope=“CacheBox” at all.

The only place where I am using cachebox is: ‘MyApp.models.cacheProviders.MyCouchbaseCBProvider’
it is extending “CouchbaseColdBoxProvider” from the couchbase-cachebox-provider module.

Not sure what to tell you. Something is requesting this scope. You will need to look in the full stacktrace, to see where this is coming from.

Hey @lmajano ,

I manadge to find that the following:

property name="cache" inject="cachebox:General" scope="variables";

is used in one of the aspects. Any ideas about resolving the issue?

Have you tried using the Provider Namespace to see if that resolves it? I haven’t used is with cachebox injection myself but worth testing.

property name="cache" inject="provider:cachebox:General" scope="variables";

@MikeR,

I tried it, but in that case it is loading ‘default’.

I think the issue is that aspects are mapped before even the Cache framework loads up. So in this case, it seems it’s a chicken and the egg issue.

Try

property name="cache" inject="provider:cachebox:General"

This scope setting on this line mentioned above caught my eye:

I’m not all that experienced but I’ve never seen that before. I can’t find it in the Adobe docs. Maybe this is a Lucee thing. Could someone comment on what this is and why it is used?