v5.2.0 error running box commands from command line

13 views
Skip to first unread message

Rob

unread,
Dec 1, 2020, 8:04:01 PM12/1/20
to CommandBox
If I try to start a server from the command line (NOT inside the box binary), I get this error now on Big Sur:

javax.script.ScriptException: lucee.runtime.exp.MissingIncludeException: Page /__commandbox_root/rob/.CommandBox/cfml/system/Bootstrap.cfm [/Users/rob/Sites/cfwt/macpnacdashboard/users/rob/.CommandBox/cfml/system/Bootstrap.cfm] not found
        at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:1021)
        at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:940)
        at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:837)
        at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:818)
        at 4sjtv0mxozkf.call(Unknown Source)
        at lucee.runtime.compiler.Renderer.tag(Renderer.java:108)
        at lucee.runtime.compiler.Renderer.script(Renderer.java:98)
        at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:63)
        at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:194)
        at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:330)
        at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:155)
        at cliloader.LoaderCLIMain.main(LoaderCLIMain.java:580)
Caused by: lucee.runtime.exp.MissingIncludeException: Page /__commandbox_root/rob/.CommandBox/cfml/system/Bootstrap.cfm [/Users/rob/Sites/cfwt/macpnacdashboard/users/rob/.CommandBox/cfml/system/Bootstrap.cfm] not found
        ... 12 more
Cause:
lucee.runtime.exp.MissingIncludeException: Page /__commandbox_root/rob/.CommandBox/cfml/system/Bootstrap.cfm [/Users/rob/Sites/cfwt/macpnacdashboard/users/rob/.CommandBox/cfml/system/Bootstrap.cfm] not found
        at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:1021)
        at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:940)
        at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:837)
        at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:818)
        at 4sjtv0mxozkf.call(Unknown Source)
        at lucee.runtime.compiler.Renderer.tag(Renderer.java:108)
        at lucee.runtime.compiler.Renderer.script(Renderer.java:98)
        at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:63)
        at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:194)
        at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:330)
        at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:155)
        at cliloader.LoaderCLIMain.main(LoaderCLIMain.java:580)

WHat I can tell you is I have a directory called /Users/rob/Sites/cfwt/macpnacdashboard/ and one called /Users/rob/.CommandBox/cfml/ so is it some kind of error trying to combine those somewhere?

Rob

unread,
Dec 1, 2020, 8:06:42 PM12/1/20
to CommandBox, Rob
ANd if I go into the box binary and start the server, it works.

Brad Wood

unread,
Dec 1, 2020, 8:39:30 PM12/1/20
to CommandBox, Rob
ahh yes, that's a Long standing Lucee bug with resolving CF mappings when you start box in a directory that has a user folder and your commandbox home is also in a users folder and your on *nix.  The only workaround is to start box in a different working dir. 

--
You received this message because you are subscribed to the Google Groups "CommandBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandbox+...@ortussolutions.com.
To view this discussion on the web visit https://groups.google.com/a/ortussolutions.com/d/msgid/commandbox/a78fd9ad-9373-4e2d-b451-5b91fef0e81an%40ortussolutions.com.

Brad Wood

unread,
Dec 1, 2020, 8:54:29 PM12/1/20
to CommandBox, Rob
I think it may be one of these.  It's been since 4.0.0 that Lucee started doing that.


https://luceeserver.atlassian.net/browse/LDEV-2893
Reply all
Reply to author
Forward
0 new messages