Cache default is not registered

406 views
Skip to first unread message

Rob Daniels

unread,
Feb 10, 2012, 8:09:02 AM2/10/12
to ColdBox Platform
We've recently upgraded to CBox 3.5 beta and our Application.log is
filling up with "Cache default is not registered" errors (around 10
entries / minute). I believe these errors are hitting before it
processes our config/Coldbox.cfc because in our config I have

exceptionHandler = "Main.onException",

where i'm telling it to log errors in a different log file
(ColdboxExceptions.log). I think these errors are invisible to the
user, but every 2-3 hours -it'll just puke, and then my
ColdboxExceptions.log fills up with stuff like

Exception Caught by ColdBox | The '' name is not a valid component or
interface name. | | Component and interface names cannot be empty and
cannot start or end with a period. | | at
cfMapping2ecfc2121321959$funcPROCESS.runFunction(D:\ColdBox35beta
\system\ioc\config\Mapping.cfc:538) | http_user_agent=Mozilla/5.0
(Windows NT 6.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 |
remote_host=60.169.78.15 | http_referer=http://www.delphiglass.com/
error | q=mode=2 | path_info=/page/main_email | page=homepage

When that happens - the users get error messages. I've made sure
objects don't persist past the end of the request (not in session or
app scope). We're running CF Server 9,0,1,274733 (9.0.1 hotfix 1).
We're using Wirebox, Cachebox, and Logbox. Below is the stack trace -
any help would be greatly appreciated



250
"Error","jrpp-1124","02/09/12","13:48:46","BF024109E5E1BC53CE4E598893B7F8F2","Cache
default is not registered.Valid cache names are The specific sequence
of files included or processed is: D:\webroot\delphiglass_com
\index.cfm, line: 191 "
251 coldfusion.runtime.CustomException: Cache default is not
registered.
252 at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:
142)
253 at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:
2722)
254 at cfCacheFactory2ecfc1682456342$funcGETCACHE.runFunction(D:
\ColdBox35beta\system\cache\CacheFactory.cfc:191)
255 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
256 at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
257 at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
258 at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
259 at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
55)
260 at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:
321)
261 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
262 at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:
491)
263 at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:
337)
264 at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
265 at cfCacheBox2ecfc1171583748$funcGETFROMSCOPE.runFunction(D:
\ColdBox35beta\system\ioc\scopes\CacheBox.cfc:34)
266 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
267 at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
268 at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
269 at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
270 at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
55)
271 at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:
321)
272 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
273 at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:
491)
274 at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:
337)
275 at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
276 at cfInjector2ecfc1728929624$funcGETINSTANCE.runFunction(D:
\ColdBox35beta\system\ioc\Injector.cfc:262)
277 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
278 at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
279 at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
280 at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
281 at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
55)
282 at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:
321)
283 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
284 at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:
491)
285 at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:
337)
286 at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
287 at cfPluginService2ecfc910996563$funcNEW.runFunction(D:
\ColdBox35beta\system\web\services\PluginService.cfc:141)
288 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
289 at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
290 at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
291 at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
292 at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
55)
293 at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:
321)
294 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517)
295 at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2547)
296 at cfPluginService2ecfc910996563$funcGET.runFunction(D:
\ColdBox35beta\system\web\services\PluginService.cfc:157)
297 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
298 at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
299 at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
300 at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
301 at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
55)
302 at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:
321)
303 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
304 at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:
491)
305 at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:
337)
306 at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
307 at cfController2ecfc1522733140$funcGETPLUGIN.runFunction(D:
\ColdBox35beta\system\web\Controller.cfc:325)
308 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
309 at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
310 at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
311 at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
312 at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
55)
313 at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:
321)
314 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
315 at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:
491)
316 at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:
337)
317 at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
318 at
cfExceptionService2ecfc179506075$funcEXCEPTIONHANDLER.runFunction(D:
\ColdBox35beta\system\web\services\ExceptionService.cfc:40)
319 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
320 at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
321 at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
322 at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
323 at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
55)
324 at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:
321)
325 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
326 at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:
491)
327 at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:
337)
328 at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
329 at
cfColdbox2ecfc989220004$funcPROCESSCOLDBOXREQUEST.runFunction(D:
\ColdBox35beta\system\Coldbox.cfc:306)
330 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
331 at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
332 at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
333 at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
55)
334 at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:
321)
335 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
336 at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)
337 at cfApplication2ecfc206493347$funcONREQUESTSTART.runFunction(D:
\webroot\delphiglass_com\Application.cfc:64)
338 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
339 at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
340 at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
341 at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
55)
342 at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:
321)
343 at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
344 at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:
491)
345 at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:
337)
346 at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:
88)
347 at
coldfusion.runtime.AppEventInvoker.onRequestStart(AppEventInvoker.java:
258)
348 at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:
349)
349 at
coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:
48)
350 at
coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
351 at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
352 at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:
70)
353 at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:
28)
354 at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:
38)
355 at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:
46)
356 at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:
38)
357 at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
358 at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:
62)
359 at coldfusion.CfmServlet.service(CfmServlet.java:200)
360 at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:
89)
361 at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
362 at
com.intergral.fusionreactor.filter.FusionReactorFilter.c(FusionReactorFilter.java:
428)
363 at
com.intergral.fusionreactor.filter.FusionReactorFilter.d(FusionReactorFilter.java:
262)
364 at
com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(FusionReactorFilter.java:
171)
365 at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
366 at com.seefusion.Filter.doFilter(Filter.java:49)
367 at com.seefusion.SeeFusion.doFilter(SeeFusion.java:1500)
368 at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
369 at
coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:
42)
370 at
coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:
46)
371 at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
372 at jrun.servlet.FilterChain.service(FilterChain.java:101)
373 at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
374 at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:
42)
375 at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:
286)
376 at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:
543)
377 at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:
203)
378 at jrunx.scheduler.ThreadPool
$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
379 at jrunx.scheduler.ThreadPool
$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
380 at jrunx.scheduler.ThreadPool
$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
381 at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Luis Majano

