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

With the IIS Rewrite module installed, it is fairly easy to lock down the Lucee Web and Server administrative pages by creating a rule in web.config. <rewrite> <rules> <!— you may have other rules here —> <rule name=”BlockLuceeAdminAccess” patternSyntax=”Wildcard” stopProcessing=”true”> <match url=”lucee/admin*” /> <conditions> <add input=”{REMOTE_ADDR}” pattern=”111.111.1.*” negate=”true” /> <add input=”{REMOTE_ADDR}” pattern=”″ negate=”true” /> <add input=”{REMOTE_ADDR}” pattern=”192.168.1.*” […]

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. […]

Just a tip for those installing Lucee with the IIS connector… it is NOT secure by default.  When you add a new IIS website, it will automatically create a folder for the Web context for that website.  The administrator screens in that context are NOT password protected.  I have not confirmed if this is true on other Web […]

A simple JVM update misunderstanding caused a real mess on one of our ColdFusion 11 (Windows) servers. After being prompted, I installed an update for the JVM (to 1_8_60) at the console of a Windows server.  We have some admin tools that require Java, so we update Java when needed.  Upon completion, the installer prompted me that […]

For a specific installation of Railo, I had to make a single instance of Railo run multiple sites (contexts) in IIS that share one domain name.  Normally you would make separate contexts by modifying server.xml and specifying a different domain name for each site/context.  Like this… <Host name="site1.domain.com" appBase="webapps"> <Context path="" docBase="E:\webroot1" /> </Host> <Host name="site2.domain.com" appBase="webapps"> <Context […]

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

I was contacted by someone who described the following performance issue with an IIS7 server that was upgraded from ColdFusion 9 to ColdFusion 10. — IIS 7 is responding excruciatingly slowly, and not just with Coldfusion pages, but any page.  As it stands now a simple hello world htm file is taking, often, up to a minute […]