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

    seandaniels

    05/17/2023, 2:52 PM
    Does anyone else using commandbox-hostupdater have issues with Chrome not looking at /etc/hosts first for DNS lookups? Every few minutes a request will take an additional 10 seconds because Chrome attempts a DNS lookup before finally using the value in /etc/hosts.
    d
    • 2
    • 4
  • a

    adam.euans

    05/17/2023, 3:43 PM
    Forgebox.io appears to be down.
    • 1
    • 1
  • g

    garciadev

    05/18/2023, 2:03 PM
    ITB Day 1 Keynote

    https://www.youtube.com/watch?v=enz5qNn159I▾

    👏🏼 1
    a
    • 2
    • 6
  • j

    johnfarrar

    05/18/2023, 2:11 PM
    Watching with my ITB 2020 shirt!
  • g

    garciadev

    05/19/2023, 1:54 PM
    ITB Day 2 keynote starting soon!
  • g

    garciadev

    05/19/2023, 1:54 PM
    https://www.youtube.com/live/TOhOaNVy0dM?feature=share
  • r

    richard.herbert

    05/22/2023, 8:00 AM
    Am I misunderstanding how nested relationships are supposed to work with the Mementifier module?
    s
    e
    • 3
    • 14
  • c

    Cavan Vannice

    05/22/2023, 3:07 PM
    I'm having an issue with the debugger being hidden behind the left-hand side of the navigation. Does anyone have any idea how to either add left margin or drop it below the template?
    c
    • 2
    • 2
  • s

    seandaniels

    05/22/2023, 3:49 PM
    Is there a way to specify a pidfile for a box server? I tried adding
    runwar.args = ["--pid-file","/var/run/box-myserver.pid"]
    and it looks like the default --pid-file arg still is there as well and takes precedence (it's before the custom arg).
  • g

    gavinbaumanis

    05/23/2023, 3:04 AM
    Not sure if this is a BOX thing or not... I have just formatted / reinstalled my windows machine. I was using IIS - but now am JUST using Lucee via box. When I attempt to use xmlParse() on a file - I get an error. Or rather I dont get an error at THAT, at all - I get an error message from further on, saying that the variable that the xmlParse() is supposed to create doesn't exist. I have placed writeLogs around the xmlParse() - and everything works upto the xmlParse() line. (Apart from the new writeLog()s) I have NOT changed anything in the code. The path is different, and I am not using IIS. I feel I have missed something obvious - but just can't see it.
    z
    j
    • 3
    • 8
  • g

    gpickin

    05/23/2023, 4:58 PM
    Going live with Dan and Gavin for this weeks CFML News Podcast - lots to cover - join us in the chat - https://youtube.com/live/3F5all2U5Pk?feature=share
  • a

    aaronstoddard

    05/24/2023, 9:04 PM
    I can't seem to get LogBox to work...like ever... and I'm certain I'm missing some core concept that is super simple. I have a ColdBox app and I've tried to follow the LogBox documentation at logbox.ortusbooks.com but after I get the config/Coldbox.cfc set up with a logBox configure struct, I can't seem to get a logger working within any of my controllers. I'm willing to pay someone to walk me through the proper config, instantiation, and use of LogBox loggers in a controller and in my model objects because I've spent all day trying to get it to work but I get 500 errors from my server and no details. Would anyone be willing to do a screenshare with me and help me out? simple smile
    b
    • 2
    • 16
  • e

    elpete

    05/24/2023, 9:12 PM
    Have you tried https://cfcasts.com/series/logbox-101? I wrote this series because I’m in the same position as you and wanted a reference video guide.
  • e

    elpete

    05/24/2023, 9:13 PM
    If that’s not enough, reach out to Ortus Solutions via our contact form and we can set up a 1-on-1 screenshare. https://www.ortussolutions.com/contact
  • r

    Ryan Albrecht

    05/25/2023, 12:52 PM
    Javaish question. I have an issue with commandbox and starting a server on a windows 11 machine. I have set the jvm heap size to 2g and when I try start the server I get a
    [ERROR] Could not reserve enough space for 2097152KB object heap
    . I have tried running commandbox as administrator aswell. Anyone got any ideas?
    Copy code
    server.json
    {
        "app":{
            "cfengine":"adobe@2018"
        },
        "jvm":{
            "heapSize":"2048"
        },
        "web":{
            "http":{
                "port":"52482"
            }
        }
    }
    r
    • 2
    • 9
  • p

    Peter Hoopes

    05/25/2023, 9:14 PM
    @bdw429s Anyone aware of a bug with CommandBox 5.9 and macOS 13 Ventura on an M1 machine? I've downloaded
    box
    and have it running, but when I try to start a server, I get:
    server list
    ERROR (5.9.0+00721)
    The function [keyArray] does not exist in the String.
    /Users/peterhoopes/.CommandBox/cfml/system/services/ServerService.cfc: line 2792
    2790: 			var results = deserializeJSON( fileSystemUtil.lockingfileRead( variables.serverConfig ) );
    2791: 			var updateRequired = false;
    2792: 			var serverKeys = results.keyArray();
    2793:
    2794: 			// Loop over each server for some housekeeping
    b
    • 2
    • 7
  • p

    Peter Hoopes

    05/25/2023, 9:15 PM
    It did the same thing when I ran
    start
    to spin up a server...
  • a

    Adam Cameron

    05/26/2023, 3:23 PM
    Slightly lazy question. Is there something up with https://downloads.ortussolutions.com/debs/noarch ATM? Rebuilding a Docker container that has some commandbox install stuff in it; usually works fine (and indeed worked fine y/day), but today it's just spinning trying to do a GET from there for something. Tried a coupla times.
    g
    b
    +2
    • 5
    • 30
  • b

    bdw429s

    05/26/2023, 4:27 PM
    https://twitter.com/bdw429s/status/1662133254504300545
    One of the new features finally coming to CommandBox with Multi-Site is SNI, which allows multiple SSL certs to be associated with the same IP:port binding and the server chooses the correct cert based on the incoming request. I know I've spoke with people wanting this over the years, but most of those convos are lost to the Slack history. If you've ever wanted SNI with CommandBox, please reach out and I'd love to have you help test the alpha builds where this has been added.
  • p

    Peter Hoopes

    05/29/2023, 5:35 PM
    Here’s a Commandbox/Coldbox combo question: with the commandbox-dotenv module, we can create a
    .env
    file in the root that Commandbox will read an incorporate into Java args. In the Coldbox
    config.cfc
    file there is note in the “Environments” section which says
    * By default we look in your
    .env` file for an
    environment
    key, if not, then we look into this structure or if you have a function called
    detectEnvironment()
    . So is this just a reference to the Coldbox
    dotenv
    module or is it a separate process by which the CF code itself looks for the
    .env
    file and reads in the value?
    w
    e
    b
    • 4
    • 17
  • p

    Peter Hoopes

    05/30/2023, 3:00 PM
    Is there a secret sauce for telling Coldbox (running on Commandbox with URL rewrites enabled) not to try to process the web request
    /assets2/img/icons/socrates.png
    as a CB request? My browser is just asking for the image part of the CSS layout, but CB is saying “not gonna happen,” thinking that `The event: assets2.img is not a valid registered event.``. Do I need to put some sort of “ignore” folder(s) in the config?
    a
    b
    • 3
    • 8
  • e

    evagoras

    05/30/2023, 3:26 PM
    In
    server.json
    one can have a definition for lifecycle events, like
    Copy code
    "scripts":{
            "onServerInstall":"cfpm install mail"
    }
    How do I add more than one under the
    onServerInstall
    ? For example I need to run the above and also a custom registered module as a task runner
    mysites copyConfig app=myapp
    .
    b
    • 2
    • 49
  • p

    Peter Hoopes

    05/31/2023, 2:55 AM
    Commandbox vs. Application.cfc question... is there a better/best practice for incorporating an external library
    jar
    into a CF app? In particular, I see two methods: 1) set
    web.libDirs
    in Commandbox for the server, or set
    this.javaSettings
    in Application.cfc. Is there a difference? I just need to be able to add in a particular JDBC .jar file.
    s
    b
    • 3
    • 12
  • s

    seandaniels

    05/31/2023, 1:10 PM
    If I have a
    jvm.heapSize=2048
    value in server.json, that value is obviously used for the server when it starts. Is that value also used by Commandbox for other commands? For example, if I run
    box install
    will the Commandbox process also grab another 2GB of memory? I ask because I am running a server on an EC2 instance with 4GB memory and 2048 heapsize. Sometimes when I do a deploy the entire instance crashes when it gets to the
    box install
    part of the deploy (like can't even ssh to it). Trying to figure out why...
    b
    • 2
    • 25
  • a

    Abdul Raheem

    06/01/2023, 1:29 PM
    Question: is there a way we can reinstall the lucee with commanbox on the existing project, if something is deleted from libs or any of the core files?
    p
    b
    • 3
    • 5
  • m

    malllory.woods

    06/01/2023, 1:51 PM
    I have an .env question about connection to a MSSQL DB. I was able to get connected to the DB on startup of commandbox but I had an error that required me to manual change a setting in the CFAdmin every time (Server environment Adobe CF 2018).. right now I have this for my .env
    # Database Information
    DB_CONNECTIONSTRING="jdbc:macromedia:<sqlserver://localhost:1433>;databaseName=shadow;SelectMethod=direct;sendStringParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100;jdbcbehavior=0"
    DB_CLASS=macromedia.jdbc.MacromediaDriver
    DB_DRIVER=MSSQLServer
    DB_HOST=localhost
    DB_PORT=1433
    DB_DATABASE=customers
    DB_SCHEMA=shadow
    DB_USER=sa
    DB_PASSWORD=MyDBPASSWORD
    So what happens is, that a DSN named customers is setup which is what I want however, the database name should be shadow but its set as customers. I have to manually change it to shadow. Is there a setting that I am missing or have misconfigured?
    g
    b
    • 3
    • 57
  • d

    David Rogers

    06/02/2023, 3:53 PM
    quick6 q
    s
    e
    • 3
    • 8
  • b

    bdw429s

    06/02/2023, 6:57 PM
    During my refactoring of Runwar/CommandBox I was looking at the little MariaDB4j integration that was built into runwar (added about 7 years ago in 2016). There were never first-class settings for it in CommandBox so you would have had to use the
    runwar.args
    setting to activate. It also required you to include the MariaDB4j jars yourself in the classpath. (Note this is separate from the MariaDB CommandBox module @janjannek made). The settings it supported were: • enable • port • base directory • data directory • SQL file to import So my question is, does anyone use the built in MariaDB4j integration in Runwar? If I removed it, would anyone care? If I put in first-class settings and documented it, would people use it? Does it sound useful? Worthless? 🙂
    • 1
    • 3
  • s

    seandaniels

    06/05/2023, 2:14 PM
    I'm using commandbox-hostupdater for my local development servers. Almost every time I go to start a server I get the error
    The IP address that [myhost.name] resolves to can't be bound.  If you ping it, does it point to a local network adapter?
    In order to get the server running I have to manually open
    /etc/hosts
    and remove the prior entry. Is this a known issue or is something wrong with my configuration? MacOS, using CommandBox
    5.9.0+00721
    and hostupdater
    1.9.2
    b
    • 2
    • 59
  • d

    David Rogers

    06/05/2023, 6:54 PM
    quick 6.2.1 qqq
    e
    • 2
    • 8
1...2627282930Latest