unread,
Feb 13, 2012, 12:27:32 PM2/13/12
to col...@googlegroups.com
Is this the beta or latest development branch

Sent from my iPhone

> --
> You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
> To post to this group, send email to col...@googlegroups.com
> To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
> For more options, visit this group at http://groups-beta.google.com/group/coldbox
> For News, visit http://blog.coldbox.org
> For Documentation, visit http://wiki.coldbox.org

Rob Daniels

unread,
Feb 14, 2012, 9:04:02 AM2/14/12
to ColdBox Platform
I'm using the published 3.5.0 beta, the top link on the ColdBox.org
download page

Upcoming Release: 3.5.0 Beta (CodeName: SEEK-Jeremiah 29:13)

coldbox-buildID-201111231518




On Feb 13, 12:27 pm, Luis Majano <lmaj...@gmail.com> wrote:
> Is this the beta or latest development branch
>
> Sent from my iPhone
>
> ...
>
> read more »

Luis Majano

unread,
Feb 14, 2012, 4:30:00 PM2/14/12
to col...@googlegroups.com
Can you try the latest from github, it will be the final core next week -> https://github.com/ColdBox/coldbox-platform/tree/development

Please try it as this is the final core for release

Rob Daniels

unread,
Feb 15, 2012, 9:51:11 PM2/15/12
to ColdBox Platform
thanks Luis - i'll give it a shot




