server off for a few days and now errors on startup, wont start Lucee.

Running command box. Turned computer off for a few weeks. Started it up and now throwing error. Didn’t change a thing.

Any ideas on how to fix? Thanks in advance for the help.

✘ | Starting Server

Syntax Error, invalid Expression [{

“484FEEDEE58E3D1C8571FF0E5645633D”:{

“SSLKeyFile”:"",

“webXML”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/WEB-INF/web.xml",

“rewritesStatusPath”:"",

“basicAuthEnable”:“true”,

“customServerFolder”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus",

“trayOptions”:[

{

“image”:"/root/.CommandBox/cfml/system/config/server-icons/stop.png",

“action”:“stopserver”,

“label”:“Stop Server”

},

{

“url”:“http://0.0.0.0:80”,

“image”:"/root/.CommandBox/cfml/system/config/server-icons/home.png",

“action”:“openbrowser”,

“label”:“Open Browser”

},

{

“url”:“http://${runwar.host}:${runwar.port}/lucee/admin/server.cfm”,

“image”:"/root/.CommandBox/cfml/system/config/server-icons/server_settings.png",

“action”:“openbrowser”,

“label”:“Open Server Admin”

},

{

“url”:“http://${runwar.host}:${runwar.port}/lucee/admin/web.cfm”,

“image”:"/root/.CommandBox/cfml/system/config/server-icons/web_settings.png",

“action”:“openbrowser”,

“label”:“Open Web Admin”

}

],

“dateLastStarted”:“September, 18 2018 14:40:24 -0500”,

“libDirs”:"",

“debug”:“false”,

“basicAuthUsers”:{},

“SSLPort”:“1443”,

“rewritesConfig”:"/root/.CommandBox/cfml/system/config/urlrewrite.xml",

“webroot”:"/root/pollmodbus/",

“errorPages”:{},

“serverHome”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62",

“serverConfigDir”:"/WEB-INF",

“SSLCertFile”:"",

“openBrowserURL”:“http://0.0.0.0:80”,

“id”:“484FEEDEE58E3D1C8571FF0E5645633D”,

“minHeapSize”:“256”,

“trayEnable”:“true”,

“runwarArgs”:" ",

“engineVersion”:“5.2.7+62”,

“consolelogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/server.out.txt",

“openBrowser”:“true”,

“SSLEnable”:“false”,

“stopSocket”:39051,

“logDir”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs",

“AJPPort”:“8009”,

“trayicon”:"/root/.CommandBox/cfml/system/config/server-icons/trayicon-lucee.png",

“AJPEnable”:“false”,

“status”:“starting”,

“statusInfo”:{

“ARGUMENTS”:"/bin/bash /root/.CommandBox/cfml/system/modules_app/server-commands/bin/server_spawner.sh /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/nohup.log /usr/lib/jvm/java-8-oracle/jre/bin/java -jar /root/.CommandBox/lib/runwar-3.8.1-SNAPSHOT.jar --background=true --host 0.0.0.0 --stop-port 39051 --processname pollmodbus [lucee 5.2.7+62] --log-dir /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs --server-name pollmodbus --tray-icon /root/.CommandBox/cfml/system/config/server-icons/trayicon-lucee.png --tray-config /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/trayOptions.json --tray-enable true --directoryindex true --timeout 240 --proxy-peeraddress true --cookie-secure false --cookie-httponly false --servlet-rest-mappings DISABLED --cfengine-name lucee --jvm-args=-Xmx768m;-Xms256m -war /root/pollmodbus/ --web-xml-path /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/WEB-INF/web.xml --http-enable true --ssl-enable false --ajp-enable false --open-browser true --open-url http://0.0.0.0:80 --port 80 --urlrewrite-enable false",

“COMMAND”:"/usr/lib/jvm/java-8-oracle/jre/bin/java",

“RESULT”:""

},

“host”:“0.0.0.0”,

“welcomeFiles”:"",

“rewritesConfigReloadSeconds”:"",

“name”:“pollmodbus”,

“rewritesEnable”:“false”,

“javaHome”:"/usr/lib/jvm/java-8-oracle/jre/bin/java",

“cfengine”:“lucee@5.2.7+62”,

“console”:“false”,

“serverHomeDirectory”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62",

“HTTPEnable”:“true”,

“serverConfigFile”:"/root/pollmodbus//server-pollmodbus.json",

“restMappings”:"",

“JVMargs”:" ",

“aliases”:{},

“engineName”:“lucee”,

“heapSize”:“768”,

“trace”:“false”,

“STARTTIMEOUT”:“240”,

“webConfigDir”:"/WEB-INF/lucee-web",

“WARPath”:"",

“SSLKeyPass”:"",

“directoryBrowsing”:“true”,

“PORT”:“80”,

“accessLogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/access.txt",

“rewritesLogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/rewrites.txt",

“accessLogEnable”:“false”,

“sessionCookieSecure”:“false”,

“sessionCookieHTTPOnly”:“false”,

“rewritesLogEnable”:“false”

}

}]

ERROR (4.2.0+00071)

