dick
03/03/2022, 1:47 PMinstall id=s3explorer verbose=true
| | Installing package [forgebox:s3explorer]
| Installing version [3.0.1].
× | Installing package [forgebox:s3explorer]
| Verifying package 's3explorer' in forgebox, please wait...
| Installing version [3.0.1].
| Verified entry in forgebox: 's3explorer'
| Deferring to [forgebox] endpoint for forgebox entry [s3explorer]...
ERROR (5.4.2+00453)
Invalid slug detected. Slugs can only contain letters, numbers, underscores, and hyphens. They may also be prepended with an @ sign for private packages
Where can I get some help?seandaniels
03/03/2022, 3:14 PM403 <ForbiddenHTTPS://ortus-forgebox-private.s3.us-east-1.amazonaws.com/sdaniels/numverify/1.0.1+0001.zip>wil-shiftinsert
03/04/2022, 3:21 PMroute( "echo/:id", "echo.test" );
and this echo test handler
writedump(rc);
abort;
if I call http://myserver/echo/someValue id = someValue . That makes sense
if I call http://myserver:/echo/%2Fsome%2Fpage id = some instead of id = %2Fsome%2Fpage or id = /some/page . I would expect the router would leave urlencoded values alone and put the exact value in the id url parameter.
If I do someaction?id=%2Fsome%2Fpage the value will exactly be id = /some/page which is correct. So what is the coldbox router doing here. Parsing the url, and decoding BEFORE it is matching a route? That way you can never enter special characters in a path parameter.mburt
03/04/2022, 6:59 PMheroes?ids=1,2,3 but no matter what I try I end up at heroes?ids=1%252C2%252C3aaronstoddard
03/08/2022, 5:52 PMdick
03/09/2022, 10:54 AMcbmailservices as a LogBox email appender?Sam Scott
03/09/2022, 6:59 PM// User Resource
route( "/api/v1/user/:userID" )
.withAction( {
GET = 'view',
POST = 'save',
PUT = 'save',
DELETE = 'remove'
} )
.toHandler( "api.v1.user" );
For example, a PUT to the conventional URL works: /api/v1/user/save/userid/55
But, a PUT to /api/v1/user/55 throws an error with message "Action '55' could not be found". Which means coldbox skipped right over the route definition, right?Ryan Albrecht
03/09/2022, 10:36 PMvar migrationService = getInstance( "migrationService:core" );
migrationService.getManager().setDatasource('someOtherDatasource');
migrationService.runAllMigrations('up');Nicole Liliana
03/10/2022, 11:58 AMlaslo7
03/11/2022, 5:29 PMaliaspooryorik
coldbox.system.logging.appenders.DBAppender from my ColdBox 6.5 app then the queries do not appear. I'm pretty sure this is due to cfdbinfo use in DBAppender. Our setup is MariaDB with ACF2018.ryan
03/15/2022, 2:06 PMDavid Rogers
03/15/2022, 7:32 PMit blocks concurrently with testbox?Ryan Albrecht
03/17/2022, 11:58 PMcfexpert
03/18/2022, 12:17 PMbdeline2
03/18/2022, 5:08 PMasync().all(
() => LookupRepository.getCategories()
).then(
(results) => WriteLog(file='AsyncFutures',text="#serializeJSON(results)#")
).onException(
(results) => WriteLog(file='AsyncFutureErrors',text="#serializeJSON(results)#")
)
I'm getting an error in the 'AsyncFutureErrors' log about the key 'site' not existing in 'request' scope. Is the current request scope not visible inside of a cbfuture? It'd make sense. Is there a workaround? I'm absolutely new to CB Futures.
Thanks.wil-shiftinsert
03/19/2022, 11:45 AMquick based service is not ready yet on my reinit request.
A work around would be easy but I was wondering: are coldbox modules ready when preProcess is fired for the first time?johnbarrett
03/21/2022, 6:08 AMdfgrumpy
03/22/2022, 8:14 AM× | Starting Server
| > Component [commandbox-hostupdater.models.HostupdaterService] has no accessible Member with name [CONSOLELOGGER]
|------------------------------
ERROR (5.4.2+00453)
Component [commandbox-hostupdater.models.HostupdaterService] has no accessible Member with name [CONSOLELOGGER]
C:\Users\XX.XX\.CommandBox\cfml\modules\commandbox-hostupdater\models\HostupdaterService.cfc: line 32
30:
31: for( var hostname in arguments.hostnames ) {
32: <http://variables.consoleLogger.info|variables.consoleLogger.info>( "Adding host '#hostname#' to your hosts file!" );
33: // remove any line matching the current host name
34: // in order to avoid duplicate entries
called from C:\Users\XX.XX\.CommandBox\cfml\modules\commandbox-hostupdater\ModuleConfig.cfc: line 44
called from C:\Users\XX.XX\.CommandBox\cfml\system\wirebox\system\core\events\EventPool.cfc: line 121
called from C:\Users\XX.XX\.CommandBox\cfml\system\wirebox\system\core\events\EventPool.cfc: line 95
called from C:\Users\XX.XX\.CommandBox\cfml\system\wirebox\system\core\events\EventPoolManager.cfc: line 59
called from C:\Users\XX.XX\.CommandBox\cfml\system\services\InterceptorService.cfc: line 57
called from C:\Users\XX.XX\.CommandBox\cfml\system\services\ServerService.cfc: line 290
called from C:\Users\XX.XX\.CommandBox\cfml\system\modules_app\server-commands\commands\server\start.cfc: line 171
called from C:\Users\XX.XX\.CommandBox\cfml\system\services\CommandService.cfc: line 345
called from C:\Users\XX.XX\.CommandBox\cfml\system\services\CommandService.cfc: line 139
called from C:\Users\XX.XX\.CommandBox\cfml\system\Shell.cfc: line 787
called from C:\Users\XX.XX\.CommandBox\cfml\system\Shell.cfc: line 607
called from C:\Users\XX.XX\.CommandBox\cfml\system\Bootstrap.cfm: line 160
lucee.runtime.exp.ExpressionException: Component [commandbox-hostupdater.models.HostupdaterService] has no accessible Member with name [CONSOLELOGGER]alexpixl8
03/22/2022, 1:14 PMuiswjd0
03/22/2022, 4:19 PMelpete
03/22/2022, 6:53 PMhasPermission method gets that string and you handle it however you'd like to return true or false.Adam Cameron
logs/server.out.txt file via code. For me it's in /usr/local/lib/serverHome/logs/server.out.txt. /usr/local/lib/serverHome is the value of the BOX_SERVER_APP_SERVERHOMEDIRECTORY environment variable. Am I safe to ass-u-me that the logs subdir will be created off that, and that this is where server.out.txt will be? IE so pathToStdOutFile = "#server.system.environment.BOX_SERVER_APP_SERVERHOMEDIRECTORY#/logs/server.out.txt" is a legit approach?Travis
03/23/2022, 2:42 PMLeon Miller-Out
03/23/2022, 3:23 PMAPP_ENV in my docker-compose.yml to be /app/htdocs_www, and I’ve mounted the app code appropriately. Early in the startup process for the container, I see:
Start script for shell [bash] generated at: /app/server-start.sh
(This is coming from commandbox’s ServerCommandLine.cfc)
Then later I see:
har-lucee-1 | INFO: Starting server using generated script: /usr/local/bin/startup.sh
har-lucee-1 | + [[ ! -n '' ]]
har-lucee-1 | + [[ ! -n '' ]]
har-lucee-1 | + echo 'INFO: Starting server using generated script: /usr/local/bin/startup.sh'
har-lucee-1 | + mv /app/htdocs_www/server-start.sh /usr/local/bin/startup.sh
har-lucee-1 | mv: cannot stat '/app/htdocs_www/server-start.sh': No such file or directory
har-lucee-1 exited with code 1
(This is coming from docker-commandbox’s start-server.sh)
So there’s some disagreement about where server-start.sh is supposed to be. It seems like docker-commandbox is respecting APP_ENV, but commandbox is not. Any ideas about where to start troubleshooting this?birdy1980
03/24/2022, 7:47 AM[DEBUG] Runwar: StopMonitor listening for password
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000001307a5cbc, pid=4465, tid=7171
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.14.1+1 (11.0.14.1+1) (build 11.0.14.1+1)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.14.1+1 (11.0.14.1+1, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# C [libawt_lwawt.dylib+0x3acbc] Java_sun_lwawt_macosx_CRobot_mouseEvent+0x34b
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/***/Dev/legacy-api/hs_err_pid4465.log
#
# If you would like to submit a bug report, please visit:
# <https://github.com/adoptium/adoptium-support/issues>
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
[DEBUG] Runwar: #
[ERROR] #
[DEBUG] Runwar: Server exit code is: 134
ERROR (5.4.2+00453)
Server process returned failing exit code [1]Nicole Liliana
03/25/2022, 1:58 PMarrayList = queryToArray(queryexecute("select id.... from products... where userid = ?"));
var returnArray=[];
for (i=1;i<=ArrayLen(arrayList);i++){
arrayAppend(returnArray, populator.populateFromStruct(target=getInstance('userProduct'), memento=arrayList[i],trustedSetter=true,ignoreEmpty=true));
}
return returnArray;
to create an array of objects and i use it to print data on the page
in the test the code use 1s to populate 10 object with this code
am I wrong in using the function?ryan
03/25/2022, 4:59 PMserver info I get the following warning. Is this anything to be concerned about or will everything still operate normally?
CommandBox> server info
amalga-ccpb (running) 127.0.0.1:58044 --> F:\code\web\sites\cfwt\testenv\
CF Engine: lucee 5.3.8+201
Last Started: 25-Mar-2022 12:52:52
Last status message:
[INFO ] Runwar: Starting RunWAR 4.5.1
[INFO ] Runwar: HTTP2 Enabled:true
[INFO ] Runwar: HTTP sslEnable:false
[INFO ] Runwar: HTTP ajpEnable:false
[INFO ] Runwar: HTTP warFile exists:true
[INFO ] Runwar: HTTP warFile isDirectory:true
[INFO ] Runwar: Starting background testenv [lucee 5.3.8+201] from: /F:/code/.CommandBox/lib/runwar-4.5.1.jar
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by runwar.LaunchUtil (file:/F:/code/.CommandBox/lib/runwar-4.5.1.jar) to method java.lang.ProcessImpl.pid()
WARNING: Please consider reporting this to the maintainers of runwar.LaunchUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO ] Starting in background -johnbarrett
03/26/2022, 4:35 AMGVJustDOIT
03/27/2022, 6:44 PMserver set web.rewrites.enable=true
server set web.rewrites.config= .htaccess
I found the below warning in the trace logs
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender (file:/C:/Users/John/.CommandBox/server/A050B21C76ADC5FA642B020347636AC5-htdocs4/lucee-5.3.8.206/WEB-INF/lib/lucee-5.3.8.206.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release