On Feb 14, 4:30 pm, Luis Majano <lmaj...@gmail.com> wrote:
> Can you try the latest from github, it will be the final core next week ->https://github.com/ColdBox/coldbox-platform/tree/development
>
> Please try it as this is the final core for release
>
> Luis F. Majano
> CEO
> Ortus Solutions, Corpwww.ortussolutions.com(http://www.ortussolutions.com)
> Social: twitter.com/lmajano (http://twitter.com/lmajano) facebook.com/lmajano (http://facebook.com/lmajano)
>
>
>
> On Tuesday, February 14, 2012 at 6:04 AM, Rob Daniels wrote:
> > I'm using the published 3.5.0 beta, the top link on the ColdBox.org (http://ColdBox.org)
> > download page
>
> > Upcoming Release: 3.5.0 Beta (CodeName: SEEK-Jeremiah 29:13)
>
> > coldbox-buildID-201111231518
>
> > On Feb 13, 12:27 pm, Luis Majano <lmaj...@gmail.com (http://gmail.com)> wrote:
> > > Is this the beta or latest development branch
>
> > > Sent from my iPhone
>
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -

Marcus Cox

unread,
Mar 1, 2012, 12:05:28 AM3/1/12
to col...@googlegroups.com
I am getting the same error even with the latest dev build (Coldbox 3.5.0.Beta-163). It eventually brings my site to a halt and I have to restart the cf service to get site back working. The error I get is below. Any suggestions to fix?

Cache default is not registered.
Valid cache names are
 
The error occurred in C:/inetpub/wwwroot/coldbox3.5Beta_163/system/cache/CacheFactory.cfc: line 191
Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/ioc/scopes/CacheBox.cfc: line 34
Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/ioc/Injector.cfc: line 262
Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/web/services/PluginService.cfc: line 133
Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/web/services/PluginService.cfc: line 149
Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/web/Controller.cfc: line 326
Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/web/services/ExceptionService.cfc: line 40
Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/Coldbox.cfc: line 338
Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/Coldbox.cfc: line 370
189 : </cfif>
190 : <!--- Not Found --->
191 : <cfthrow message="Cache #arguments.name# is not registered." detail="Valid cache names are #structKeyList(instance.caches)#" type="CacheFactory.CacheNotFoundException">
192 : </cflock>
193 :
Resources:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser   Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.45 Safari/535.19
Remote Address   76.182.238.172
Referrer  
Date/Time   29-Feb-12 10:19 PM
Stack Trace
at cfCacheFactory2ecfc597035612$funcGETCACHE.runFunction(C:/inetpub/wwwroot/coldbox3.5Beta_163/system/cache/CacheFactory.cfc:191) at cfCacheBox2ecfc530818698$funcGETFROMSCOPE.runFunction(C:/inetpub/wwwroot/coldbox3.5Beta_163/system/ioc/scopes/CacheBox.cfc:34) at cfInjector2ecfc1493728402$funcGETINSTANCE.runFunction(C:/inetpub/wwwroot/coldbox3.5Beta_163/system/ioc/Injector.cfc:262) at cfPluginService2ecfc1487812626$funcNEW.runFunction(C:/inetpub/wwwroot/coldbox3.5Beta_163/system/web/services/PluginService.cfc:133) at cfPluginService2ecfc1487812626$funcGET.runFunction(C:/inetpub/wwwroot/coldbox3.5Beta_163/system/web/services/PluginService.cfc:149) at cfController2ecfc80241765$funcGETPLUGIN.runFunction(C:/inetpub/wwwroot/coldbox3.5Beta_163/system/web/Controller.cfc:326) at cfExceptionService2ecfc1887342974$funcEXCEPTIONHANDLER.runFunction(C:/inetpub/wwwroot/coldbox3.5Beta_163/system/web/services/ExceptionService.cfc:40) at cfColdbox2ecfc1245391658$funcPROCESSCOLDBOXREQUEST.runFunction(C:/inetpub/wwwroot/coldbox3.5Beta_163/system/Coldbox.cfc:338) at cfColdbox2ecfc1245391658$funcONREQUESTSTART.runFunction(C:/inetpub/wwwroot/coldbox3.5Beta_163/system/Coldbox.cfc:370) 

coldfusion.runtime.CustomException: Cache default is not registered.
at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
at cfCacheFactory2ecfc597035612$funcGETCACHE.runFunction(C:\inetpub\wwwroot\coldbox3.5Beta_163\system\cache\CacheFactory.cfc:191)
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 cfCacheBox2ecfc530818698$funcGETFROMSCOPE.runFunction(C:\inetpub\wwwroot\coldbox3.5Beta_163\system\ioc\scopes\CacheBox.cfc:34)
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 cfInjector2ecfc1493728402$funcGETINSTANCE.runFunction(C:\inetpub\wwwroot\coldbox3.5Beta_163\system\ioc\Injector.cfc:262)
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 cfPluginService2ecfc1487812626$funcNEW.runFunction(C:\inetpub\wwwroot\coldbox3.5Beta_163\system\web\services\PluginService.cfc:133)
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 cfPluginService2ecfc1487812626$funcGET.runFunction(C:\inetpub\wwwroot\coldbox3.5Beta_163\system\web\services\PluginService.cfc:149)
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 cfController2ecfc80241765$funcGETPLUGIN.runFunction(C:\inetpub\wwwroot\coldbox3.5Beta_163\system\web\Controller.cfc:326)
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 cfExceptionService2ecfc1887342974$funcEXCEPTIONHANDLER.runFunction(C:\inetpub\wwwroot\coldbox3.5Beta_163\system\web\services\ExceptionService.cfc:40)
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 cfColdbox2ecfc1245391658$funcPROCESSCOLDBOXREQUEST.runFunction(C:\inetpub\wwwroot\coldbox3.5Beta_163\system\Coldbox.cfc:338)
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 cfColdbox2ecfc1245391658$funcONREQUESTSTART.runFunction(C:\inetpub\wwwroot\coldbox3.5Beta_163\system\Coldbox.cfc:370)
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.AppEventInvoker.invoke(AppEventInvoker.java:88)
at coldfusion.runtime.AppEventInvoker.onRequestStart(AppEventInvoker.java:258)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:349)
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.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:200)
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$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Luis Majano

unread,
Mar 1, 2012, 3:20:22 AM3/1/12
to col...@googlegroups.com
I have never seen this.  Can you post your exception handler call? For some reason it is when it is trying to get a plugin.

Can you try with the latest code on the development branch as well, not the beta.  The code on the development branch is the final release.

Luis F. Majano
CEO
Ortus Solutions, Corp

--

Marcus Cox

unread,
Mar 1, 2012, 10:19:48 AM3/1/12
to ColdBox Platform
Hi Luis,
I am using the latest development build, zip file name: "ColdBox-
coldbox-platform-3.5.0.Beta-163-g5cfa1f8.zip"
Here is what I have in my onException Handler:

public void function onException(event,rc,prc) {
var exceptionBean = Event.getValue("exceptionBean");
var extraInfo = {};
extraInfo.Memento = exceptionBean.getMemento();
extraInfo.RCVars = arguments.rc;
extraInfo.PRCVars = arguments.prc;
extraInfo.CGIVars = cgi;


variables.emaillogger.error("MESSAGE:#exceptionBean.getExceptionStruct().message#",extraInfo);
}

Not sure how or why the error occurs..I will continue to monitor it
today and try and track it down.
Thanks!

On Mar 1, 2:20 am, Luis Majano <lmaj...@gmail.com> wrote:
> I have never seen this.  Can you post your exception handler call? For some reason it is when it is trying to get a plugin.
>
> Can you try with the latest code on the development branch as well, not the beta.  The code on the development branch is the final release.
>
> Luis F. Majano
> CEO
> On Wednesday, February 29, 2012 at 9:05 PM, Marcus Cox wrote:
> > I am getting the same error even with the latest dev build (Coldbox 3.5.0.Beta-163). It eventually brings my site to a halt and I have to restart the cf service to get site back working. The error I get is below. Any suggestions to fix?
>
> > Cache default is not registered.
> > Valid cache names are
>
> > The error occurred in C:/inetpub/wwwroot/coldbox3.5Beta_163/system/cache/CacheFactory.cfc: line 191
> > Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/ioc/scopes/CacheBox.cfc: line 34
> > Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/ioc/Injector.cfc: line 262
> > Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/web/services/PluginService.cfc : line 133
> > Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/web/services/PluginService.cfc : line 149
> > Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/web/Controller.cfc: line 326
> > Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/web/services/ExceptionService. cfc: line 40
> > Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/Coldbox.cfc: line 338
> > Called from C:/inetpub/wwwroot/coldbox3.5Beta_163/system/Coldbox.cfc: line 370
> > 189 : </cfif>
> > 190 : <!--- Not Found --->
> > 191 : <cfthrow message="Cache #arguments.name (http://arguments.name)#is not registered." detail="Valid cache names are #structKeyList(instance.caches)#" type="CacheFactory.CacheNotFoundException">
> > 192 : </cflock>
> > 193 :
> > Resources:
> > Check the ColdFusion documentation to verify that you are using the correct syntax.
> > Search the Knowledge Base to find a solution to your problem.
> > Browser   Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.45 Safari/535.19
> > Remote Address   76.182.238.172
> > Referrer
> > Date/Time   29-Feb-12 10:19 PM
> > Stack Trace
> > at cfCacheFactory2ecfc597035612$funcGETCACHE.runFunction(C:/inetpub/wwwroot/co ldbox3.5Beta_163/system/cache/CacheFactory.cfc:191) at cfCacheBox2ecfc530818698$funcGETFROMSCOPE.runFunction(C:/inetpub/wwwroot/co ldbox3.5Beta_163/system/ioc/scopes/CacheBox.cfc:34) at cfInjector2ecfc1493728402$funcGETINSTANCE.runFunction(C:/inetpub/wwwroot/co ldbox3.5Beta_163/system/ioc/Injector.cfc:262) at cfPluginService2ecfc1487812626$funcNEW.runFunction(C:/inetpub/wwwroot/coldb ox3.5Beta_163/system/web/services/PluginService.cfc:133) at cfPluginService2ecfc1487812626$funcGET.runFunction(C:/inetpub/wwwroot/coldb ox3.5Beta_163/system/web/services/PluginService.cfc:149) at cfController2ecfc80241765$funcGETPLUGIN.runFunction(C:/inetpub/wwwroot/cold box3.5Beta_163/system/web/Controller.cfc:326) at cfExceptionService2ecfc1887342974$funcEXCEPTIONHANDLER.runFunction(C:/inetp ub/wwwroot/coldbox3.5Beta_163/system/web/services/ExceptionService.cfc:40) at cfColdbox2ecfc1245391658$funcPROCESSCOLDBOXREQUEST.runFunction(C:/inetpub/w wwroot/coldbox3.5Beta_163/system/Coldbox.cfc:338) at cfColdbox2ecfc1245391658$funcONREQUESTSTART.runFunction(C:/inetpub/wwwroot/ coldbox3.5Beta_163/system/Coldbox.cfc:370)
>
> > coldfusion.runtime.CustomException: Cache default is not registered.
> > at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142)
> > at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
> > at cfCacheFactory2ecfc597035612$funcGETCACHE.runFunction(C:\inetpub\wwwroot\co ldbox3.5Beta_163\system\cache\CacheFactory.cfc:191)
> > 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 cfCacheBox2ecfc530818698$funcGETFROMSCOPE.runFunction(C:\inetpub\wwwroot\co ldbox3.5Beta_163\system\ioc\scopes\CacheBox.cfc:34)
> > 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 cfInjector2ecfc1493728402$funcGETINSTANCE.runFunction(C:\inetpub\wwwroot\co ldbox3.5Beta_163\system\ioc\Injector.cfc:262)
> > 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 cfPluginService2ecfc1487812626$funcNEW.runFunction(C:\inetpub\wwwroot\coldb ox3.5Beta_163\system\web\services\PluginService.cfc:133)
> > 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 cfPluginService2ecfc1487812626$funcGET.runFunction(C:\inetpub\wwwroot\coldb ox3.5Beta_163\system\web\services\PluginService.cfc:149)
> > 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 cfController2ecfc80241765$funcGETPLUGIN.runFunction(C:\inetpub\wwwroot\cold box3.5Beta_163\system\web\Controller.cfc:326)
> > 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 cfExceptionService2ecfc1887342974$funcEXCEPTIONHANDLER.runFunction(C:\inetp ub\wwwroot\coldbox3.5Beta_163\system\web\services\ExceptionService.cfc:40)
> > 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 cfColdbox2ecfc1245391658$funcPROCESSCOLDBOXREQUEST.runFunction(C:\inetpub\w wwroot\coldbox3.5Beta_163\system\Coldbox.cfc:338)
> > 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
>
> ...
>
> read more »

