Web Trenches


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



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



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



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



By default, IIS7 limits file upload to 30MB.  Oddly, it returns a 404 error if someone uploads something larger than 30MB.   The docs from Microsoft are a little confusing on this, so I thought I would try to clarify. According to the following article, you can “Remove the maxAllowedContentLength property.” from the applicationhost.config file in IIS7 […]



I gave a presentation today at the Central New York CFUG about upgrading to ColdFusion 8.  I'm afraid I may have scared some people away from updating, but that was not my intent!  I simply wanted to prepare them for things they MIGHT run into.  Most of the installs I have done have gone smoothly, and the […]



If you run load-balanced ColdFusion servers, it can often to difficult to determine which server a notification or error message originated from.  There's a nice little Java trick to get around this.  —#Createobject('java','java.net.InetAddress').getLocalHost().getHostName()#—  We add this line to error notifications on our site so that we always know which physical machine the message came from.   This […]