Coldbox 3.6 - Dot Notation on Railo 4.0

Hi folks,

I’m using Railo 4 on OSX. After enabling logbox in a MySQL db I receive this error when trying to run my app. I’m not sure if it’s directly related to logbox as it’s the first time I have seen this. Any ideas?

Thanks.
Nolan

Detail
string The keys for this Map are case-sensitive, use bracked notation like this “map[‘DebuggerService’]” instead of dot notation like this “map.DebuggerService” to address the Map

ErrNumber
number 0

ErrorCode
string 0

Extended_Info
string

ExtendedInfo
string

Message
string Key [debuggerService] doesn’t exist in Map (java.util.LinkedHashMap)

StackTrace
string Key [debuggerService] doesn’t exist in Map (java.util.LinkedHashMap) at railo.runtime.util.VariableUtilImpl.get(VariableUtilImpl.java:268):268 at railo.runtime.PageContextImpl.get(PageContextImpl.java:1343):1343 at system.web.controller_cfc$cf._3(/Library/WebServer/Documents/accessarmor-api/webapp/frameworks/coldbox/system/web/Controller.cfc:203):203 at system.web.controller_cfc$cf.udfCall(/Library/WebServer/Documents/accessarmor-api/webapp/frameworks/coldbox/system/web/Controller.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103 at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371 at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284 at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607 at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490 at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506 at system.web.services.loaderservice_cfc$cf.udfCall(/Library/WebServer/Documents/accessarmor-api/webapp/frameworks/coldbox/system/web/services/LoaderService.cfc:68):68 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103 at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371 at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284 at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607 at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490 at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506 at system.coldbox_cfc$cf._1(/Library/WebServer/Documents/accessarmor-api/webapp/frameworks/coldbox/system/Coldbox.cfc:71):71 at system.coldbox_cfc$cf.udfCall(/Library/WebServer/Documents/accessarmor-api/webapp/frameworks/coldbox/system/Coldbox.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103 at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371 at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284 at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607 at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490 at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506 at application_cfc$cf.udfCall(/Library/WebServer/Documents/accessarmor-api/webapp/Application.cfc:118):118 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103 at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371 at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284 at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607 at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490 at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781 at railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:346):346 at railo.runtime.listener.ModernAppListener.onApplicationStart(ModernAppListener.java:224):224 at railo.runtime.PageContextImpl.initApplicationContext(PageContextImpl.java:2860):2860 at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:95):95 at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18 at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2255):2255 at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2222):2222 at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:310):310 at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717):717 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290):290 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206):206 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233):233 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191):191 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127):127 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102):102 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109):109 at net.stax.appserver.webapp.RequestMonitorValve.invoke(RequestMonitorValve.java:35):35 at net.stax.appserver.webapp.RequestSetupValve.invoke(RequestSetupValve.java:31):31 at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:647):647 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293):293 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859):859 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602):602 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489):489 at java.lang.Thread.run(Thread.java:680):680

My guess would be that Railo has a switch for this, as that is not how ColdFusion works. Railo has a lot of things like this and there is usually a switch to make it compatible with ColdFusion.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411

Thanks Andrew. I’m looking through the Railo admin now. If anyone knows the exact setting for this please let me know as i’m new to the Railo engine.
Thanks.
Nolan

In web Administrator under compiler.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411

You must have switched that as the default behavior is CFML dot notation which is uppercase.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411

Thanks Andrew. That did the trick.

Cheers,
Nolan

Solved the problem for me, too.