Luis Majano

unread,
Mar 1, 2012, 2:36:35 PM3/1/12
to col...@googlegroups.com
Yes, please do, as I can't figure it out.  What is email logger?

Luis F. Majano
CEO
Ortus Solutions, Corp

Marcus Cox

unread,
Mar 1, 2012, 3:08:57 PM3/1/12
to ColdBox Platform
I feel it has something to do with using (or over using) fwreinit, but
haven't nailed it down yet.

emaillogger is the category name of a logger I use in LogBox (see
below). I then inject it into main.cfc (property name="emaillogger"
inject="logBox:logger:emaillogger";) and use in the onException
handler.

//LogBox DSL
logBox = {
// Define Appenders
appenders = {
myCBTracer =
{class="coldbox.system.logging.appenders.ColdboxTracerAppender"}
,myAsyncLogFile =
{class="coldbox.system.logging.appenders.AsyncRollingFileAppender",properties={filePath="/
logs"}}
,emailLog =
{class="coldbox.system.logging.appenders.EmailAppender",properties={from='1...@123.org',to='3...@321.org',cc='4...@456.org',subject='Error
Email',mailserver='10.0.0.1'},levelMin = "FATAL"}
},
// Root Logger
root = { levelmax="ERROR", appenders="*" },
categories = {"emaillogger" = {levelMax= "ERROR",
appenders="emailLog" }}
// Implicit Level Categories
,OFF = [ "coldbox.system" ]
};

On Mar 1, 1:36 pm, Luis Majano <lmaj...@gmail.com> wrote:
> Yes, please do, as I can't figure it out.  What is email logger?
>
> Luis F. Majano
> CEO
> On Thursday, March 1, 2012 at 7:19 AM, Marcus Cox wrote:
> > Hi Luis,
> > I am using the latest development build, zip file name: "ColdBox-
> > coldbox-platform-3.5.0.Beta-163-g5cfa1f8.zip"
> > Here is what I have in my onException Handler:
>
> > public void function onException(event,rc,prc) {
> > var exceptionBean = Event.getValue("exceptionBean");
> > var extraInfo = {};
> > extraInfo.Memento = exceptionBean.getMemento();
> > extraInfo.RCVars = arguments.rc;
> > extraInfo.PRCVars = arguments.prc;
> > extraInfo.CGIVars = cgi;
>
> > variables.emaillogger.error("MESSAGE:#exceptionBean.getExceptionStruct().me ssage#",extraInfo);
> > }
>
> > Not sure how or why the error occurs..I will continue to monitor it
> > today and try and track it down.
> > Thanks!
>
> > > > 191 : <cfthrow message="Cache #arguments.name (http://arguments.name)#isnot registered." detail="Valid cache names are #structKeyList(instance.caches)#" type="CacheFactory.CacheNotFoundException">
> ...
>
> read more »

Jeff Reese

unread,
Mar 14, 2012, 1:29:31 PM3/14/12
to col...@googlegroups.com
I am having the same issue and it pretty much happens on every reinit of the application. I am not sure if this matters or not, but we use template caching on the coldfusion server as well, and I always clear the cache before reiniting. I just tried a reinit without doing that, and it worked. That could be for other reasons though, since I hadn't pushed any new code. Just trying to provide any info that might be helpful.

The web site you are accessing has experienced an unexpected error.
Please contact the website administrator. 


The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request

Cache default is not registered.

Valid cache names are
 
The error occurred in C:/Projects/kostizi/coldbox/system/cache/CacheFactory.cfc: line 191
Called from C:/Projects/kostizi/coldbox/system/ioc/scopes/CacheBox.cfc: line 34
Called from C:/Projects/kostizi/coldbox/system/ioc/Injector.cfc: line 262
Called from C:/Projects/kostizi/coldbox/system/web/services/PluginService.cfc: line 141
Called from C:/Projects/kostizi/coldbox/system/web/services/PluginService.cfc: line 157
Called from C:/Projects/kostizi/coldbox/system/web/Controller.cfc: line 325
Called from C:/Projects/kostizi/coldbox/system/web/services/ExceptionService.cfc: line 40
Called from C:/Projects/kostizi/coldbox/system/Coldbox.cfc: line 306
Called from C:/Projects/kostizi/Application.cfc: line 55
189 : 			</cfif>
190 : 			<!--- Not Found --->
191 : 			<cfthrow message="Cache #arguments.name# is not registered." detail="Valid cache names are #structKeyList(instance.caches)#" type="CacheFactory.CacheNotFoundException">
192 : 		</cflock>
193 : 		

Resources:

Browser  Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7
Remote Address  64.244.90.66
Referrer  
Date/Time  14-Mar-12 11:24 AM
Stack Trace
at cfCacheFactory2ecfc1518440375$funcGETCACHE.runFunction(C:/Projects/kostizi/coldbox/system/cache/CacheFactory.cfc:191) at cfCacheBox2ecfc1689428534$funcGETFROMSCOPE.runFunction(C:/Projects/kostizi/coldbox/system/ioc/scopes/CacheBox.cfc:34) at cfInjector2ecfc1954593894$funcGETINSTANCE.runFunction(C:/Projects/kostizi/coldbox/system/ioc/Injector.cfc:262) at cfPluginService2ecfc459197921$funcNEW.runFunction(C:/Projects/kostizi/coldbox/system/web/services/PluginService.cfc:141) at cfPluginService2ecfc459197921$funcGET.runFunction(C:/Projects/kostizi/coldbox/system/web/services/PluginService.cfc:157) at cfController2ecfc561303673$funcGETPLUGIN.runFunction(C:/Projects/kostizi/coldbox/system/web/Controller.cfc:325) at cfExceptionService2ecfc1249028850$funcEXCEPTIONHANDLER.runFunction(C:/Projects/kostizi/coldbox/system/web/services/ExceptionService.cfc:40) at cfColdbox2ecfc429874985$funcPROCESSCOLDBOXREQUEST.runFunction(C:/Projects/kostizi/coldbox/system/Coldbox.cfc:306) at cfApplication2ecfc239579282$funcONREQUESTSTART.runFunction(C:/Projects/kostizi/Application.cfc:55) 

coldfusion.runtime.CustomException: Cache default is not registered.
	at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142)
	at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
	at cfCacheFactory2ecfc1518440375$funcGETCACHE.runFunction(C:\Projects\kostizi\coldbox\system\cache\CacheFactory.cfc:191)
	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 cfCacheBox2ecfc1689428534$funcGETFROMSCOPE.runFunction(C:\Projects\kostizi\coldbox\system\ioc\scopes\CacheBox.cfc:34)
	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 cfInjector2ecfc1954593894$funcGETINSTANCE.runFunction(C:\Projects\kostizi\coldbox\system\ioc\Injector.cfc:262)
	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 cfPluginService2ecfc459197921$funcNEW.runFunction(C:\Projects\kostizi\coldbox\system\web\services\PluginService.cfc:141)
	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 cfPluginService2ecfc459197921$funcGET.runFunction(C:\Projects\kostizi\coldbox\system\web\services\PluginService.cfc:157)
	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 cfController2ecfc561303673$funcGETPLUGIN.runFunction(C:\Projects\kostizi\coldbox\system\web\Controller.cfc:325)
	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 cfExceptionService2ecfc1249028850$funcEXCEPTIONHANDLER.runFunction(C:\Projects\kostizi\coldbox\system\web\services\ExceptionService.cfc:40)
	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 cfColdbox2ecfc429874985$funcPROCESSCOLDBOXREQUEST.runFunction(C:\Projects\kostizi\coldbox\system\Coldbox.cfc:306)
	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 cfApplication2ecfc239579282$funcONREQUESTSTART.runFunction(C:\Projects\kostizi\Application.cfc:55)
	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.AppEventInvoker.invoke(AppEventInvoker.java:88)
	at coldfusion.runtime.AppEventInvoker.onRequestStart(AppEventInvoker.java:258)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:349)
	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.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:200)
	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$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

On Thursday, March 1, 2012 1:08:57 PM UTC-7, Marcus Cox wrote:
I feel it has something to do with using (or over using) fwreinit, but
haven't nailed it down yet.

emaillogger is the category name of a logger I use in LogBox (see
below). I then inject it into main.cfc (property name="emaillogger"
inject="logBox:logger:emaillogger";) and use in the onException
handler.

//LogBox DSL
logBox = {
        // Define Appenders
        appenders = {
                myCBTracer =
{class="coldbox.system.logging.appenders.ColdboxTracerAppender"}
                ,myAsyncLogFile =
{class="coldbox.system.logging.appenders.AsyncRollingFileAppender",properties={filePath="/
logs"}}
                ,emailLog =
{class="coldbox.system.logging.appenders.EmailAppender",properties={from='1...@123.org',to='321@321.org',cc='4...@456.org',subject='Error

Rob Daniels

unread,
Mar 17, 2012, 6:46:00 AM3/17/12
to ColdBox Platform
Hi Luis
Wednesday (March 14) we upgraded to the latest build (186) and it
helped with this issue. Instead of getting an average of 10 "Cache
default" errors every hour, now we're getting 4-6 a day. It seem to be
occurring in our off hours, I have some scheduled tasks that run
overnight, i know at least 1 of them does a fwreinit. What's weird is
now we're seeing this error occur in pairs (2 with the same time
stamp).

Update from CBoxBeta3.5 went very smooth, only had to tweak 1 thing on
the site. We had a small number of RenderView calls that had the view
value starting with "/", I did a global search & replace and it's gtg.
Ex: RenderView('/viewlets/cat_home') replaced with
RenderView('viewlets/cat_home')

Thanks again for the help!


Mar 17, 2012 5:59 AM Error jrpp-45
BF024109E5E1BC53CE4E598893B7F8F2
Cache default is not registered.Valid cache names are The specific
sequence of files included or processed is: D:\webroot\delphiglass_com
\index.cfm, line: 191
Mar 17, 2012 5:59 AM Error jrpp-54
BF024109E5E1BC53CE4E598893B7F8F2
Cache default is not registered.Valid cache names are The specific
sequence of files included or processed is: D:\webroot\delphiglass_com
\index.cfm, line: 191
Mar 17, 2012 4:16 AM Error jrpp-3
BF024109E5E1BC53CE4E598893B7F8F2
Cache default is not registered.Valid cache names are The specific
sequence of files included or processed is: D:\webroot\delphiglass_com
\index.cfm, line: 191
Mar 17, 2012 4:16 AM Error jrpp-14
BF024109E5E1BC53CE4E598893B7F8F2
Cache default is not registered.Valid cache names are The specific
sequence of files included or processed is: D:\webroot\delphiglass_com
\index.cfm, line: 191
Mar 17, 2012 3:45 AM Error jrpp-857
BF024109E5E1BC53CE4E598893B7F8F2
Cache default is not registered.Valid cache names are The specific
sequence of files included or processed is: D:\webroot\delphiglass_com
\index.cfm, line: 191






On Feb 14, 5:30 pm, Luis Majano <lmaj...@gmail.com> wrote:
> Can you try the latest from github, it will be the final core next week ->https://github.com/ColdBox/coldbox-platform/tree/development
>
> Please try it as this is the final core for release
>
> Luis F. Majano
> CEO
> Ortus Solutions, Corpwww.ortussolutions.com(http://www.ortussolutions.com)
> On Tuesday, February 14, 2012 at 6:04 AM, Rob Daniels wrote:
> > I'm using the published 3.5.0 beta, the top link on the ColdBox.org (http://ColdBox.org)
> > download page
>
> > Upcoming Release: 3.5.0 Beta (CodeName: SEEK-Jeremiah 29:13)
>
> > coldbox-buildID-201111231518
>
> > On Feb 13, 12:27 pm, Luis Majano <lmaj...@gmail.com (http://gmail.com)> wrote:
> > > Is this the beta or latest development branch
>
> > > Sent from my iPhone
>
> ...
>
> read more »

Tom Miller

unread,
Mar 17, 2012, 12:09:04 PM3/17/12
to col...@googlegroups.com
Rob

We too had a do a huge find and replace for views starting with a slash, so
you're not alone! :)

Tom.

--

Bean

unread,
Dec 20, 2013, 3:50:36 PM12/20/13
to col...@googlegroups.com
Why don't we modify RenderView to accept paths that start with "/"?

Eleni Hailu

unread,
Oct 14, 2014, 4:27:06 PM10/14/14
to col...@googlegroups.com
Recently, we upgraded our framework to 3.8.1 and sometime we are getting "Cache not registered" error during submission of  the Comment form.  I was wondering if someone found the solution for this issue.   Please help.

Daniel Mejia

unread,
Nov 28, 2016, 5:04:59 PM11/28/16
to ColdBox Platform
I just upgraded from 4.1.0 to 4.3.0 and on reinit I get the following error. my wirebox config is simple - scanLocations = ["models"]. 


The .modules.project.models.portfolioDAO name is not a valid component or interface name.

Component and interface names cannot be empty and cannot start or end with a period.
 
The error occurred in C:/Users/daniel.mejia/Development/frameworks/coldbox_4.3.0/system/core/util/Util.cfc: line 222
Called fromC:/Users/daniel.mejia/Development/frameworks/coldbox_4.3.0/system/ioc/config/Mapping.cfc: line 599
Called fromC:/Users/daniel.mejia/Development/frameworks/coldbox_4.3.0/system/ioc/config/Binder.cfc: line 991
Called fromC:/Users/daniel.mejia/Development/frameworks/coldbox_4.3.0/system/web/services/ModuleService.cfc: line 430
Called fromC:/Users/daniel.mejia/Development/frameworks/coldbox_4.3.0/system/web/services/ModuleService.cfc: line 345
Called fromC:/Users/daniel.mejia/Development/frameworks/coldbox_4.3.0/system/web/services/LoaderService.cfc: line 57
Called from C:/Users/daniel.mejia/Development/frameworks/coldbox_4.3.0/system/Bootstrap.cfc: line 70
Called from C:/Users/daniel.mejia/Development/sites/api.psomas.com/Application.cfc: line 30
220 : 				<cfset md = getMetaData(component)>
221 : 			<cfelse>
222 : 				<cfset md = getComponentMetaData(component)>
223 : 			</cfif>
224 : 		</cfif>

Resources:

Browser  Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
Remote Address  127.0.0.1
Referrer  
Date/Time  28-Nov-16 01:49 PM
Stack Trace
at cfUtil2ecfc1634070006$funcGETINHERITEDMETADATA.runFunction(C:/Users/daniel.mejia/Development/frameworks/coldbox_4.3.0/system/core/util/Util.cfc:222) at cfMapping2ecfc251396565$funcPROCESS.runFunction(C:/Users/daniel.mejia/Development/frameworks/coldbox_4.3.0/system/ioc/config/Mapping.cfc:599) at cfBinder2ecfc2126023632$funcPROCESSMAPPINGS.runFunction(C:/Users/daniel.mejia/Development/frameworks/coldbox_4.3.0/system/ioc/config/Binder.cfc:991) at cfModuleService2ecfc1093556874$funcACTIVATEMODULE.runFunction(C:/Users/daniel.mejia/Development/frameworks/coldbox_4.3.0/system/web/services/ModuleService.cfc:430) at cfModuleService2ecfc1093556874$funcACTIVATEALLMODULES.runFunction(C:/Users/daniel.mejia/Development/frameworks/coldbox_4.3.0/system/web/services/ModuleService.cfc:345) at cfLoaderService2ecfc1046179194$funcLOADAPPLICATION.runFunction(C:/Users/daniel.mejia/Development/frameworks/coldbox_4.3.0/system/web/services/LoaderService.cfc:57) at cfBootstrap2ecfc988333604$funcLOADCOLDBOX.runFunction(C:/Users/daniel.mejia/Development/frameworks/coldbox_4.3.0/system/Bootstrap.cfc:70) at cfApplication2ecfc1969521655$funcONAPPLICATIONSTART.runFunction(C:/Users/daniel.mejia/Development/sites/api.psomas.com/Application.cfc:30

coldfusion.runtime.TemplateProxyFactory$InvalidComponentNameException: The .modules.project.models.portfolioDAO name is not a valid component or interface name.
	at coldfusion.runtime.TemplateProxyFactory.getTemplateFileHelper(TemplateProxyFactory.java:1624)
	at coldfusion.runtime.MetadataUtils.getComponentMetadata(MetadataUtils.java:110)
	at coldfusion.runtime.CfJspPage.GetComponentMetadata(CfJspPage.java:3643)
	at cfUtil2ecfc1634070006$funcGETINHERITEDMETADATA.runFunction(C:\Users\daniel.mejia\Development\frameworks\coldbox_4.3.0\system\core\util\Util.cfc:222)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:492)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:388)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:339)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:234)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:650)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:439)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:409)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3091)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3068)
	at cfMapping2ecfc251396565$funcPROCESS.runFunction(C:\Users\daniel.mejia\Development\frameworks\coldbox_4.3.0\system\ioc\config\Mapping.cfc:599)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:492)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:425)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:388)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:339)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:538)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:464)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3013)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2988)
	at cfBinder2ecfc2126023632$funcPROCESSMAPPINGS.runFunction(C:\Users\daniel.mejia\Development\frameworks\coldbox_4.3.0\system\ioc\config\Binder.cfc:991)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:492)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:425)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:388)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:339)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:234)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:650)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:439)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:409)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3091)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3068)
	at cfModuleService2ecfc1093556874$funcACTIVATEMODULE.runFunction(C:\Users\daniel.mejia\Development\frameworks\coldbox_4.3.0\system\web\services\ModuleService.cfc:430)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:492)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:425)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:388)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:339)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:234)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:3544)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:3524)
	at cfModuleService2ecfc1093556874$funcACTIVATEALLMODULES.runFunction(C:\Users\daniel.mejia\Development\frameworks\coldbox_4.3.0\system\web\services\ModuleService.cfc:345)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:492)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:425)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:388)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:339)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:234)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:650)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:439)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:409)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3091)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3068)
	at cfLoaderService2ecfc1046179194$funcLOADAPPLICATION.runFunction(C:\Users\daniel.mejia\Development\frameworks\coldbox_4.3.0\system\web\services\LoaderService.cfc:57)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:492)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:425)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:388)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:339)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:234)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:650)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:439)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:409)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3091)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3068)
	at cfBootstrap2ecfc988333604$funcLOADCOLDBOX.runFunction(C:\Users\daniel.mejia\Development\frameworks\coldbox_4.3.0\system\Bootstrap.cfc:70)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:492)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:388)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:339)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:234)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:650)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:439)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:409)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3091)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3068)
	at cfApplication2ecfc1969521655$funcONAPPLICATIONSTART.runFunction(C:\Users\daniel.mejia\Development\sites\api.psomas.com\Application.cfc:30)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:492)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:425)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:388)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:339)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:234)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:650)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:439)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:409)
	at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:114)
	at coldfusion.runtime.AppEventInvoker.onApplicationStart(AppEventInvoker.java:237)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:345)
	at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43)
	at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
	at coldfusion.filter.PathFilter.invoke(PathFilter.java:142)
	at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30)
	at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
	at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60)
	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:219)
	at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
	at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at coldfusion.inspect.weinre.MobileDeviceDomInspectionFilter.doFilter(MobileDeviceDomInspectionFilter.java:121)
	at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:536)
	at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:898)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)

