http://coldfusion.com logo
Join Slack
Powered by
# box-products
  • c

    Chase Lane

    05/02/2025, 3:27 AM
    Does declaring my java loadpath in application.bx hook them up into wirebox automatically? Or do I still need to use cbjavaloader?
    b
    • 2
    • 4
  • f

    fmdano

    05/02/2025, 3:11 PM
    Hey all --- working through some TestBox tests and I see I can run each test individually in VSCode, however I am not sure how...every time i click on the run test icon for that individual test, it says No Testbox Runner URL configured in settings...so click on settings icon to get into the vscode testbox extension display...i assume I put in a path to some runner.cfm file path into testbox.runnerURL item....i put in textbox/tests/com/run.cfm or runner.cfm in an then run the individual test in the file in vscode...now i get test failed and Error running Function test can't parse the URL....any thoughts on what I am missing in my setup in VSCode? thanks
    • 1
    • 1
  • g

    gavinbaumanis

    05/04/2025, 8:40 PM
    Hey everyone is their a switch/config etc that I can set to use a local copy of box modules? That is I want to change the source code of module(s) and ensure that I used the local/edited copy and not use what was downloaded from forgebox/online. Thanks!
  • c

    cubortea

    05/05/2025, 8:37 AM
    Hello Guys, I'm in the process of upgrading Lucee from 5.4.7+3 to 6.2.1+122. (I’m using Docker CommandBox with the image
    jdk11-3.13.0
    .) After upgrading, I keep getting the following error: > "There is no default object cache defined, you need to define this default cache in the Lucee Administrator." When I check the Lucee Admin, the default object cache setting is empty, even though it worked fine in Lucee 5. It seems like my existing
    config.json
    is not being properly loaded in Lucee 6. Here’s the relevant part of my config: "caches": { "sst_XXX": { "class": "ortus.extension.cache.redis.RedisCache", "storage": "true", "custom": { "idleConnections": "5", "maxConnections": "99999999", "host": "hosyredis.ccc", "port": "6379", "keyprefix": "ref-cache", "useSSL": "false", "password": "", "timeout": "10000" }, "default": "object" } }, "cacheDefaultObject": "sst_XXX" Has anyone encountered this before or found a way to fix it in Lucee 6? Any help would be appreciated!
    g
    z
    • 3
    • 13
  • t

    Tim Badolato

    05/05/2025, 3:47 PM
    Here is my Dockerfile:
    Copy code
    FROM ortussolutions/commandbox:lucee5-3.13.0
    RUN box install lucee@5.4.7.3
    RUN box server set app.cfengine=lucee@5.4.7.3
    And my box.json:
    Copy code
    {
      "VERSION": "1.4.5",
      "SLUG": "CFWheels",
      "TYPE": "mvc",
      "dependencies": {
        "cfwheels-bcrypt": "1.0.2",
        "lucee": "5.4.7.3",
        "s3sdk": "^5.7.1+94"
      },
      "installPaths": {
        "cfwheels-bcrypt": "plugins/bcrypt/",
        "s3sdk": "modules/s3sdk/"
      }
    }
    docker-compose.yml:
    Copy code
    wheelie_cfml1:
        container_name: cfml
        restart: always
        build: "."
        ports:
          - "8080:8080"
          - "8443:8443"
          - "44307:44307"
        environment:
          CFENGINE: lucee@5.4.7.3
    I'm having trouble upgrading my Lucee version. When I dump the current running version I see that I'm on 5.4.6.9 instead 5.4.7.3:
    Copy code
    loaderPath	string	/usr/local/lib/serverHome/WEB-INF/lib/lucee-5.4.6.9.jar
    Any idea how to fix this?
    j
    b
    • 3
    • 8
  • s

    seandaniels

    05/06/2025, 6:10 PM
    Is there a directory of FusionReactor installID values for commandbox-fusionreactor somewhere? Trying to figure out what the ID would be for their new versioning syntax (2025.1.0)
    b
    • 2
    • 34
  • s

    seandaniels

    05/06/2025, 8:09 PM
    I'm using commandbox-hostupdater module for a couple local multisite servers. I can't seem to figure out how to get the bindings right for having the two running simultaneously. It looks like multisite binds to 0.0.0.0:80 instead of the IP created by hostupdater. Is there a way to do this I'm missing?
    b
    • 2
    • 19
  • d

    danmurphy

    05/06/2025, 10:46 PM
    I’m not totally sure that this is ColdBox related or something else, but doing a fwreinit “fixes” it each time it happens so I’ll post the question here. At times our app fails to load static files that are referred to by a relative path. For example, it will try to load an img with a source of
    src="/includes/images/Dashboard.ico"
    . For some reason, it tries to load this as
    <http://localhost:10000/includes/images/Dashboard.ico>
    instead of
    https:/servername/includes/css/app.css
    so it fails and the image doesn’t load. This happens with all included css files, js files, images, etc. If we do a fwreinit, they all load properly because they load via the server name and no port. We can’t seem to recreate this, it just seems to happen randomly. Any thoughts on what might be happening?
    b
    e
    • 3
    • 21
  • c

    Chase Lane

    05/07/2025, 1:25 AM
    Do I need to load my site before I can run testbox? If I don't, I get this error. Also, after I run the testing suite, I have to run a fwreinit to load my site back. I think my Application.cfc is configured wrong because it's overwriting the application.cbcontroller with the mock controller.. but I haven't been able to figure it out
    • 1
    • 3
  • b

    bockensm

    05/09/2025, 8:14 PM
    Is there a recommended way to use CFSetup with the CommandBox Docker images?
    b
    • 2
    • 3
  • q

    quetwo

    05/10/2025, 1:27 AM
    Hey Guys -- I've been fumbling half the day trying to migrate an old customer from a shared host to a hosted container system -- and they are using ContentBox. I figured the best way was to use the Ortus ContentBox docker image that is on DockerHub. I struggled with the initial setup, but got past that (the docs are pretty wrong in quite a few places in https://contentbox.ortusbooks.com/getting-started/installation/docker -- namely the environment variables that are required are missing and some are misspelled. Anyway, last thing I'm trying to get working right is the Url Rewrite so that /index.cfm/ isn't required for everything. I never use Undertow, so I'm kinda at a loss as to where to flip the switch so that the URL Rewrite works. Any pointers or docs?
    d
    m
    • 3
    • 18
  • d

    Daniel Mejia

    05/12/2025, 7:37 PM
    Whats the benefit of using multiple Application.bx classes with the same "this.name" aka "application name"? Like why was that ever a thing in cfml?
    b
    • 2
    • 5
  • m

    Mark Drew (he/him)

    05/14/2025, 4:45 PM
    is it just me or has commandbox got really slow at starting up? I have a farly beefy M1 mac and it takes about 20 seconds to run
    box version
    for example
    r
    p
    +3
    • 6
    • 45
  • m

    Mark Drew (he/him)

    05/14/2025, 5:39 PM
    I am working on the vscde-testbox extension, and trying to build some urls to run a spec. I noticed that in the HTML runner the spec is actually a hash() of the title of the spec. Is there another way to run a single spec? I notice the code is
    Copy code
    "id"             : hash( this.$suiteContext & arguments.title ),
    but not sure what
    this.$suiteContext
    resolves to.
    l
    • 2
    • 8
  • j

    Jim Priest

    05/15/2025, 8:30 PM
    Have a weird issue with LogBox - I'm trying to convert our error handler to use it and running into an issue where things are quoted twice. We cobble together a nested struct a bunch of information regarding the error and then
    serializeJSON(bugstruct)
    If I dump bugstruct I get the expected JSON formatted correctly:
    Copy code
    {"session":{"cfid":"104","userprivileges":"[ complex value ]","sessionid":"13a13725b21c091f-5420FD40-0257-FBE8-4577A859971AF78D","noerr":0,"stickaround":1,"employee":"[ complex value ]","__fw1preservekey":"","admin":"[ complex value ]","urltoken":"CFID=104&CFTOKEN=13a13725b21c091f-5420FD40-0257-FBE8-4577A859971AF78D","cftoken":"13a13725b21c091f-5420FD40-0257-FBE8-4577A859971AF78D"},"referrer":"","detail":"This is a test exception Test Exception","message":"This is a test exception","request":{"samesite_value":...
    I then dropped this into our Logbox call:
    Copy code
    application.logger.log(msg=serializeJSON(bugstruct), log="bugs", level="error", extrainfo="");
    But get this:
    Copy code
    "ERROR","BUGS","05/15/2025","16:11:05","bugs","{""session"":{""cfid"":""104"",""userprivileges"":""[ complex value ]"",""sessionid"":""104_13a13725b21c091f-5420FD40-0257-FBE8-4577A859971AF78D"",""noerr"":0,""stickaround"":1,""employee"":""[ complex value ]"",""__fw1preservekey"":"""",""admin"":""[ complex value ]"",""urltoken"":""CFID=104&CFTOKEN=13a13725b21c091f-5420FD40-0257-FBE8-4577A859971AF78D"",""cftoken"":""13a13725b21c091f-5420FD40-0257-FBE8-4577A859971AF78D""},""referrer"":"""",""detail"":""This is a test exception Test Exception"",""message"":""This is a test exception"",""request"":{""samesite_value""...
    And I know 'extraInfo' is also supposed to handle complex objects so I tried this:
    Copy code
    application.logger.log(msg="Error", log="bugs", level="error", extrainfo=bugstruct);
    Which also gives me the doubled quotes and introduces a lot of extra whitespace?
    Copy code
    "ERROR","BUGS","05/15/2025","15:58:32","bugs","Error | ExtraInfo:{      ""session"":{           ""cfid"":""104"",             ""userprivileges"":""[                          complex value           ]"",            ""sessionid"":""13a13725b21c091f-5420FD40-0257-FBE8-4577A859971AF78D"",            ""noerr"":0,         ""stickaround"":1,               ""employee"":""[                        complex value           ]"",         ""__fw1preservekey"":"""",               ""admin"":""[                   complex value           ]"",         ""urltoken"":""CFID=104&CFTOKEN=13a13725b21c091f-5420FD40-0257-FBE8-4577A859971AF78D"",                  ""cftoken"":""13a13725b21c091f-5420FD40-0257-FBE8-4577A859971AF78D""          },      ""referrer"":"""",      ""detail"":""This is a test exception Test Exception"",       ""message"":""This is a test exception"",       ""request"":{                 ""samesite_value"...
    Is this expected?
    b
    s
    a
    • 4
    • 19
  • c

    Chase Lane

    05/20/2025, 1:47 AM
    Started getting this sporadic issue with cfmigrations
    Untitled
    • 1
    • 2
  • j

    John Liljegren

    05/21/2025, 1:56 PM
    when using the jar endpoint and maven in commandbox for a dependency, is there a way to run a postinstall script that I specify? I want to grab the jar and move it to a shared lib folder instead of have all the jar dependencies in their own subfolders
  • p

    Patrick Roy

    05/22/2025, 7:16 AM
    Hello. I have a task runner script which loops a lot of DB rows (~10,000+++) and changes some data in a given cell. My task runner script essentially does a loop over the rows, and having injected
    interactiveJob
    in it, will simply do a
    job.addLog("Processing ID #itemID#)
    so it outputs which item it's currently at. The problem is that when the number of rows / item IDs to output get's too big, InteractiveJob.cfc crashes on line 304. with a java.util.ConcurrentModificationException. If anyone can advise how we could resolve this? See attached screenshot.. Much thanks.
    b
    w
    • 3
    • 45
  • l

    lmajano

    05/29/2025, 3:30 PM
    🔥 BoxLang 1.2 is Here! 🔥 https://www.ortussolutions.com/blog/boxlang-v120-released Just 2 weeks of development and we have a massive release with over 50+ improvements delivered from our amazing team! 🚀 Highlights: ✅ Maven integration - any Java library in your BoxLang Home ✅ 30+ performance optimizations ✅ Advanced logging controls ✅ Enhanced CFML compatibility 🔧 Professional open-source with fair licensing, save over 60% from Adobe ColdFusion with no code changes!
    🎉 6
    🚀 2
    👍 1
  • b

    bdw429s

    05/29/2025, 11:47 PM
    https://x.com/bdw429s/status/1926047559476232317
    • 1
    • 2
  • l

    lmajano

    05/30/2025, 5:34 PM
    🚀 BoxLang IDE v1.7.1 is Now Live! https://www.ortussolutions.com/blog/v171-boxlang-vscode-extension We’re thrilled to announce the latest release of our official BoxLang extension for VSCode, packed with powerful new features and improvements. 🔥 What’s New: ✨ BoxLang version upgrades 🤖 AI-Powered BoxLang Chat Participant We’ve integrated an official BoxLang chat participant that supercharges your Copilot experience. Simply type
    @boxlang
    in VSCode’s chat and get intelligent, context-aware answers to your CFML and BoxLang questions. The participant is equipped with our comprehensive documentation, ensuring accurate and relevant responses. Try asking:
    @boxlang how do I configure a datasource?
    and watch the magic happen! ⚡ Pre-Release Channel For developers who love living on the edge 🛠️ Enhanced Workspace Settings Found a bug or have ideas? Check out our JIRA board - we’d love to hear from you! https://ortussolutions.atlassian.net/browse/BLIDE [7:34 PM] lmajano Remember that our BoxLang extension can be used for both BoxLang and CFML
    👍 1
  • d

    Daniel Mejia

    05/30/2025, 6:13 PM
    hell yeah. lets vibe code!
    🎉 2
  • r

    rodyon

    05/30/2025, 7:28 PM
    blog post mentioned and I remember to ask: https://boxlang.ortusbooks.com/boxlang-language/syntax/datasources
  • r

    rodyon

    05/30/2025, 7:29 PM
    can I ask in docs to place full path for the files mentioned ? sometime it's hard to understand where "boxlang.json" (example) should be located. It's obvious for people 'in-topic' but for newbies it's confusing. Many thanks!
    ➕ 1
    l
    • 2
    • 1
  • b

    Bill Nourse

    06/02/2025, 2:56 PM
    I had another chance to play with BoxLang over the weekend. One magical thing I just discovered was BOXLANG_REWRITE_FILE. If you set this to index.bxm, then it instantly rewrites... mydomain.com/index.bxm/main to mydomain.com/main I guess this is available with CommandBox too, but did not know it existed. This option is really compelling for my use case, as I build my own framework based on rewrite rules. Ultimately, the apps I build could run off a 316 MB miniserver docker image. So question please... Your docs say that miniservers are best for light applications... Can someone at Box please explain the limitations of the miniserver in production? Thanks!
  • a

    alexpixl8

    06/02/2025, 3:34 PM
    Not from box but if MiniSever is running undertow, i think its mini by name (size of footprint) vs production limitations. I would expect much like use of undertow and or commandbox its more about the compute and wrapping infra. Are you fronting with reverse proxy do you need to do smart traffic shaping for your app ? If not i would imagine it would be fine but either way questions is a bit broad. I think you'd need to provide more info about your production requirements
    b
    b
    • 3
    • 8
  • r

    romanstr

    06/04/2025, 8:45 AM
    It's impossible to set
    "debuggingEnabled": true
    through the
    .cfconfig.json
    file in CommandBox for Lucee 6.2. The same applies to setting it using
    cfconfig set debuggingDatabase=true
    . I think there are some new properties in Lucee that haven't been added to CommandBox yet.
    c
    b
    • 3
    • 9
  • l

    lmajano

    06/04/2025, 8:57 AM
    We just launched the Setup BoxLang GitHub Action https://www.ortussolutions.com/blog/streamline-your-cicd-introducing-the-setup-boxlang-github-action ✨ What used to take multiple manual steps now happens in one line:
    Copy code
    - name: Setup BoxLang
      uses: ortus-boxlang/setup-boxlang@v1
    🔥 Key benefits: • Zero-configuration setup (Java installation handled automatically) • Install any BoxLang modules during setup • Choose your version: latest, snapshot, or pin to specific releases • Works seamlessly across all GitHub runner environments
  • l

    lmajano

    06/05/2025, 8:34 PM
    Folks, tons of updates for our quick installers (Mac/Linux/Windows). Please try them out and report any issues. Please note that it also detects if CommandBox is installed, if not, it will install it for you as well. It will automatically setup the env variables and pathing. Please report any issues. We also added
    --help
    to all commands, so you can try it out. Mac/Linux
    Copy code
    curl -fsSL <https://install.boxlang.io> | bash
    Wndows
    Copy code
    Start-Process powershell -Verb RunAs -ArgumentList '-NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString(''<https://install-windows.boxlang.io>''))"'
    ### Added - Checks if CommandBox is installed, if not, it asks to install it for you. -
    jq
    dependency check - sudo support for Linux and macOS - Added comma-separated list support for module installations - Added remove modules via
    --remove
    - Show version of installed modules - Added record installation back to ForgeBox - Added
    --help
    to all commands - Uploads to new destination on s3:
    boxlang-quick-installer
    - md5 and sha256 checksums for the installer - zip files for the installer -
    version.json
    file to track the installer - Update the
    install-boxlang.bat
    for Windows to make sure you can run it from anywhere. - If you are in Powershell 5 or lower, it will now use no progress bar. - Updated the
    install-boxlang.ps1
    to add a BOXLANG_HOME env variable to the system and install the boxlang scripts. ### Fixed - Boxlang Home fixed for windows - Console reading via < /dev/tty
  • l

    Lana

    06/06/2025, 6:33 PM
    I need help with a query string/routing issue in coldbox 5.6.2 I added queryString argument to setNextEvent ( <cfset setNextEvent(event="quote.info", queryString="test=123", persistStruct=url)> ) but the queryString appears in URL as slashes. For ex. quote/info/test/123. I want to maintain the query string as is. Configure in router cfc is : setFullRewrites( true ); setUniqueURLS(false); route( "/handler/action?" ).end(); I have tried changing setNextEvent to relocate and passing the same args without success. I have also attempted to set the valuePairTranslator to false without success. However, maybe didn't format it exactly right; could not find very many examples of how to do it in the docs => I used syntax route( "/handler/action?" ).valuePairTranslator( false ).end(); How can I get the query string to appear the way I want it to? In the above example, I would want it to be appear as /quote/info?test=123. Editing to add : Or maybe there is a better way to accomplish what I want - I need to pass the original referrer all the way through the application. I want the same query string to appear in the URL on every page. It will not be changed or used besides this. In other words, whatever the first cgi.query_string is that comes in on first request, I want it to stay my cgi.query_string on every page as user navigates the app. So if there is a better way than trying to force it through all of the setNextEvents that would be ideal.
    d
    j
    • 3
    • 15
1...2627282930Latest