Syntax Error, invalid Expression [{“484FEEDEE58E3D1C8571FF0E5645633D”:{“SSLKeyFile”:"",“webXML”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/WEB-INF/web.xml",“rewritesStatusPath”:"",“basicAuthEnable”:“true”,“customServerFolder”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus",“trayOptions”:[{“image”:"/root/.CommandBox/cfml/system/config/server-icons/stop.png",“action”:“stopserver”,“label”:“Stop Server”},{“url”:“http://0.0.0.0:80”,“image”:"/root/.CommandBox/cfml/system/config/server-icons/home.png",“action”:“openbrowser”,“label”:“Open Browser”},{“url”:“http://${runwar.host}:${runwar.port}/lucee/admin/server.cfm”,“image”:"/root/.CommandBox/cfml/system/config/server-icons/server_settings.png",“action”:“openbrowser”,“label”:“Open Server Admin”},{“url”:“http://${runwar.host}:${runwar.port}/lucee/admin/web.cfm”,“image”:"/root/.CommandBox/cfml/system/config/server-icons/web_settings.png",“action”:“openbrowser”,“label”:“Open Web Admin”}],“dateLastStarted”:“September, 18 2018 14:40:24 -0500”,“libDirs”:"",“debug”:“false”,“basicAuthUsers”:{},“SSLPort”:“1443”,“rewritesConfig”:"/root/.CommandBox/cfml/system/config/urlrewrite.xml",“webroot”:"/root/pollmodbus/",“errorPages”:{},“serverHome”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62",“serverConfigDir”:"/WEB-INF",“SSLCertFile”:"",“openBrowserURL”:“http://0.0.0.0:80”,“id”:“484FEEDEE58E3D1C8571FF0E5645633D”,“minHeapSize”:“256”,“trayEnable”:“true”,“runwarArgs”:" “,“engineVersion”:“5.2.7+62”,“consolelogPath”:”/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/server.out.txt",“openBrowser”:“true”,“SSLEnable”:“false”,“stopSocket”:39051,“logDir”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs",“AJPPort”:“8009”,“trayicon”:"/root/.CommandBox/cfml/system/config/server-icons/trayicon-lucee.png",“AJPEnable”:“false”,“status”:“starting”,“statusInfo”:{“ARGUMENTS”:"/bin/bash /root/.CommandBox/cfml/system/modules_app/server-commands/bin/server_spawner.sh /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/nohup.log /usr/lib/jvm/java-8-oracle/jre/bin/java -jar /root/.CommandBox/lib/runwar-3.8.1-SNAPSHOT.jar --background=true --host 0.0.0.0 --stop-port 39051 --processname pollmodbus [lucee 5.2.7+62] --log-dir /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs --server-name pollmodbus --tray-icon /root/.CommandBox/cfml/system/config/server-icons/trayicon-lucee.png --tray-config /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/trayOptions.json --tray-enable true --directoryindex true --timeout 240 --proxy-peeraddress true --cookie-secure false --cookie-httponly false --servlet-rest-mappings DISABLED --cfengine-name lucee --jvm-args=-Xmx768m;-Xms256m -war /root/pollmodbus/ --web-xml-path /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/WEB-INF/web.xml --http-enable true --ssl-enable false --ajp-enable false --open-browser true --open-url http://0.0.0.0:80 --port 80 --urlrewrite-enable false",“COMMAND”:"/usr/lib/jvm/java-8-oracle/jre/bin/java",“RESULT”:""},“host”:“0.0.0.0”,“welcomeFiles”:"",“rewritesConfigReloadSeconds”:"",“name”:“pollmodbus”,“rewritesEnable”:“false”,“javaHome”:"/usr/lib/jvm/java-8-oracle/jre/bin/java",“cfengine”:“lucee@5.2.7+62”,“console”:“false”,“serverHomeDirectory”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62",“HTTPEnable”:“true”,“serverConfigFile”:"/root/pollmodbus//server-pollmodbus.json",“restMappings”:"",“JVMargs”:" “,“aliases”:{},“engineName”:“lucee”,“heapSize”:“768”,“trace”:“false”,“STARTTIMEOUT”:“240”,“webConfigDir”:”/WEB-INF/lucee-web",“WARPath”:"",“SSLKeyPass”:"",“directoryBrowsing”:“true”,“PORT”:“80”,“accessLogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/access.txt",“rewritesLogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/rewrites.txt",“accessLogEnable”:“false”,“sessionCookieSecure”:“false”,“sessionCookieHTTPOnly”:“false”,“rewritesLogEnable”:“false”}}]

/root/.CommandBox/cfml/system/services/ServerService.cfc: line 1653

1651: struct function getServers() {

1652: if( fileExists( variables.serverConfig ) ){

1653: var results = deserializeJSON( fileSystemUtil.lockingfileRead( variables.serverConfig ) );

1654: var updateRequired = false;

1655: var serverKeys = results.keyArray();

called from /root/.CommandBox/cfml/system/services/ServerService.cfc: line 1733

called from /root/.CommandBox/cfml/system/services/ServerService.cfc: line 1717

called from /root/.CommandBox/cfml/system/services/ServerService.cfc: line 1382

called from /root/.CommandBox/cfml/system/services/ServerService.cfc: line 248

called from /root/.CommandBox/cfml/system/modules_app/server-commands/commands/server/start.cfc: line 150

called from /root/.CommandBox/cfml/system/services/CommandService.cfc: line 333

called from /root/.CommandBox/cfml/system/services/CommandService.cfc: line 157

called from /root/.CommandBox/cfml/system/Shell.cfc: line 741

called from /root/.CommandBox/cfml/system/Bootstrap.cfm: line 120

lucee.runtime.interpreter.InterpreterException: Syntax Error, invalid Expression [{

“484FEEDEE58E3D1C8571FF0E5645633D”:{

“SSLKeyFile”:"",

“webXML”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/WEB-INF/web.xml",

“rewritesStatusPath”:"",

“basicAuthEnable”:“true”,

“customServerFolder”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus",

“trayOptions”:[

{

“image”:"/root/.CommandBox/cfml/system/config/server-icons/stop.png",

“action”:“stopserver”,

“label”:“Stop Server”

},

{

“url”:“http://0.0.0.0:80”,

“image”:"/root/.CommandBox/cfml/system/config/server-icons/home.png",

“action”:“openbrowser”,

“label”:“Open Browser”

},

{

“url”:“http://${runwar.host}:${runwar.port}/lucee/admin/server.cfm”,

“image”:"/root/.CommandBox/cfml/system/config/server-icons/server_settings.png",

“action”:“openbrowser”,

“label”:“Open Server Admin”

},

{

“url”:“http://${runwar.host}:${runwar.port}/lucee/admin/web.cfm”,

“image”:"/root/.CommandBox/cfml/system/config/server-icons/web_settings.png",

“action”:“openbrowser”,

“label”:“Open Web Admin”

}

],

“dateLastStarted”:“September, 18 2018 14:40:24 -0500”,

“libDirs”:"",

“debug”:“false”,

“basicAuthUsers”:{},

“SSLPort”:“1443”,

“rewritesConfig”:"/root/.CommandBox/cfml/system/config/urlrewrite.xml",

“webroot”:"/root/pollmodbus/",

“errorPages”:{},

“serverHome”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62",

“serverConfigDir”:"/WEB-INF",

“SSLCertFile”:"",

“openBrowserURL”:“http://0.0.0.0:80”,

“id”:“484FEEDEE58E3D1C8571FF0E5645633D”,

“minHeapSize”:“256”,

“trayEnable”:“true”,

“runwarArgs”:" ",

“engineVersion”:“5.2.7+62”,

“consolelogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/server.out.txt",

“openBrowser”:“true”,

“SSLEnable”:“false”,

“stopSocket”:39051,

“logDir”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs",

“AJPPort”:“8009”,

“trayicon”:"/root/.CommandBox/cfml/system/config/server-icons/trayicon-lucee.png",

“AJPEnable”:“false”,

“status”:“starting”,

“statusInfo”:{

“ARGUMENTS”:"/bin/bash /root/.CommandBox/cfml/system/modules_app/server-commands/bin/server_spawner.sh /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/nohup.log /usr/lib/jvm/java-8-oracle/jre/bin/java -jar /root/.CommandBox/lib/runwar-3.8.1-SNAPSHOT.jar --background=true --host 0.0.0.0 --stop-port 39051 --processname pollmodbus [lucee 5.2.7+62] --log-dir /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs --server-name pollmodbus --tray-icon /root/.CommandBox/cfml/system/config/server-icons/trayicon-lucee.png --tray-config /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/trayOptions.json --tray-enable true --directoryindex true --timeout 240 --proxy-peeraddress true --cookie-secure false --cookie-httponly false --servlet-rest-mappings DISABLED --cfengine-name lucee --jvm-args=-Xmx768m;-Xms256m -war /root/pollmodbus/ --web-xml-path /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/WEB-INF/web.xml --http-enable true --ssl-enable false --ajp-enable false --open-browser true --open-url http://0.0.0.0:80 --port 80 --urlrewrite-enable false",

“COMMAND”:"/usr/lib/jvm/java-8-oracle/jre/bin/java",

“RESULT”:""

},

“host”:“0.0.0.0”,

“welcomeFiles”:"",

“rewritesConfigReloadSeconds”:"",

“name”:“pollmodbus”,

“rewritesEnable”:“false”,

“javaHome”:"/usr/lib/jvm/java-8-oracle/jre/bin/java",

“cfengine”:“lucee@5.2.7+62”,

“console”:“false”,

“serverHomeDirectory”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62",

“HTTPEnable”:“true”,

“serverConfigFile”:"/root/pollmodbus//server-pollmodbus.json",

“restMappings”:"",

“JVMargs”:" ",

“aliases”:{},

“engineName”:“lucee”,

“heapSize”:“768”,

“trace”:“false”,

“STARTTIMEOUT”:“240”,

“webConfigDir”:"/WEB-INF/lucee-web",

“WARPath”:"",

“SSLKeyPass”:"",

“directoryBrowsing”:“true”,

“PORT”:“80”,

“accessLogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/access.txt",

“rewritesLogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/rewrites.txt",

“accessLogEnable”:“false”,

“sessionCookieSecure”:“false”,

“sessionCookieHTTPOnly”:“false”,

“rewritesLogEnable”:“false”

}

}]

at lucee.runtime.interpreter.CFMLExpressionInterpreter.interpret(CFMLExpressionInterpreter.java:222)

at lucee.runtime.interpreter.CFMLExpressionInterpreter.interpret(CFMLExpressionInterpreter.java:198)

at lucee.runtime.functions.conversion.DeserializeJSON.call(DeserializeJSON.java:51)

at lucee.runtime.functions.conversion.DeserializeJSON.call(DeserializeJSON.java:48)

at system.services.serverservice_cfc$cf.udfCall3(/commandbox/system/services/ServerService.cfc:1653)

at system.services.serverservice_cfc$cf.udfCall(/commandbox/system/services/ServerService.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)

at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:803)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)

at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1716)

at system.services.serverservice_cfc$cf.udfCall3(/commandbox/system/services/ServerService.cfc:1733)

at system.services.serverservice_cfc$cf.udfCall(/commandbox/system/services/ServerService.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)

at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:803)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)

at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1716)

at system.services.serverservice_cfc$cf.udfCall3(/commandbox/system/services/ServerService.cfc:1717)

at system.services.serverservice_cfc$cf.udfCall(/commandbox/system/services/ServerService.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)

at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:812)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)