Luis Majano

unread,
Nov 28, 2016, 7:06:13 PM11/28/16
to coldbox
restart your server in any framework update please.

--
--
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
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.
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/e1865efe-1cfb-4201-a3a3-e2fca8105d42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Mejia

unread,
Nov 28, 2016, 7:58:19 PM11/28/16
to ColdBox Platform
Nada. I downgraded to 4.1.0 and it is working, then upgraded to 4.3.0 and restarted server and got the same exact error. 
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.

Luis Majano

unread,
Nov 28, 2016, 9:38:13 PM11/28/16
to coldbox
I think the error is clear that you are trying to instantiate a component with a "." in the beginning.
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.

br...@bradwood.com

unread,
Nov 28, 2016, 10:29:33 PM11/28/16
to col...@googlegroups.com
Daniel, is there a reason you didn't start a new thread for this?  Your error seems to be unrelated to the subject of this thread and the rest of the posts.
 
The issue as Luis pointed out is that the component path starts with a period.  Of course, the question is why.  Can you tell us a few things about your app?
  1. Is your ColdBox app in a subfolder
  2. have you set a coldbox_app_mapping in your Application.cfc
  3. Are you using the new modules_app convention yet?
  4. Where is the module "product" located on your hard drive?
  5. Are you using external module locations?
  6. Do you have a server-level mapping for your coldbox folder?  
  7. Are there other versions of ColdBox that still might be on your server and getting picked up either in the web root, or an application-specific mapping, or a server level mapping?
  8. Is there a reason you have a scan location of "models" set up? That is actually the default setting and you aren't required to set it.
