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



I noticed that there is a file upload size restriction in Lucee (at least on Windows).  Lucee appears to use the .NET framework when uploading files.  With Adobe ColdFusion, you could adjust the IIS settings to allow for larger files to be uploaded.  With Lucee, there are TWO places you’ll need to adjust the setting.  In addition […]



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



Andrew Kretzer (Leftbower) did a great job of porting the Team CFAdvance cfspreadsheet-railo extension over to work with Lucee.  Since we have multiple sites (contexts) running on our servers, I needed his cfspreadsheet-lucee extension to install at the server context instead of individually for each site.  The default intall of cfspreadsheet-lucee installs only on the web context.  After […]



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've been in a long struggle with the default install of ColdFusion 10.  The main issue has been the stability of the product when you are running multiple IIS websites off of one instance of ColdFusion.  I don't know why Adobe doesn't build this right into the installer or their connector, but they did post a blog […]