at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1735)

at system.services.serverservice_cfc$cf.udfCall2(/commandbox/system/services/ServerService.cfc:1382)

at system.services.serverservice_cfc$cf.udfCall(/commandbox/system/services/ServerService.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)

at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:803)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)

at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1716)

at system.services.serverservice_cfc$cf.udfCall1(/commandbox/system/services/ServerService.cfc:248)

at system.services.serverservice_cfc$cf.udfCall(/commandbox/system/services/ServerService.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:695)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)

at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2014)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)

at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1735)

at system.modules_app.server_commands315.commands.server.start_cfc$cf.udfCall(/commandbox/system/modules_app/server-commands/commands/server/start.cfc:150)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:695)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)

at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2014)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)

at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1735)

at system.services.commandservice_cfc$cf.udfCall1(/commandbox/system/services/CommandService.cfc:333)

at system.services.commandservice_cfc$cf.udfCall(/commandbox/system/services/CommandService.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)

at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:812)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)

at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1735)

at system.services.commandservice_cfc$cf.udfCall1(/commandbox/system/services/CommandService.cfc:157)

at system.services.commandservice_cfc$cf.udfCall(/commandbox/system/services/CommandService.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:695)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)

at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2014)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)

at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1735)

at system.shell_cfc$cf.udfCall4(/commandbox/system/Shell.cfc:741)

