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

    gavinbaumanis

    04/05/2025, 5:25 AM
    I get this ALL the time using command box on windows 11.
    Copy code
    # There is insufficient memory for the Java Runtime Environment to continue.
    # Native memory allocation (malloc) failed to allocate 1204976 bytes. Error detail: Chunk::new
    # An error report file with more information is saved as:
    Is there a way that I can tell commandbox to start with a larger amount of ram - like pass it some JVM args?
    s
    d
    • 3
    • 4
  • g

    gavinbaumanis

    04/06/2025, 11:32 AM
    @ anyone from ortus... your contentbox products page does not work :
    ERR_TOO_MANY_REDIRECTS
    ortussolutions.com/contentbox ortussolutions.com/products/contentbox
    j
    l
    • 3
    • 9
  • m

    Marco

    04/07/2025, 8:17 PM
    Is there a way to get the server-name from C:\Users\{username}\.CommandBox\server at runtime?
    r
    b
    • 3
    • 8
  • g

    gunnar

    04/09/2025, 9:43 AM
    is there some magic to enable ssl with commandbox 6.2? My server.json looks like this, but it only starts http
    Copy code
    {
      "app": {
        "cfengine": "lucee@5."
      },
      "heap": "2048",
      "web": {
        "rewrites": {
          "enable": true
        },
        "http": {
          "port": "8080"
        },
        "ssl": {
          "certFile": "/Users/gunnar/Sites/xxx/localhost+2.pem",
          "enabled": "true",
          "keyFile": "/Users/gunnar/Sites/xxx/localhost+2-key.pem",
          "port": "8443",
          "selfSign": "true"
        }
      }
    }
    b
    • 2
    • 6
  • c

    Chase Lane

    04/09/2025, 10:37 AM
    I'm using the Coldbox global app scheduler and found a weird behavior. Only the startup() and the actual task execution can access the application scope defined.; the rest of the lifecycle methods have no knowledge of it / can't access it. Is this intentional or a bug?
    l
    b
    • 3
    • 62
  • a

    adam.euans

    04/09/2025, 11:01 AM
    There appears to be a trailing space in the CommandBox/ForgeBox artifact definition (box.json) for the latest Adobe ColdFusion 2023 version - causing the path not to be found.
    Copy code
    {
      "name": "Adobe ColdFusion",
      "version": "2023.0.13+330759 ",
      "location": "<https://downloads.ortussolutions.com/adobe/coldfusion/2023.0.13/cf-engine-2023.0.13.zip>",
      "slug": "adobe",
      "createPackageDirectory": false,
      "type": "cf-engines"
    }
    ➕ 2
    j
    • 2
    • 2
  • b

    bdw429s

    04/09/2025, 5:00 PM
    I don't have an ORM app in front of me at the moment. The
    this.ormSettings.CFCLocation
    docs on cfdocs say
    The specified paths can be: relative paths from the application root, mappings or absolute paths.
    Can someone test and tell me what CF does if you provide an absolute path which is NOT inside of the web root or any CF mapping? Will CF load those entities? And if so, what does it report their name as? My understanding has always been that all CFC paths must be relative to the webroot or a CF mapping in order to be created.
    s
    e
    • 3
    • 10
  • d

    danlance

    04/10/2025, 6:53 PM
    Hi, I’m running into difficulties attempting to use the Ortus ORM Extension ( https://forgebox.io/view/D062D72F-F8A2-46F0-8CBC91325B2F067B) on commandbox 6.2.0 in conjunction with Lucee 6.2.0+321 I am attempting to migrate a working configuration with Lucee 5.2 latest, to move to Lucee 6.x I am using an image which is based on docker image
    ortussolutions/commandbox:jdk21-3.12.0
    Within my base docker file I have as per the instructions on the following lines as the last lines:
    Copy code
    RUN box server start --dryRun
    RUN box install D062D72F-F8A2-46F0-8CBC91325B2F067B@6.5.2
    within my docker output I get:
    Copy code
    #7 [4/5] RUN box server start --dryRun
    #7 26.69  √ | Starting Server
    #7 26.69    | √ | Setting site [app] Profile to [development]
    #7 26.69    | √ | Installing package [forgebox:lucee@6.2.0+321]
    #7 26.69    | √ | Loading CFConfig into server
    #7 26.69    | √ | Loading FusionReactor
    #7 26.69    |   | √ | Installing package [forgebox:fusionreactor@^12.0.0]
    #7 DONE 28.3s
    
    #8 [5/5] RUN box install D062D72F-F8A2-46F0-8CBC91325B2F067B@6.5.2
    #8 14.19  √ | Installing package [forgebox:D062D72F-F8A2-46F0-8CBC91325B2F067B@6.5.2]
    #8 DONE 15.2s
    Which would on first glance appear to indicate that the ORM extension did install sucessfully. Within my final application docker file, I am executing the ${BUILD_DIR}/util/warmup-server.sh - and I see no reference to the ORM plugin - which I do for other installed CB modules. When I start the container, and attempt to access the application, I get the error:
    No ORM Engine installed!;No ORM Engine installed! Check out the Extension Store in the Lucee Administrator for "ORM"
    When I look at the documentation on https://orm-extension.ortusbooks.com/getting-started/installation - I see an alternate way of installation (Lucee based installation rather than CommandBox): server.json
    Copy code
    {
        // ...
        "env":{
            "LUCEE_EXTENSIONS":"D062D72F-F8A2-46F0-8CBC91325B2F067B;version=6.5.2"
        }
    }
    …and this approach does seem to resolve the error. Is anyone able to advise if the approach I am initially taking, attempting to follow the installation instructions on forgebox should work - or if I’ve missed the plot here somewhere… Also, are there any downsides to the working approach - I have a recollection that Lucee used to download and install plugins on every application startup… Would that be the case with the env var added to server.json??? Or would it only happen in the warmup. (considering if this would be best as a docker build argument in the container thus not having the env var declared when the container actually starts…) Appreciate your feedback…
    z
    b
    +2
    • 5
    • 79
  • s

    seandaniels

    04/11/2025, 3:51 PM
    I'm getting frequent errors browsing around the BoxLang documentation. This URL for example: https://boxlang.ortusbooks.com/getting-started/running-boxlang/commandbox just returns "An error occurred Sorry, an unexpected error has occurred. Please try again later." Is this a known issue?
    b
    • 2
    • 3
  • m

    mburt

    04/14/2025, 1:39 PM
    A question regarding cbSecurity and refresh tokens (I’m learning, be gentle 😅_)_ I’ve configured my cbSecurity settings to return both access (
    expiration:1
    ) and refresh (
    refreshExpiration:720
    ) tokens (
    enableRefreshTokens:true
    ), and I’m using annotation-based security on the handler. What I’m noticing is that both the access and the refresh token can be used to access the function. So even once my access token is expired and returns a “expired” response, I can still pass the refresh token and get a full response. If the two can be used interchangeably to access a secured route, what is the benefit of using refresh tokens at all? Couldn’t I just set the expiration of my access token to 720 and be done.
    n
    • 2
    • 5
  • c

    coldfusioneer

    04/14/2025, 4:25 PM
    Hello all, long time CFer and trying out some of the new BoxLang stuff and running into a bit of an issue. I am installing on Windows Server and used the Windows Installer executable to install BoxLang (complete install selected). It installed into C:\boxlang without error. I am able to run the "boxlang" command and it loads a BoxLang window for interactive use, as well as "boxlang-miniserver" to start a server. However, when attempting to add modules I am not able to locate the "install-bx-module" script anywhere to use it to install additional modules, nor the "install-boxlang" script, both of which are mentioned on the installation page of the documentation at https://boxlang.ortusbooks.com/getting-started/installation ... am I doing something wrong or did something change since the docs were last updated? There are a lot of references to the "install-bx-module" command but it does not appear to exist when using the Windows installer.
    b
    j
    +2
    • 5
    • 64
  • b

    bhartsfield

    04/14/2025, 5:08 PM
    I am trying to track down the cause of a memory leak in my ColdBox rest-hmvc app. I've went back through commits on the app to see when it may have started. In the end, none of the app code appears to be the problem. I can spin up a brand new coldbox rest skeleton app and run it out of memory pretty fast by just making repeated /?fwreinit=true requests. Anyone else noticed this or found a root cause? It doesn't appear to happen with the default or superSimple skeletons. I've been through multiple ColdBox and Lucee versions (including the latest of both) but versions do not seem to matter.
    b
    z
    • 3
    • 70
  • j

    Jeff

    04/14/2025, 5:40 PM
    In regards to CF2025 support, I'm on 7.3.1+17, but that's still breaking on the cfheader changes. I can see the development branch has been updated to fix those - is there a way to 'update coldbox' to that dev version, or would I have just check it out manually? (or wait for an official update?) Tks.
    ✅ 1
    b
    • 2
    • 2
  • l

    laslo7

    04/14/2025, 8:15 PM
    Howdy All! I have been tasked with updating a legacy coldbox app and can get it to run locally. I have command box using the same version of java and the same version of lucee. I am getting the following error: Error building: DebuggerService@cbdebugger -> The function [getAppHash] does not exist in the Object. with constructor arguments: {controller={}} Any hints would be appreciated!
    b
    • 2
    • 55
  • b

    bdw429s

    04/17/2025, 9:09 PM
    Does anyone have a local "legacy" IIS/ColdFusion installation (using Adobe's CF IIS connector) who could test something for me?
    j
    • 2
    • 53
  • a

    adam.euans

    04/21/2025, 12:52 PM
    When trying to build a BoxLang Lambda using the lambda-template, I get the following error:
    Error: InvalidSignatureException: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
    p
    b
    l
    • 4
    • 19
  • m

    Matt Dyer

    04/22/2025, 5:34 PM
    I have recently started using the commandbox docker images. I'm using ortussolutions/commandbox:lucee5. Will this be updated at some point to the latest lucee 5? I'm planning to move to lucee 6 later this year, but it will probably be several months still.
    s
    j
    b
    • 4
    • 8
  • m

    Marco

    04/22/2025, 6:38 PM
    @bdw429s We have a multisite commandBox configuration but need to keep using IIS, so I am looking into BonCode. When runniong the connector setup, on your screencast "using IIS with CommandBox via Boncode" you recomend choosing the "specific site" option instead of "All IIS Sites" Q: is this option applies to a commandbox multi=site configuration as well?
    b
    • 2
    • 14
  • d

    Dana Kowalski

    04/22/2025, 9:59 PM
    commandbox v6.2.1+00830 I went to a fresh, empty directory and did a 'server start cfengine=adobe --verbose' and I keep getting a fusionreactor error? I did a server set fusionreactor.enable=false but the issue persists? ERROR: fr-server-discovery-impl (3): [com.intergral.fusionreactor.server.discovery.impl.ServerLookupImpl(0)] Failed creating the component instance; see log for reason ERROR FusionReactor FW: The system cannot start because the license service (fusionreactor-odl-bundle) is not available. Thread[Thread-1,5,FusionReactor] java.lang.IllegalStateException: Shutdown in progress log shows issue trying to remove fr-management.jar: _adobe-2025.0.01.331420\fusionreactor\fr-management.jar] at lucee.commons.io.res.type.file.FileResource.remove(FileResource.java:305) at lucee.commons.io.res.type.file.FileResource.remove(FileResource.java:296) at lucee.commons.io.res.type.file.FileResource.remove(FileResource.java:296) at lucee.commons.io.res.type.file.FileResource.remove(FileResource.java:296) at lucee.runtime.tag.Directory.actionDelete(Directory.java:745) at lucee.runtime.functions.file.DirectoryDelete.call(DirectoryDelete.java:34) at system.services.serverservice_cfc$cf.udfCall8(/commandbox/system/services/ServerService.cfc:3063)_
    b
    • 2
    • 23
  • s

    seandaniels

    04/23/2025, 8:45 PM
    Is it possible in CommandBox multisite to have individual sites respond on port hostname:8080 , but also on another port regardless of hostname, like 0.0.0.0:8081?
    b
    • 2
    • 23
  • d

    Daniel Mejia

    04/23/2025, 10:36 PM
    Just wanna say the ortus AsyncScheduler is sweet. I'm using it in my Coldbox app, but can't wait to port over all my scheduled tasks from ACF Admin. Good Job #Ortus!
    👍 3
    🚀 4
  • b

    bhartsfield

    04/24/2025, 2:54 PM
    Is there any plan to have devDependencies ignored based on something like a production flag in the start command? For example, I do this to get rid of devDependencies in my docker images
    jq 'del(.devDependencies)' /app/box.json > /tmp/box.json && mv /tmp/box.json /app/box.json
    No big deal really, I'm mostly just curious if I am missing built-in functionality in commandbox.
    b
    • 2
    • 18
  • e

    elpete

    04/24/2025, 5:08 PM
    box install —production
    b
    b
    • 3
    • 2
  • c

    Chase Lane

    04/25/2025, 1:46 AM
    Hey, I've been writing a few custom validators for cbvalidation, where should I keep them? I've been putting them under models/validators/
    p
    l
    +2
    • 5
    • 5
  • p

    Patrick Roy

    04/28/2025, 8:35 AM
    Hello. Apologies, this might not be the right place to ask, but this regards RabbitSDK found here: https://github.com/Ortus-Solutions/RabbitSDK We have 2 small questions: 1. By doing
    box install rabbitsdk
    it seems to install rather old amqp-client-5.9.0. Could this safely be updated to latest 5.25.0 ? 2. Is this check for still needed on ModuleConfig : https://github.com/Ortus-Solutions/RabbitSDK/blob/development/ModuleConfig.cfc#L34 We're running on Lucee 6.0.3.1. I commented out that block of code from that ModuleConfig.cfc and started Lucee web server. Start a consumer... published ... got processed. The restarted Lucee and just re-published something to Rabbit : got processed. So.. not sure if and how that fileDelete is needed even? If one can explain, time permitting? Much appreciated! Thanks. cc. @bdw429s
    z
    b
    • 3
    • 12
  • p

    philcruz

    04/28/2025, 10:41 PM
    I'm trying to add a server rule for a simple rewrite. I'm getting an "error parsing predicated handler.." error. What am I missing?
    b
    • 2
    • 10
  • f

    fmdano

    04/30/2025, 2:57 PM
    DocBox question....hey, so from what my coworker is telling me, we have an issue with docbox on our site because it reaches out external to get google fonts so when our security team at my gov't site scans it finds these and seems to throw some sort of error....i guess cross side scripting I think he said...something we can do to not use the external google calls?
    s
    m
    • 3
    • 5
  • s

    Scott Steinbeck

    05/01/2025, 1:22 PM
    We’re live at into the box keynote day 1, join our BoxLang stable release announcement! 📣 🙌 https://youtube.com/live/Bn3gzjzjtuc?feature=share Slack Conversation
    🙌 1
  • j

    Jim Priest

    05/01/2025, 1:33 PM
    Congrats to the Ortus folks on BoxLang and Into The Box 2025 🙂
    🙌🏻 2
    🙌 9
  • j

    John Liljegren

    05/02/2025, 2:49 AM
    I'm trying to take an existing ACF app and start it with BoxLang by changing the engine and java settings per the docs. I have a .cfconfig file, and it seems like some of it was utilized, but the datasource (MSSQL) wouldn't work unless I defined it in Application.cfc, and JSON is getting returned with capitalized struct keys... will I need to convert the .cfconfig file or is there some other way to set up the server settings (like via boxlang.json maybe)? Also, where is the link for the spreadsheet that shows the BIFs and bx modules crosswalk?
    b
    • 2
    • 10
1...2627282930Latest