Jason Ryan
09/06/2022, 9:46 PMroot/.CommandBox/lib/runwar-4.7.7.jar
? This is box-light by the way. In my Lucee hardening adventure, the last two items striking some red flags are io.undertow:undertow-core
and net.minidev:json-smart-mini
both of which are showing up as included in that .jar file.dfgrumpy
09/07/2022, 4:14 AMprivate function createOptions( required struct options ){
var staticTableExtension = javaloader.create( "com.vladsch.flexmark.ext.tables.TablesExtension" );
I am assuming it is something in javaloader that is not working properly. But I am unsure as I have limited ability to debug in live and have no ability to change any settings.Jason Ryan
09/09/2022, 8:34 PMfelix-cache
folder? More specifically I'm getting some lit up with some vulnerabilities that I was hoping to (and almost did) avoid with box-light in this folder: /root/.CommandBox/engine/cfml/cli/lucee-server/felix-cache/bundle56/version0.0/bundle.jar
dfgrumpy
09/11/2022, 4:25 PMmegger
09/12/2022, 3:41 PMlist
nor outdated
is working (latest commandbox version 5.6.1)? error message is C:\Users\chucknorris\Projects\commandbox\ is not a package!
Ookma-Kyi
09/12/2022, 5:58 PMwriteOutput()
to get it's output it displays as on. However when I it isn't ticketed it simply doesn't exist. I thought it would output either true
or false
at least logically. Am I missing something or am I going to have to do a bit more work to get it to do what I want?Ookma-Kyi
09/12/2022, 7:19 PMNo matching Method/Function for user defined function (auth).user() found
. Here is a snip of the code I am using as well as all related error logs and stacks( https://bitbucket.org/ookma-kyi/workspace/snippets/6EyeMx ). What's weird is I copied and pasted that portion of the code from another module. The other component I copied and pasted from works but not this one. I double checked and yes I am injecting the auth
dependency inside my component.
Sorry about having no syntax highlighting, Bitbucket doesn't have any for ColdFusion. Trying to end the file with the extension .cfc defaults to C. 😢cfvonner
09/12/2022, 9:32 PMUser.cfc
. I suspect the get()
method is returning an array, rather than a single user object. And since it's returning an array, the error message is saying that the array doesn't have a setNotifications
method.johnbarrett
09/13/2022, 4:03 AM"app":{
"cfengine":"Adobe@2021"
},
"web":{
"http":{
"port":"2020"
}
},
"jvm":{
"heapSize":512
}
}
danlance
09/13/2022, 12:14 PMortussolutions/commandbox:3.5.4
tag, which includes COMMANDBOX_VERSION=5.5.2
When I look at commandbox site, I see latest version of CB listed as v5.6.1.
I’m not seeing any specific version tags of CB on dockerhub beyond 5.5.2, although the unversioned tags (latest / lucee-light / etc.) have been updated ~5 days ago including CB 5.6.1
We always pull from specific version tag in order to avoid “unexpected upgrades” which have not gone though our / our client’s testing and approval processes…
Can you clarify if part of the build scripts have failed / been missed for this latest version… or if this is a deliberate omission?jclausen
09/13/2022, 12:16 PMdanlance
09/13/2022, 12:18 PMjclausen
09/13/2022, 12:18 PMdanlance
09/13/2022, 12:19 PMjclausen
09/13/2022, 12:20 PMjclausen
09/13/2022, 12:22 PMdavla
09/14/2022, 12:04 PM"ssl":{
"host":"api.domain.app.test",
"port":"8080",
"enable":true,
"sslcert":"/etc/apache2/ssl/domain.app.test.crt",
"sslkey":"/etc/apache2/ssl/domain.app.test.key",
"sslkeypass":""
}
The domain.app.test cert is config’d to accept *.domain.app.test and domain.app.test. It was working before the Commandbox upgrade (I was previously on 5.4.2), now on 5.6.1David Rogers
09/14/2022, 2:15 PMnolanerck
09/14/2022, 5:14 PMtry
{
var userObj = AuthService.authenticate(username=rc.email, password=EncryptionService.hashPassword(rc.password));
}
catch( ex )
{
if( ex.type eq "InvalidCredentials" )
{
relocate( event="auth/onInvalidLogin", persistStruct={ errMsg: "something bad happened!" } );
}
}
...but that seems like the long way around the problem. Trying to figure out why our "invalidAuthenticationEvent' isn't firing off. Suggestions welcome. Thanks.Scott Steinbeck
09/14/2022, 6:21 PMrunAsync
the correct solution? i basically want to fire off a SQL task that runs when a user makes a change, but they dont need to wait around for it to finishCavan Vannice
09/14/2022, 6:37 PMgetRegisteredTasks()
for example in a handler or model.Cavan Vannice
09/15/2022, 1:41 PMscheduler.task("task_name").getStats();
in my handler. For the ColdBox scheduler. I get the expected structure minus the nextRun
field. Should I be looking for that somewhere else? @bdw429sdanlance
09/15/2022, 3:44 PMJordan Clark
09/15/2022, 5:20 PMbox task run whatever.cfc
will it honour ENV BOX_SERVER_APP_CFENGINE=lucee-light@5.3.9.133
and use that engine or is there a way to set the internal engine?danlance
09/16/2022, 1:22 PM{
"name": "${INSTANCENAME:UndefinedInEnvironment}"
}
When we were running CB <= 5.2.0, this would correctly set the name of the server to the passed in environment variable… but following on from upgrading to 5.4.2, the servername is always set to www
- or rather I believe set to the name of the folder the server is started in…
Within the detailed output for warmup-server.sh (in this instance running CB 5.5.2) we see the following:
Starting up container in test mode
Set verboseErrors = true
INFO: Configuration set to non-root user: CBServerUser
Set verboseErrors = true
INFO: CF Engine defined as lucee@5.3.9+133
INFO: Convention .cfconfig.json found at /var/www/.cfconfig.json
INFO: Server Home Directory set to: /usr/local/lib/serverHome
√ | Starting Server
|------------------------------
| start server in - /var/www/
| server name - www
| server config file - /var/www//server.json
| WAR/zip archive already installed.
..and when the server starts - either locally or on AWS, the server name always shows up as www
previously, within the warmup running within the dev ops build script, where the INSTANCENAME
environment variable was not set, we would see UndefinedInEnvironment
shown as the server name, and then when running within local / AWS environments where the environment variable was set, the server name would be set to the environment variable.
This is particularly an issue when viewing servers within Fusion Reactor Cloud dashboard… as we have multiple servers for different applications and environments appear in the dashboard as www - and not the specific app / environment name specified.
All other dynamically set parameters within the server.json - such as the fusionreator settings for cloudgroup, defaultApplicationName etc. which are set from environment variables, appear to be set correctly (so we can for instance see in FR when we dig into the details what app / environment is being run, but on all the menus, all instances appear as www.
Can anyone advise why this behaviour seems to have changed… and if there is something we can do to ensure that the server name is set correctly as it was previously?