at system.shell_cfc$cf.udfCall(/commandbox/system/Shell.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:695)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)

at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2014)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)

at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1735)

at _commandbox46.cfml.system.bootstrap_cfm$cf.call(/__commandbox_root/.CommandBox/cfml/system/Bootstrap.cfm:120)

at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:931)

at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:821)

at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)

at wvpbp5e2de35.call(Unknown Source)

at lucee.runtime.compiler.Renderer.tag(Renderer.java:113)

at lucee.runtime.compiler.Renderer.script(Renderer.java:101)

at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:64)

at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:199)

at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:283)

at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:150)

at cliloader.LoaderCLIMain.main(LoaderCLIMain.java:506)

I’ve had this happen in the past when starting up multiple (6+) sites via CommandBox at nearly the same time, I assume due to a race condition writing to a status json the file got malformed.
I wasn’t able to fix it and just ended up removing/reinstalling CommandBox and its files.

That error message implies that the master JSON file which is used to track all of your servers has gotten corrupted. However, when I copy and paste the JSON snippet from the error message in your E-mail into a JSON Linter, it shows as valid. Can you attach the full JSON file found at ~/.CommandBox/servers.json?

If there is something simple like a missing character, then you may just be able to fix the file. If the JSON file is fully corrupted, then just delete it. Note this will cause CommandBox to “forget” your previously started servers (even though all the server files are still there) but starting them back up with re-create the contents of the JSON file.

As far as how this file would get corrupted, I’m not sure. We use a special function that locks the file at the file system level so more than one CommandBox process cannot modify the file as the same time.

Brad,

It is great to know what the issue was, so moving forward I’m more prepared.

I ended up reinstalling so I don’t have all the logs from it. I prob should of kept that, but was in a rush.

Thanks for replying. Really appreciate it.

Nate

Happened to me again, had a bunch of these at end of json.
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@

I deleted it and it started right up. Thanks!

I too had the same issue, I have around 2000 units out in the the wild running on raspberry pi’s, and this is a common occurance, and found that deleting the servers.json file fixes the issue.

I ended up putting a command in the startup to delete the file every boot-up, that way the commandbox process would always start, fustrating but at least now I know there is a workaround…but not sure what other impacts there are deleting this file, anyone know ??

Running command box. Turned computer off for a few weeks. Started it up and now throwing error. Didn’t change a thing.

Any ideas on how to fix? Thanks in advance for the help.

✘ | Starting Server

