Web Trenches

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

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