Erik, you’ll need to read through the code to figure out what it’s doing.
To get you started, I’m guessing application.machine is a variable Aaron sets on his servers when the application starts up that stores the server name. If you only have one production server, then you can just remove that line. I have the following line in my onApplicationStart() that sets a similar variable, but in the server scope:
server.hostName = createObject(“java”, “java.net.InetAddress”).localhost.getHostName();
The application.commonPassword variable appears to contain the password Aaron’s app uses to reinit ORM and ColdBox. You change that out for whatever value you to use to reinit. If you’re not using ORM, you can ommit those the ORM bits entirely.
For the rest, you’ll need to figure out what it’s doing. I’d start by identifying if you are using the no inheritance application.cfc or not.
ColdBox Platform Evangelist
Ortus Solutions, Corp