Syntax Error, invalid Expression [{

“484FEEDEE58E3D1C8571FF0E5645633D”:{

“SSLKeyFile”:"",

“webXML”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/WEB-INF/web.xml",

“rewritesStatusPath”:"",

“basicAuthEnable”:“true”,

“customServerFolder”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus",

“trayOptions”:[

{

“image”:"/root/.CommandBox/cfml/system/config/server-icons/stop.png",

“action”:“stopserver”,

“label”:“Stop Server”

},

{

“url”:“http://0.0.0.0:80”,

“image”:"/root/.CommandBox/cfml/system/config/server-icons/home.png",

“action”:“openbrowser”,

“label”:“Open Browser”

},

{

“url”:“http://${runwar.host}:${runwar.port}/lucee/admin/server.cfm”,

“image”:"/root/.CommandBox/cfml/system/config/server-icons/server_settings.png",

“action”:“openbrowser”,

“label”:“Open Server Admin”

},

{

“url”:“http://${runwar.host}:${runwar.port}/lucee/admin/web.cfm”,

“image”:"/root/.CommandBox/cfml/system/config/server-icons/web_settings.png",

“action”:“openbrowser”,

“label”:“Open Web Admin”

}

],

“dateLastStarted”:“September, 18 2018 14:40:24 -0500”,

“libDirs”:"",

“debug”:“false”,

“basicAuthUsers”:{},

“SSLPort”:“1443”,

“rewritesConfig”:"/root/.CommandBox/cfml/system/config/urlrewrite.xml",

“webroot”:"/root/pollmodbus/",

“errorPages”:{},

“serverHome”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62",

“serverConfigDir”:"/WEB-INF",

“SSLCertFile”:"",

“openBrowserURL”:“http://0.0.0.0:80”,

“id”:“484FEEDEE58E3D1C8571FF0E5645633D”,

“minHeapSize”:“256”,

“trayEnable”:“true”,

“runwarArgs”:" ",

“engineVersion”:“5.2.7+62”,

“consolelogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/server.out.txt",

“openBrowser”:“true”,

“SSLEnable”:“false”,

“stopSocket”:39051,

“logDir”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs",

“AJPPort”:“8009”,

“trayicon”:"/root/.CommandBox/cfml/system/config/server-icons/trayicon-lucee.png",

“AJPEnable”:“false”,

“status”:“starting”,

“statusInfo”:{

“ARGUMENTS”:"/bin/bash /root/.CommandBox/cfml/system/modules_app/server-commands/bin/server_spawner.sh /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/nohup.log /usr/lib/jvm/java-8-oracle/jre/bin/java -jar /root/.CommandBox/lib/runwar-3.8.1-SNAPSHOT.jar --background=true --host 0.0.0.0 --stop-port 39051 --processname pollmodbus [lucee 5.2.7+62] --log-dir /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs --server-name pollmodbus --tray-icon /root/.CommandBox/cfml/system/config/server-icons/trayicon-lucee.png --tray-config /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/trayOptions.json --tray-enable true --directoryindex true --timeout 240 --proxy-peeraddress true --cookie-secure false --cookie-httponly false --servlet-rest-mappings DISABLED --cfengine-name lucee --jvm-args=-Xmx768m;-Xms256m -war /root/pollmodbus/ --web-xml-path /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/WEB-INF/web.xml --http-enable true --ssl-enable false --ajp-enable false --open-browser true --open-url http://0.0.0.0:80 --port 80 --urlrewrite-enable false",

“COMMAND”:"/usr/lib/jvm/java-8-oracle/jre/bin/java",

“RESULT”:""

},

“host”:“0.0.0.0”,

“welcomeFiles”:"",

“rewritesConfigReloadSeconds”:"",

“name”:“pollmodbus”,

“rewritesEnable”:“false”,

“javaHome”:"/usr/lib/jvm/java-8-oracle/jre/bin/java",

“cfengine”:“lucee@5.2.7+62”,

“console”:“false”,

“serverHomeDirectory”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62",

“HTTPEnable”:“true”,

“serverConfigFile”:"/root/pollmodbus//server-pollmodbus.json",

“restMappings”:"",

“JVMargs”:" ",

“aliases”:{},

“engineName”:“lucee”,

“heapSize”:“768”,

“trace”:“false”,

“STARTTIMEOUT”:“240”,

“webConfigDir”:"/WEB-INF/lucee-web",

“WARPath”:"",

“SSLKeyPass”:"",

“directoryBrowsing”:“true”,

“PORT”:“80”,

“accessLogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/access.txt",

“rewritesLogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/rewrites.txt",

“accessLogEnable”:“false”,

“sessionCookieSecure”:“false”,

“sessionCookieHTTPOnly”:“false”,

“rewritesLogEnable”:“false”

}

}]

ERROR (4.2.0+00071)

