How to install ColdFusion updates manually

Sometimes, CF administrator UI update installation could fail due to permissions, lockdown guide, network restrictions etc. You can follow below instructions to apply updates manually. Navigate to https://www.adobe.com/go/coldfusion-updates (use Google chrome to view xml in the browser) Look for required update under <cfhf_downloadlink> tag. It would be listed as https://cfdownload.adobe.com/pub/adobe/coldfusion/20XX/updates/hotfix-00X-XXXXX.jar Download the hotfix-0XX-XXXXX.jar and place it under ColdFusion20XX/jre/bin Open the command prompt as administrator and navigate to ColdFusion20XX/jre/bin Run the below command:           Java -jar hotfix-0XX-XXXXX.jar […]

Did you know there’s far more to the CF docs than just the CFML Reference?

[Published originally in Nov 2017, revised in Jul 2021] Are you making full use of the ColdFusion documentation? I see many people labor and suffer in their use of ColdFusion (or failing to take full advantage of it) because they tend to use search engines like Google to find information, only to be led often solely to the CFML Reference. That’s not all there is to the CF docs, folks! And you shouldn’t stop there. You wouldn’t try to learn a […]

Did you know there’s a free “express” edition of ColdFusion Builder?

Did you know there’s an available free “Express” edition of ColdFusion Builder? You may already know there’s an available 60-day trial, but I’m not talking about that (which gives you full access to all features of CFBuilder for 60 days). Instead, I’m talking about the Express edition, which is entirely free, even for production use. There’s no separate installer for it. Instead, the way it works is that after that 60-day trial is over, if you don’t add a license […]

ColdFusion MailSpoolService Manual Restart Issue

I’ve seen a few different ColdFusion 11 Standard servers that have been sending duplicate emails. We’ve had several clients at CF Webtools reporting this issue and over time I’ve had to research this to try to determine how this is happening. During my investigations, I’ve been able to see this behavior happen on each of the servers in question. The obvious response that I’ve see from Adobe and others is that code must be creating to emails in error. However, […]

Adobe ColdFusion Summit 2017 presentations

Does anyone know if all of the presentations from CF Summit 2017 will be available in a single location after the conference?

API Manager Request and Response Logging

Another great feature in the API Manager that helped us debug and trouble shoot an application without the need of any debugging code or even a code deployment. With limited write access to certain environments this makes the task of detmerining trouble spots even more difficult. We were running into an issue with an API that we published in the Publisher Portal. We were experiencing some odd behavior with the response. The Try It Now feature is a good an […]

What is the best way create a session-less site?

This is the process i use to keep a session-less site?  Does anyone have any better suggestions? var memberObj = { MemberID = request.MemberStruct.userData.MemberID, SessionKey = request.MemberStruct.userData.SessionKey, }; cfcookie( name = “cookiename”, expires = 30, value = “#encrypt(serializeJSON(memberObj,true),application.key,”cfmx_compat”,”hex”)#”, httpOnly = true, preserveCase = true, secure = true );    

How to get serialized JSON results from a CFC, AJAX and a SQL Stored Procedure

Using a CFC in AJAX is easy. Just make sure to pass your arguments in and use  the arguments scope within the cfc and then use them in a cfproc param within your code. This way you can pass multiple parameters into your sql stored procedure. The benefit of this I found is that I have greater security on the sql query and can validate the parameters being sent to SQL. I can created indexes and update the stats on […]

An API Manager Success Story

For the past two years we have been working on making the Adobe API Manager a part of our day to day management of all internal and external services. We launched the product into our production environments earlier this year. Within days of the launch we had already begun to reap the many benefits it has to offer. Working closely with the Adobe Engineering team has been one of the major reasons why we have already enjoyed an early success […]

Bulk Inserting Data

One of the operations that we do often is insert multiple rows into a database.  Your inclination is probably to just loop over a cfquery and do the inserts.  While this will work it creates some excess overhead.   Your code may look something like this: <cfloop array=”#users#” index=”u”> <cfquery name=”insertData”> insert into mytable (firstname, lastname, email) values ( <cfqueryparam cfsqltype=”cf_sql_varchar” value=”#u.firstname#”>, <cfqueryparam cfsqltype=”cf_sql_varchar” value=”#u.lastname#”>, <cfqueryparam cfsqltype=”cf_sql_varchar” value=”#u.email#”> ) </cfquery></cfloop> While this fundamentally works it can cause performance issues.  Depending on configuration, […]

API Manager Demonstrations and Key Elements

Check out my presentation from Summit 2017 API-Manager-Presentation-Summit-2017

Introducing CFConfig : A new way to manage your CF server’s configuration from the command line

We’re very excited to unveil a brand new project we’ve been working on called CFConfig.  It’s a command line tool that can help you manage the configuration for any CF server in a simple, portable, and automated fashion.  CFConfig is a CommandBox module that can be used to set, show, import, export, and diff configuration on Adobe CF and Lucee servers.  This project is still in an alpha state, but it ready for people to start kicking the tires and providing feedback. What it manages […]