jclausen
05/02/2023, 7:27 PMThis release contains bug fixes for Redis Cluster Cache connections and also includes environmental support for activation arguments ( Hooray! No more property files! ). Read more about configuring your extension through the environment variables in our docs. We have also added support for cluster cache password authentication, as well as configuration options for read timeouts and connection pool sizing.
dougcain
05/03/2023, 12:39 PMevagoras
05/04/2023, 3:10 PMonCLIStart
seems to run every time the CLI starts, not just the first time.hemi345
05/04/2023, 3:56 PMlmajano
05/05/2023, 1:19 PMRobert Zehnder
05/09/2023, 2:49 PMlmajano
05/09/2023, 3:40 PMinstall coldbox@be
. Please report any issuesPeter Hoopes
05/09/2023, 4:33 PMserver.json
file in a folder, and I have it set at the webroot
is a subfolder, which folder should a .env
file be in for config-dotenv
to work properly. I have it currently in the webroot folder, but it doesn’t seem to be getting picked up in the Java environment variables. At least CF is telling me that one of the items isn’t found. Also, is there a way to see in Lucee (or something in the OS CLI) that will show those Java arguments so I can check they are loaded in?elpete
05/09/2023, 4:37 PMelpete
05/09/2023, 4:37 PM--debug
to the server start
command you can see the passed in environment variables in the JVM arguments.elpete
05/09/2023, 4:37 PM-DKEY=VALUE
Peter Hoopes
05/09/2023, 6:25 PMbdw429s
05/09/2023, 6:36 PMenv show
but keep in mind, env vars loaded as part of a server start only exist for the duration of that command. You can put env show
in an onServerStart
server script if you want to debug what env vars exist when the server is startingbdw429s
05/09/2023, 6:38 PMbox
command in a working directory with an .env
file, it will get loaded into the global environment for the duration of the shell
• any time a command is run. This includes server commands and any other command alike and will specifically load an .env
from the current working directory of the shell
• any time a server starts. This looks up the web root of the starting server and checks for an .env file. Keep in mind the server start command may not be run the web root.bdw429s
05/09/2023, 6:38 PMbdw429s
05/09/2023, 6:39 PMconfig set modules.commandbox-dotenv.verbose=true
and
config set modules.commandbox-dotenv.printOnLoad=true
Peter Hoopes
05/10/2023, 1:30 PMserver.json
(with the config) in a folder www
, and then the two webroots inside. I did this so that I could have one folder each for the /lib
and /certs
folders in www
. So when you say "web root" do you mean the CFM/HTML serving web root, or the location of the server.json
file (in my case, one folder up)? @bdw429sseandaniels
05/10/2023, 5:30 PMserver start
on a remote EC2 instance. It has something to do with Globber.cfc, I'll put part of the verbose error in the thread. Any ideas? This server runs fine locally. Same version of CommandBox (5.9.0+00721) on both.Adam Cameron
Adam Cameron
lmajano
05/11/2023, 2:22 PMrichard.herbert
05/11/2023, 5:10 PMDISTINCT
with Quick/qbbdw429s
05/11/2023, 6:35 PMDavid Rogers
05/11/2023, 6:47 PMDavid Rogers
05/12/2023, 4:21 PMwithCount
should be against this
or against qb
? (quick6)
function scopeWithSomeCountOf( qb ) {
this.withCount(...) // ?
qb.withCount(...) // ?
}
elpete
05/12/2023, 5:45 PMqb
in this case.Peter Hoopes
05/13/2023, 1:47 PMDean
05/15/2023, 12:04 AM"runwar": {
"undertowOptions": {
"ALLOW_UNESCAPED_CHARACTERS_IN_URL": true
}
}
BOX_SERVER_RUNWAR_UNDERTOWOPTIONS_ALLOW_UNESCAPED_CHARACTERS_IN_URL=true
Seems like it wont do the right thing?lmajano
05/16/2023, 3:48 PMAdam Cameron