Web Trenches
Lucee Logo


This is a follow-up to my previous post, Tips for Moving From ColdFusion to Lucee. I found these additional issues/differences when converting a major enterprise environment containing 15+ years of legacy code and over 200 applications. Most of these are due to poor programming practices, but I want to note them here because they are differences (incompatibilities?) that […]



Creating PDF thumbnails with Lucee has been broken since version 5, and possibly longer. https://dev.lucee.org/t/cfpdf-action-thumbnail-not-working-on-lucee-5/1389 https://luceeserver.atlassian.net/browse/LDEV-967 Here is a function that should help you if you really need to get it working. <cfscript> // Creates a jpg thumbnail from a PDF file // thumbnailFromPDF() // returns the file name of the JPG that it creates. // arguments […]

Lucee Logo


I have moved well over 100 websites and applications from Adobe ColdFusion to Lucee servers over the past few months. While 95% of the code is cross-compatible and works right away, I have run into a few things that I thought I should share. This is not meant to be a comprehensive list of incompatibilities between Adobe […]



First, you will need to extract and repackage the appropriate classes and DLL from a Java 1.7 install. This section is adapted from http://bigfatball.blogspot.it/2016/03/how-to-enable-jdbc-odbc-bridge-for-jdk-8.html. Download a JDK 7 or JRE 7 and install it. Goto JRE\lib folder and find the rt.jar Unzip it (if you have WinRAR installed) or you can rename it to rt.zip and unzip it. […]



As a defense against cross-site ccripting attacks (XSS), modern browsers now disallow ajax calls made across domains by default.  You can enable certain sites to make ajax calls to your site by adding the Access-Control-Allow-Origin header to the page.   For example, if your page at http://www.mydomain.com/main-page needs to make an ajax call to http://www.otherdomain.com/ajax-page, you would add […]



For those who have worked with me in the past, and read my blog entries about the server side of Adobe ColdFusion, it might be surprising that I am considering moving everything over to Railo in place of Adobe CF.  I have been an advocate for ColdFusion for over 15 years, but I just can't justify working with […]



We recently had to update our post-commit hook functionality to be compatible with subversion 1.7 working copies.  There are more JAR file dependencies with 1.7, so here are some tips. First, some explanation of what our setup is.  On commit of a new revision of a file, we trigger a ColdFusion script that does several things: If […]



Content from a bug report I recently submitted to Adobe related to expandPath() in ColdFusion 10.  They have acknowledged it is a bug and will be fixing it.  https://bugbase.adobe.com/index.cfm?event=bug&id=3198902 — We have two identical versions of our application running on the same server – one in CF9 and one in CF10. We noticed that CF10 is signficantly […]



I was recently working on a legacy ColdFusion application that required .html and .htm files to be processed with ColdFusion.  The application currently runs on ColdFusion 9 and we are preparing it for ColdFusion 10.  To accomplish the processing of .html files with ColdFusion, we had always followed the method of editing the web.xml file and adjusting […]



The most recent hotfix for ColdFusion 9 can cause problems for people that have very large form submissions.  The fix imposes a form field limit of 100 fields on submit.  There is an override available for the default behavior, though.  I would recommend applying the patch to fix the security flaw, but then adjusting the default behavior […]