Syntax Error, invalid Expression [{“484FEEDEE58E3D1C8571FF0E5645633D”:{“SSLKeyFile”:"",“webXML”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/WEB-INF/web.xml",“rewritesStatusPath”:"",“basicAuthEnable”:“true”,“customServerFolder”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus",“trayOptions”:[{“image”:"/root/.CommandBox/cfml/system/config/server-icons/stop.png",“action”:“stopserver”,“label”:“Stop Server”},{“url”:“http://0.0.0.0:80”,“image”:"/root/.CommandBox/cfml/system/config/server-icons/home.png",“action”:“openbrowser”,“label”:“Open Browser”},{“url”:“http://${runwar.host}:${runwar.port}/lucee/admin/server.cfm”,“image”:"/root/.CommandBox/cfml/system/config/server-icons/server_settings.png",“action”:“openbrowser”,“label”:“Open Server Admin”},{“url”:“http://${runwar.host}:${runwar.port}/lucee/admin/web.cfm”,“image”:"/root/.CommandBox/cfml/system/config/server-icons/web_settings.png",“action”:“openbrowser”,“label”:“Open Web Admin”}],“dateLastStarted”:“September, 18 2018 14:40:24 -0500”,“libDirs”:"",“debug”:“false”,“basicAuthUsers”:{},“SSLPort”:“1443”,“rewritesConfig”:"/root/.CommandBox/cfml/system/config/urlrewrite.xml",“webroot”:"/root/pollmodbus/",“errorPages”:{},“serverHome”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62",“serverConfigDir”:"/WEB-INF",“SSLCertFile”:"",“openBrowserURL”:“http://0.0.0.0:80”,“id”:“484FEEDEE58E3D1C8571FF0E5645633D”,“minHeapSize”:“256”,“trayEnable”:“true”,“runwarArgs”:" “,“engineVersion”:“5.2.7+62”,“consolelogPath”:”/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/server.out.txt",“openBrowser”:“true”,“SSLEnable”:“false”,“stopSocket”:39051,“logDir”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs",“AJPPort”:“8009”,“trayicon”:"/root/.CommandBox/cfml/system/config/server-icons/trayicon-lucee.png",“AJPEnable”:“false”,“status”:“starting”,“statusInfo”:{“ARGUMENTS”:"/bin/bash /root/.CommandBox/cfml/system/modules_app/server-commands/bin/server_spawner.sh /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/nohup.log /usr/lib/jvm/java-8-oracle/jre/bin/java -jar /root/.CommandBox/lib/runwar-3.8.1-SNAPSHOT.jar --background=true --host 0.0.0.0 --stop-port 39051 --processname pollmodbus [lucee 5.2.7+62] --log-dir /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs --server-name pollmodbus --tray-icon /root/.CommandBox/cfml/system/config/server-icons/trayicon-lucee.png --tray-config /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/trayOptions.json --tray-enable true --directoryindex true --timeout 240 --proxy-peeraddress true --cookie-secure false --cookie-httponly false --servlet-rest-mappings DISABLED --cfengine-name lucee --jvm-args=-Xmx768m;-Xms256m -war /root/pollmodbus/ --web-xml-path /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/WEB-INF/web.xml --http-enable true --ssl-enable false --ajp-enable false --open-browser true --open-url http://0.0.0.0:80 --port 80 --urlrewrite-enable false",“COMMAND”:"/usr/lib/jvm/java-8-oracle/jre/bin/java",“RESULT”:""},“host”:“0.0.0.0”,“welcomeFiles”:"",“rewritesConfigReloadSeconds”:"",“name”:“pollmodbus”,“rewritesEnable”:“false”,“javaHome”:"/usr/lib/jvm/java-8-oracle/jre/bin/java",“cfengine”:“lucee@5.2.7+62”,“console”:“false”,“serverHomeDirectory”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62",“HTTPEnable”:“true”,“serverConfigFile”:"/root/pollmodbus//server-pollmodbus.json",“restMappings”:"",“JVMargs”:" “,“aliases”:{},“engineName”:“lucee”,“heapSize”:“768”,“trace”:“false”,“STARTTIMEOUT”:“240”,“webConfigDir”:”/WEB-INF/lucee-web",“WARPath”:"",“SSLKeyPass”:"",“directoryBrowsing”:“true”,“PORT”:“80”,“accessLogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/access.txt",“rewritesLogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/rewrites.txt",“accessLogEnable”:“false”,“sessionCookieSecure”:“false”,“sessionCookieHTTPOnly”:“false”,“rewritesLogEnable”:“false”}}]

/root/.CommandBox/cfml/system/services/ServerService.cfc: line 1653

1651: struct function getServers() {

1652: if( fileExists( variables.serverConfig ) ){

1653: var results = deserializeJSON( fileSystemUtil.lockingfileRead( variables.serverConfig ) );

1654: var updateRequired = false;

1655: var serverKeys = results.keyArray();

called from /root/.CommandBox/cfml/system/services/ServerService.cfc: line 1733

called from /root/.CommandBox/cfml/system/services/ServerService.cfc: line 1717

called from /root/.CommandBox/cfml/system/services/ServerService.cfc: line 1382

called from /root/.CommandBox/cfml/system/services/ServerService.cfc: line 248

called from /root/.CommandBox/cfml/system/modules_app/server-commands/commands/server/start.cfc: line 150

called from /root/.CommandBox/cfml/system/services/CommandService.cfc: line 333

called from /root/.CommandBox/cfml/system/services/CommandService.cfc: line 157

called from /root/.CommandBox/cfml/system/Shell.cfc: line 741

called from /root/.CommandBox/cfml/system/Bootstrap.cfm: line 120

lucee.runtime.interpreter.InterpreterException: Syntax Error, invalid Expression [{

“484FEEDEE58E3D1C8571FF0E5645633D”:{

“SSLKeyFile”:"",

“webXML”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/WEB-INF/web.xml",

“rewritesStatusPath”:"",

“basicAuthEnable”:“true”,

“customServerFolder”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus",

“trayOptions”:[

{

“image”:"/root/.CommandBox/cfml/system/config/server-icons/stop.png",

“action”:“stopserver”,

“label”:“Stop Server”

},

{

“url”:“http://0.0.0.0:80”,

“image”:"/root/.CommandBox/cfml/system/config/server-icons/home.png",

“action”:“openbrowser”,

“label”:“Open Browser”

},

{

“url”:“http://${runwar.host}:${runwar.port}/lucee/admin/server.cfm”,

“image”:"/root/.CommandBox/cfml/system/config/server-icons/server_settings.png",

“action”:“openbrowser”,

“label”:“Open Server Admin”

},

{

“url”:“http://${runwar.host}:${runwar.port}/lucee/admin/web.cfm”,

“image”:"/root/.CommandBox/cfml/system/config/server-icons/web_settings.png",

“action”:“openbrowser”,

“label”:“Open Web Admin”

}

],

“dateLastStarted”:“September, 18 2018 14:40:24 -0500”,

“libDirs”:"",

“debug”:“false”,

“basicAuthUsers”:{},

“SSLPort”:“1443”,

“rewritesConfig”:"/root/.CommandBox/cfml/system/config/urlrewrite.xml",

“webroot”:"/root/pollmodbus/",

“errorPages”:{},

“serverHome”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62",

“serverConfigDir”:"/WEB-INF",

“SSLCertFile”:"",

“openBrowserURL”:“http://0.0.0.0:80”,

“id”:“484FEEDEE58E3D1C8571FF0E5645633D”,

“minHeapSize”:“256”,

“trayEnable”:“true”,

“runwarArgs”:" ",

“engineVersion”:“5.2.7+62”,

“consolelogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/server.out.txt",

“openBrowser”:“true”,

“SSLEnable”:“false”,

“stopSocket”:39051,

“logDir”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs",

“AJPPort”:“8009”,

“trayicon”:"/root/.CommandBox/cfml/system/config/server-icons/trayicon-lucee.png",

“AJPEnable”:“false”,

“status”:“starting”,

“statusInfo”:{

“ARGUMENTS”:"/bin/bash /root/.CommandBox/cfml/system/modules_app/server-commands/bin/server_spawner.sh /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/nohup.log /usr/lib/jvm/java-8-oracle/jre/bin/java -jar /root/.CommandBox/lib/runwar-3.8.1-SNAPSHOT.jar --background=true --host 0.0.0.0 --stop-port 39051 --processname pollmodbus [lucee 5.2.7+62] --log-dir /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs --server-name pollmodbus --tray-icon /root/.CommandBox/cfml/system/config/server-icons/trayicon-lucee.png --tray-config /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/trayOptions.json --tray-enable true --directoryindex true --timeout 240 --proxy-peeraddress true --cookie-secure false --cookie-httponly false --servlet-rest-mappings DISABLED --cfengine-name lucee --jvm-args=-Xmx768m;-Xms256m -war /root/pollmodbus/ --web-xml-path /root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/WEB-INF/web.xml --http-enable true --ssl-enable false --ajp-enable false --open-browser true --open-url http://0.0.0.0:80 --port 80 --urlrewrite-enable false",

“COMMAND”:"/usr/lib/jvm/java-8-oracle/jre/bin/java",

“RESULT”:""

},

“host”:“0.0.0.0”,

“welcomeFiles”:"",

“rewritesConfigReloadSeconds”:"",

“name”:“pollmodbus”,

“rewritesEnable”:“false”,

“javaHome”:"/usr/lib/jvm/java-8-oracle/jre/bin/java",

“cfengine”:“lucee@5.2.7+62”,

“console”:“false”,

“serverHomeDirectory”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62",

“HTTPEnable”:“true”,

“serverConfigFile”:"/root/pollmodbus//server-pollmodbus.json",

“restMappings”:"",

“JVMargs”:" ",

“aliases”:{},

“engineName”:“lucee”,

“heapSize”:“768”,

“trace”:“false”,

“STARTTIMEOUT”:“240”,

“webConfigDir”:"/WEB-INF/lucee-web",

“WARPath”:"",

“SSLKeyPass”:"",

“directoryBrowsing”:“true”,

“PORT”:“80”,

“accessLogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/access.txt",

“rewritesLogPath”:"/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/logs/rewrites.txt",

“accessLogEnable”:“false”,

“sessionCookieSecure”:“false”,

“sessionCookieHTTPOnly”:“false”,

“rewritesLogEnable”:“false”

}

}]

at lucee.runtime.interpreter.CFMLExpressionInterpreter.interpret(CFMLExpressionInterpreter.java:222)

at lucee.runtime.interpreter.CFMLExpressionInterpreter.interpret(CFMLExpressionInterpreter.java:198)

at lucee.runtime.functions.conversion.DeserializeJSON.call(DeserializeJSON.java:51)

at lucee.runtime.functions.conversion.DeserializeJSON.call(DeserializeJSON.java:48)

at system.services.serverservice_cfc$cf.udfCall3(/commandbox/system/services/ServerService.cfc:1653)

at system.services.serverservice_cfc$cf.udfCall(/commandbox/system/services/ServerService.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)

at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:803)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)

at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1716)

at system.services.serverservice_cfc$cf.udfCall3(/commandbox/system/services/ServerService.cfc:1733)

at system.services.serverservice_cfc$cf.udfCall(/commandbox/system/services/ServerService.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)

at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:803)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)

at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1716)

at system.services.serverservice_cfc$cf.udfCall3(/commandbox/system/services/ServerService.cfc:1717)

at system.services.serverservice_cfc$cf.udfCall(/commandbox/system/services/ServerService.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)

at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:812)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)

