Adobe CF2021 and above has changed the output of the mask “D” in the DateFormat and DateTimeFormat functions. Although this is not new, I found the Adobe documentation unclear on how to fix that for backwards compatibility.
This CommandBox Command will help you create local OSGi versions of your JARs to avoid class path conflicts in Java. You can use it to convert either a single file or an entire folder.
My first ForgeBox ColdBox module manages the Lucee server admin scheduled tasks through a responsive Bootstrap 4 front-end UI.
Using NewRelic’s Java Agent API I was able to log custom user metrics to their system and then query it using NRQL for creating dashboards.
AppDynamics allows the addition of custom user metrics to their stored analytics through Java, so it’s easy to implement that functionality in ColdFusion.
QB tries to automatically figure out what ColdFusion SQL type to use for updates and inserts based on the actual value that is passed in for each column. Although that works for most of the cases, I ran into an issue where my value type was being wrongly inferred so I needed to figure out how to override it.
Making use of the preQBExecute() and postQBExecute() QB interception points I can capture the actual SQL getting generated and running against my database.
Although CommandBox ColdFusion instances run for just the duration of your OS session and for only one user by default, I use the Non Sucking Service Manager (NSSM) module through a Task Runner to create a Windows Service to run things under it, making the app available to everyone and persistent over OS reboots.
Using Homebrew makes it generally very easy to upgrade CommandBox on a Mac, albeit with some possible gotchas.
A project that allows the sending of ZPL data to a label printer using ColdFusion and Java. The label printer can be installed either as a network IP printer or on a computer as part of its available printers.