Also, can you put some debugging code in the ModuleService around line 422 is this chunk:

// Add as a mapped directory with module name as the namespace with correct mapping path
var packagePath = ( len( mConfig.cfmapping ) ? mConfig.cfmapping & ".#mConfig.conventions.modelsLocation#" : mConfig.modelsInvocationPath );
if( len( mConfig.modelNamespace ) ){
  wirebox.getBinder().mapDirectory( packagePath=packagePath, namespace="@#mConfig.modelNamespace#" );
} else {
  // just register with no namespace
  wirebox.getBinder().mapDirectory( packagePath=packagePath );
}

Check and see what the value of the mConfig.cfmapping variable is.  If it's an empty string, the leading period shouldn't be appended, but it's possible it's something tricky like some whitespace.

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 ---------
--
--
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
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.

Daniel Mejia

unread,
Nov 29, 2016, 2:35:58 PM11/29/16
to ColdBox Platform
I responed to this post because one of the errors Rob Daniels got in his logs is similar to mine. "name is not a valid component or 
interface name"

1. app is not in a subfolder
2. i have never used coldbox_app_mapping and is not set for this app.
3. yes, i am using new modules app conventions
4. "project" module is located C:\Users\daniel.mejia\Development\sites\api.psomas.com\modules\project
AND app root is located C:\Users\daniel.mejia\Development\sites\api.psomas.com\
5. not using external modules
6. I use a IIS virtual directory for coldbox mapping
7. I have 4.1.0 in my frameworks folder which was mapped to the coldbox virtual directory. coldbox virtual directory is now mapped to 4.3.0 and 4.1.0 was renamed. Still get the error.
8. No reason why I have scanlocations "model" set up. I removed it.