at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1735)

at system.services.serverservice_cfc$cf.udfCall2(/commandbox/system/services/ServerService.cfc:1382)

at system.services.serverservice_cfc$cf.udfCall(/commandbox/system/services/ServerService.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)

at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:803)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)

at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1716)

at system.services.serverservice_cfc$cf.udfCall1(/commandbox/system/services/ServerService.cfc:248)

at system.services.serverservice_cfc$cf.udfCall(/commandbox/system/services/ServerService.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:695)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)

at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2014)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)

at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1735)

at system.modules_app.server_commands315.commands.server.start_cfc$cf.udfCall(/commandbox/system/modules_app/server-commands/commands/server/start.cfc:150)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:695)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)

at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2014)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)

at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1735)

at system.services.commandservice_cfc$cf.udfCall1(/commandbox/system/services/CommandService.cfc:333)

at system.services.commandservice_cfc$cf.udfCall(/commandbox/system/services/CommandService.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)

at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:812)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)

at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1735)

at system.services.commandservice_cfc$cf.udfCall1(/commandbox/system/services/CommandService.cfc:157)

at system.services.commandservice_cfc$cf.udfCall(/commandbox/system/services/CommandService.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:695)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)

at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2014)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)

at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1735)

at system.shell_cfc$cf.udfCall4(/commandbox/system/Shell.cfc:741)

at system.shell_cfc$cf.udfCall(/commandbox/system/Shell.cfc)

at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)

at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:695)

at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)

at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2014)

at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833)

at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1735)

at _commandbox46.cfml.system.bootstrap_cfm$cf.call(/__commandbox_root/.CommandBox/cfml/system/Bootstrap.cfm:120)

at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:931)

at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:821)

at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)

at wvpbp5e2de35.call(Unknown Source)

at lucee.runtime.compiler.Renderer.tag(Renderer.java:113)

at lucee.runtime.compiler.Renderer.script(Renderer.java:101)

at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:64)

at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:199)

at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:283)

at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:150)

at cliloader.LoaderCLIMain.main(LoaderCLIMain.java:506)

image846824.png
Tony Burn​

m: +61 481 224 257

e: tony@skaro.com.au | w: www.skaro.com.au

image899879.png

image639233.png

image476992.png

​Disclaimer : The company accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

