Web Trenches
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 […]

Story done by Hamilton College on our latest mobile Web project using both jQuery Mobile and CSS media queries: http://www.hamilton.edu/news/story/hamilton-offers-fast-access-with-new-mobile-friendly-app

I recently had to come up with a solution for Word-to-PDF file conversions on a server that was running Railo (UPDATE: Works on Lucee as well).  After much searching and combining of various articles that I read, I decided to put together a simple CFC to make this easier for others (and reusable for me).  This CFC will […]