seandaniels
05/17/2023, 2:52 PMadam.euans
05/17/2023, 3:43 PMjohnfarrar
05/18/2023, 2:11 PMgarciadev
05/19/2023, 1:54 PMgarciadev
05/19/2023, 1:54 PMrichard.herbert
05/22/2023, 8:00 AMCavan Vannice
05/22/2023, 3:07 PMseandaniels
05/22/2023, 3:49 PMrunwar.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).gavinbaumanis
05/23/2023, 3:04 AMgpickin
05/23/2023, 4:58 PMaaronstoddard
05/24/2023, 9:04 PMelpete
05/24/2023, 9:12 PMelpete
05/24/2023, 9:13 PMRyan Albrecht
05/25/2023, 12:52 PM[ERROR] Could not reserve enough space for 2097152KB object heap
. I have tried running commandbox as administrator aswell. Anyone got any ideas?
server.json
{
"app":{
"cfengine":"adobe@2018"
},
"jvm":{
"heapSize":"2048"
},
"web":{
"http":{
"port":"52482"
}
}
}
Peter Hoopes
05/25/2023, 9:14 PMbox
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
Peter Hoopes
05/25/2023, 9:15 PMstart
to spin up a server...Adam Cameron
bdw429s
05/26/2023, 4:27 PMOne 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.
Peter Hoopes
05/29/2023, 5:35 PM.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?Peter Hoopes
05/30/2023, 3:00 PM/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?evagoras
05/30/2023, 3:26 PMserver.json
one can have a definition for lifecycle events, like
"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
.Peter Hoopes
05/31/2023, 2:55 AMjar
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.seandaniels
05/31/2023, 1:10 PMjvm.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...Abdul Raheem
06/01/2023, 1:29 PMmalllory.woods
06/01/2023, 1:51 PM# 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?David Rogers
06/02/2023, 3:53 PMbdw429s
06/02/2023, 6:57 PMrunwar.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? 🙂seandaniels
06/05/2023, 2:14 PMThe 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
David Rogers
06/05/2023, 6:54 PM