Just setting up a new M1 laptop. I previously had CommandBox local dev running under Mojave, but latest OS X install of CommandBox does not seem to fire up a server - I upgraded to the latest version as the version I was running didn’t work either . Anyone successfully running on Monterey?
I couldn’t find any info on getting this set up.
I’m curious, what exactly does “doesn’t work” mean? You said CommandBox “does not seem to fire up a server”?
My first thought is you should confirm the following:
You’re on the latest CommandBox - box info, compare with latest release
You’re using a supported Java version - box info will tell you the Java version as well. CommandBox 5.1+ supports Java 14, but Lucee won’t run on Java 14 AFAIK.
Just not enough details to go on, here. You didn’t mention what CommandBox version you are running, what Java version you’re on, what type of server you’re trying to start (ACF or Lucee, and what version), what error you get (if any), etc.
If you’re not seeing a server fire up when using server start, add the --verbose and --console flags to see more details about the server start process. This should give you more info to debug with.
Ah OK sorry,!
Latest downloaded version (today)
I am trying to start a Lucee server
I am using the default Monerey JAVA, I tried to run the CommandBox with JAVA included but Monterey would not allow that to be run and no clear way of allowing that in Security preferences.
Thanks for the tip about flags:
First three errors (—console) are:
java.lang.ExceptionInInitializerError
[ERROR] at javax.crypto.Mac.getInstance(Mac.java:176)
[ERROR] at org.jets3t.service.utils.ServiceUtils.signWithHmacSha1(ServiceUtils.java:154)
Can you please include the FULL stack trace for this errror? A quick google is showing zero results about any sort of “ExceptionInInitializerError” being an known issue. I’m guessing there’s a “CAUSED BY” at the bottom of the stack trace with more info.
I’m confused what would make you think that. There’s nothing wrong with java 8 and I don’t see any error messages in your output above that says anything at all about your Java version.