Tony, the only impact to deleting the servers.json in the CommandBox home is CommandBox won’t show the server if you do a “server show” or “server list” until the next time it is started. The master servers.json file is just to keep track of all the servers you’ve started in the past. It may also affect how the server starts since, in some cases, CommandBox uses the information from the previous starts to determine things such as the location of the server.json for that server. Can you answer a few questions for me?

  • What version of CommandBox are you using?
  • What Operating System are you on? I assume Raspbian?
  • How big is your servers.json file getting before it gets corrupted
  • Do you have more than one site starting or stopping at the same time on the same machine?
  • Does this happen after an expected power loss or during normal operation?
  • Your setup sounds really interesting-- 2,000 RPIs all using CommandBox? Can you share what you’re doing? I’d love to hear about it.
    If you can help pinpoint when this happens, I’d love to squash the issue. Perhaps as a last resort we could test the file for valid JSON and rename it and start a new file if it gets corrupted. At least it wouldn’t stop you from starting your server. Like I said in a previous message, we use a special function to write to the file that creates locks at the file system so two processes shouldn’t be able to touch the file at the same time.

image846824.png

image899879.png

image639233.png

image476992.png

Hi Brad,

Many thanks for your email, and for the clarification of the servers.json file.

To answer your questions.

  • What version of CommandBox are you using? 4.4 and some 3.6
  • What Operating System are you on? I assume Raspbian? Yes Raspbian
  • How big is your servers.json file getting before it gets corrupted - see attached
  • Do you have more than one site starting or stopping at the same time on the same machine? - Single Site
  • Does this happen after an expected power loss or during normal operation? - I think it just crashes and then the end user re-starts (re-power) the raspberry pi.
  • Your setup sounds really interesting-- 2,000 RPIs all using CommandBox? Can you share what you’re doing? I’ve developed a home automation gateway, that bridges and provides Google/Alexa/Siri to two of the main Z-wave automation controllers (Fibaro & Vera) and also have variants for other platforms to provide those with voice connectivity. See www.skaro.com.au for more on the product.

I’ve also attached the full error extracted from a failed unit, when I pass the JSON thru a validator it comes back ok, hopefully there is something in this full extract that can help.

full_cb_errror.txt (27.7 KB)

Just want to add my json files get corrupted on startup if there is power loss before it completes its load. And if a reboot is initiated before the load completes as well. (pi 3b stretch)

Wow, that’s awesome that you’re using CommandBox to power your home automation system! Do you basically have an HTTP-based UI that the users access via the Pi?

On to your responses:

4.4 and some 3.6

I think the file locking read and write may have been added in an early 4.0 release so I’d try to get rid of those older 3.x versions if you can. That said, the file locking stuff really only applies when two servers start up on the same box at the same time. Im a little confused though as the expression you pasted into the attached file validates as valid JSON. I wonder if this is a bug in Lucee’s JSON deserialization.

How big is your servers.json file getting before it gets corrupted - see attached

Doesn’t seem that big at all. Just a single server in there. I thought perhaps you had a huge JSON file that would take a long time to read/write but that doesn’t seem to be the case.

I think it just crashes and then the end user re-starts (re-power) the raspberry pi.

You think Lucee is crashing, or Raspbian? Any chance the sd card is out of space? Would be interesting to see the Lucee logs from that server. That may be difficult though if these are deployed remotely.

I just did a quick test and wrote the json from the error message into a file and ran the Lucee code to read it and deserialize it and it ran fine. I’m not sure why you would even get an error. Can you capture the actual servers.json file from disk that isn’t getting read. I wonder if some other special characters are actually in the file that aren’t showing up in the error

Nathan, what is the contents of the servers.json file in that case? If power is lost while the file is being written, then there’s not much we can do there other than put in some code to automatically remove invalid files and start them fresh again.

On a pi it takes a bit to initialize everything. I think because of the it a slow startup it’s vulnerable. I pretty much did what Tony suggested and delete the file on boot up so if its corrupted it doesn’t hang.

Hi Brad,

Yes, we use Commandbox and Lucee to present the GUI for the platform and manage all the 3rd party integrations (middleware type layer)

SD card’s are all around 22% full, so plenty of space, I’ll try and grab the Lucee logs from the next device that crashes, along with the servers.json file as well, I’m thinking that its got some weird characters as well……one other thing that I’ve noticed, is another error it the startup

ERROR: Startup exceeded timeout of 1200 seconds - aborting!

As I have put in a timeout of 1200 in the server config file, now there is no way its actually waiting 1200 seconds, as I can see this on immediate startup, ie within 60 seconds

I have the command box setup as a service, and its set to auto-start ’systemctl enable commandbox’ yet I’ve found that I’ve also had to put in ’systemctl start commandbox’ into the rc.local to make sure that it starts up, perhaps that scenario is double starting the service, but as you say, this has been fixed in 4.0+ with file locking.

image407608.jpg

Tony Burn​

m: +61 481 224 257

image899879.png

image639233.png

image476992.png

Disclaimer : The company accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

I’ll try and grab the Lucee logs from the next device that crashes, along with the servers.json file as well, I’m thinking that its got some weird characters as well…

Please do. I’m really curious why Lucee thinks that file is invalid JSON.

one other thing that I’ve noticed, is another error it the startup “ERROR: Startup exceeded timeout of 1200 seconds - aborting!”

That’s an interesting one I don’t see very often. That error comes from within runwar itself and happens when you do a background start (basically not a --console start) and the actual server process fails to bind the HTTP port within that time frame. Most likely there was an error of some kind inside the actual CF engine coming online. If you can reproduce that one on demand, try doing a manual start with the --console flag to look for any errors in the console.

yet I’ve found that I’ve also had to put in ’systemctl start commandbox’ into the rc.local to make sure that it starts up,

I don’t know enough about system.d to help with that one.

perhaps that scenario is double starting the service,

That’s actually a really interesting possibility. You could put in some debugging to find out. Perhaps something as simple as an onServerStart package script in your box.json that appends the current time to a log file.

image407608.jpg

image899879.png

image639233.png

image476992.png