Upgrading CommandBox to use Lucee 5

Should this process work for CommandBox?
http://docs.lucee.org/guides/lucee-5/upgrading-lucee-45.html

I tried it, but it seems CommandBox loads lucee-4.5.2.018.jar from somewhere

We should have Lucee5 *server* support in the next few days, in the dev
version, but we'll be sticking with 4.5 for the core itself for a bit
(meaning commands and such will use the 4.5 engine, but you'll be able
to easily spin up lucee5 server instances).

DeN

I’ve not tried that before. Did you delete the old Lucee jar? Renaming it in the same folder will still pick it up if it’s extension is a jar. I’m not sure if it would work though. The CLI uses the same jars, and since Micha is moving to JSR-223 with with Lucee 5, I’m not sure if it even has the same plumbing in it that the CLI uses.

We’re working on starting Lucee 5 (and Adobe) web servers right now with Denny and hope to have a working beta of that soon.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

I tried this just for the fun of it. It is possible to get the CLi and web servers running on Lucee 5, but it’s a bit messy and required some hacking. Namely, the createDynamicProxy() call that creates our custom Jline completor doesn’t find the Jline jar and need commented out. I also had to set the new Lucee java agent manually in my server’s jvm.args parameter. Feel free to play with, but it’s not a supported installation :slight_smile:

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Just FYI, we have the beginning of multi-server support in a branch called “multi-server” right now. I’ll be merging this into dev soon, but still ironing out some things. This does not change the fact that the CLI still runs on Lucee 4.5, but it a allows you to start Adobe CF 9, 10, 11, 2016, Railo 4.2, and Lucee 5 servers.

If you’re dying to try it, clone the CommandBox repo, switch to the “multi-server” branch. For Windows, I run the box-cli.bat file in the root of the repo. Choose option 5 and run the build target “build.cli.exe”. It will create a /dist/3.1.0 folder with box.exe. For *nix there’s a similar shell script, but I don’t know the name of the target to run off the top of my head. Probably build.cli.bin.

Once I get this onto the dev branch, the normal builds will be automatically available from our integration server.

Thanks!

~Brad

This is exciting…

Come and get it:
http://www.codersrevolution.com/blog/commandbox-multi-server-support-now-in-beta-v310

And if you haven’t seen it, an overview of the other features in the 3.1.0 beta:
http://www.codersrevolution.com/blog/exciting-new-features-in-the-commandbox-310-bleeding-edge

Thanks!

~Brad

Tried the Forgebox Login and got the following message. Am I doing something wrong?


/ ____| | | _ \

___ _ __ ___ _ __ ___ __ _ _ __ | | |) | _____ __
/ _ | ’
_ \| '_ _ \ / | '_ \ / _ | _ < / _ \ / /
| () | | | | | | | | | | | (| | | | | (| | |
) | () > <
_
____
/|| || ||| || ||_,|| ||_,|___/ ___//_\ v3.1.0+00323

Welcome to CommandBox!
Type “help” for help, or “help [command]” to be more specific.
CommandBox:Websites> forgebox login
Enter username (Username for this user) :jeremy.deyoung@lunarfly.com
Enter password (Password for this user) :***************************

ERROR

Sorry, the user could not be logged in.
General application error: variable [USERSERVICE] doesn’t exist

CommandBox:Websites>