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



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



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



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



  I did a live presentation in which I upgraded a production ColdFusion 9 server to ColdFusion 10.  Here are my notes if anyone is interested. https://docs.google.com/presentation/d/1CFdXhBUzafrFP8vKLE7sqRDT6TMFvX4-jRyPqOrT5G8/edit Technical details for the upgrade… Windows 2008 R2 web server running IIS 7.5ColdFusion 9 Enterprise with two instances (default “cfusion” and “www”) Upgraded to ColdFusion 10 Enterprise with two instances. […]



When running ColdFusion 9 in multiple instances, you used to be able to run the Web Server Connector tool from the Windows start menu and connect specific instances to sites.  This changed in ColdFusion 10. The Web Server Connector tool in the Windows start menu for ColdFusion 10 will only allow you to connect websites to the […]



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