cfmapping value is empty. But the packagePath value is "modules.help.models". "help" module does not have portfolioDAO.cfc. 

I hope this helps. 

br...@bradwood.com

unread,
Nov 29, 2016, 2:46:47 PM11/29/16
to col...@googlegroups.com
> Rob Daniels got in his logs is similar to mine. "name is not a valid component or interface name"
 
That's just a super-generic ColdFusion error.  Nothing related to your issue.
 
> I use a IIS virtual directory for coldbox mapping
 
IIS virtual directories have no affect on ColdFusion.  They are only useful for serving static assets or hitting CF files from the browser.  
 
> cfmapping value is empty. But the packagePath value is "modules.help.models". "help" module does not have portfolioDAO.cfc. 
 
I'm guessing you put a dump/abort in the code, but it's just aborting the request at the first module it comes to, which is your "help" module.  You need to either wrap your dump/abort in a check that looks for the module name in question or wrap the erroring line of code in a temporary try/catch and place the dumps/abort in the catch to ensure that you are debugging the correct module.  That code in the ModuleService is basically run over and over for each module as they are registered.
--------- Original Message ---------

Daniel Mejia

unread,
Nov 29, 2016, 5:07:35 PM11/29/16
to ColdBox Platform
The IIS virtual directory to my coldbox folder has been working for years. There is nothing else in my setup that is referencing another coldbox folder.

BUT, I'm not getting the error anymore because I removed binder.mapDirectory("#moduleMapping#.models") from each ModuleConfig.cfc of 17 modules. I've also used this setting for years and never had problems. 

Thanks Brad. 

Luis Majano

unread,
Nov 29, 2016, 8:34:27 PM11/29/16
to coldbox
Using IIS virtual folders would never work 100%.  It might seem in the surface that it would but it is something I even documented back in ColdBox 2.6.

If you do this, only the web server will know the location of ColdBox.  If coldBox spins up a thread or does somethign asynchronous then it will break because there is no mapping to it.  ColdFusion does not know anything about the virtual folder.  Thus, you should never treat an IIS mapping as an application server mapping.
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.
Reply all
Reply to author
Forward
0 new messages