Web Trenches

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

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 recently had to come up with a solution for Word-to-PDF file conversions on a server that was running Railo (UPDATE: Works on Lucee as well).  After much searching and combining of various articles that I read, I decided to put together a simple CFC to make this easier for others (and reusable for me).  This CFC will […]