CfBlogs
 Posts  Blogs  Active Blogs  Contact  RSS

ColdFusion Posts Around the World

CommandBox and some urls
CommandBox and some urls
Lucee Blog
I am using CommandBox with Undertow. I realized that if my url includes the word "file" or "files" I always get a 404. I guess it is a basic configuration of CommandBox (or Undertow). Is there a way to configure this behavior? I did not find anything about it.
Any Releases of Lucee 5 Planned
Any Releases of Lucee 5 Planned
Lucee Blog
Are there plans to release any new updates to Lucee 5. It still shows as and LTS version on the downloads page and there is a Snapshot that is newer than the current release. I'm just wondering how soon I need to move to 6 and if there is an EOL date for 5, or if it already h...
Lucee, Ubuntu & CFEXECUTE
Lucee, Ubuntu & CFEXECUTE
Lucee Blog
Hello, this may be a "Noob question", but I'm new to Linux/Ubuntu... I'm trying to run the following command(s) via CFEXECUTE to copy a file with scp from A to B (works fine via SSH/command line): Version 1: <cfexecute name="scp" argume...
Cfinclude w/runonce
Cfinclude w/runonce
Lucee Blog
Using latest Lucee 5.4.6.9 in Debian docker container. Currently our app runs on Adobe ColdFusion 2021 and I'm trying to see how much effort it would be to convert to Lucee. App is currently a mix of older legacy code and newer modern FW/1 code. Having an issue with...
Ehcache drops itself intermittently
Ehcache drops itself intermittently
Lucee Blog
I am getting this weird issue where the ehcache will just drop itself every 5 mins or 2000 entries. Don't forget to tell us about your stack! OS: ubuntu Java Version: whatever comes with lucee 6.1.1.118 standard
Unicode characters missing in cfdocument pdf
Unicode characters missing in cfdocument pdf
Lucee Blog
I've been attempting to figure out why unicode characters aren't showing up in my PDF on Lucee 6 on windows 2022. They are just blank. I can verify the Chinese chars in the HTML but the PDF is just blank. I've tried making a fonts.jar file with simsun.ttf in it with the proper lin...
Lucee, IIS, and Mura w/ FW/1 - URL Rendering Not Working Correctly
Lucee, IIS, and Mura w/ FW/1 - URL Rendering Not Working Correctly
Lucee Blog
OS: Windows Server 2022 Java Version: 11.0.23 64-bit Tomcat Version: 9.0.89 Lucee Version: Lucee 5.4.6.9 (LTS) There are a lot of moving parts here, and I am not sure which community to ask about i...
Issue Connecting to SQL Server
Issue Connecting to SQL Server
Lucee Blog
Just started working with 6x after using 5x for awhile. Running into an issue trying to setup a SQL Server datasource: "encrypt" property is set to "false" and "trustServerCertificate" property is set to "true" but the driver could not establish a secure connection to SQL Serv...
How to change the setup of my dev installation
How to change the setup of my dev installation
Lucee Blog
I want to change hte setup of my dev environment to match how Viviotech will set up my new Velocity server. It will be structured more or less the same way ACF is set up - with a single server and a series of web servers/servlets to serve web pages, Currently I have command b...
Run both Lucee and Adobe
Run both Lucee and Adobe
Lucee Blog
Is it possible to run Lucee and Adobe CF 2021 side by side on my server when Apache is the web server? I downloaded the Lucee WAR file, dropped it in my Tomcat webapps folder and it auto installed. When I did that, Adobe CF stopped working (CF admin doesn't load). I was a...
Problems upgrading from 5.3.3 to latest version
Problems upgrading from 5.3.3 to latest version
Lucee Blog
Hi all, I'm trying to update a Lucee server from 5.3.3.62 to the latest version. When triggering an automatic update from the admin page I receive this message: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to...
Identification with phone number
Identification with phone number
Lucee Blog
Is there a way, a function with Lucce, to get an identification of member through the mobile phone number ? I suppose, all social network run like this ? Thanks for any advise. Pierre. I already posted in "DEV" with no replies. Then, I try in "support" category....
How is SpreadsheetNew() Best Enabled In New Install of 6.1.1.18
How is SpreadsheetNew() Best Enabled In New Install of 6.1.1.18
Lucee Blog
What is the considered best practice for enabling cfspreadsheet commands like spreadsheetnew in Lucee 6.1.1.18? Is it already included? Is it the cfsimplicity extension? I ask because we are updating our codebase to be Lucee 6.1.1.18 compliant, and the installation of the cf...
Setting up on new Mac mini m4
Setting up on new Mac mini m4
Lucee Blog
Don't forget to tell us about your stack! OS: Sequoia 15.2 Java Version: ??? Tomcat Version: ??? Lucee Version: Express 6 Have been using Lucee successfully on older Macbook pro but...
Lucee forcing v2.0.1.25 of the s3 extension
Lucee forcing v2.0.1.25 of the s3 extension
Lucee Blog
We are trying to use the latest version of the s3 extension. We have historically installed extensions by having a LUCEE_EXTENSIONS env variable. We specify the extension ID, name, and version. We've never had a problem until we started trying to install the latest versi...
Datasource creation error with MSSQL Expres -
Datasource creation error with MSSQL Expres - "user not found"
Lucee Blog
Hi, Just installed latest Windows lucee with MSSQL server Express and am getting the dreaded "Login failed for user" when trying to create a datasource for my database (in MSSQL Express). Express is working fine in so far as creating db, table and queries etc. When I cr...
Lucee 7?
Lucee 7?
Lucee Blog
Just wondering the best place to find info about Lucee 7.x Saw snapshots on the update channel... what is the eta on 7 being released? what are the new features is there a blog post / webcast about it? 1 post - 1 ...
Application.cfc in virtual directory not being used
Application.cfc in virtual directory not being used
Lucee Blog
Originally posted here to address a different problem: Trouble getting web aliases to work - Communities - Ortus Solutions Community
CVS-exploit of Tomcat 9/10/11
CVS-exploit of Tomcat 9/10/11
Lucee Blog
Hi all, Anyone know what to do about the serious CVS-exploit of Tomcat? Pertaining to all issues of Tomcat, also those installed with Lucee?
Lucee 6.1.1.118 not stable
Lucee 6.1.1.118 not stable
Lucee Blog
After updating to 6.1.1.118 Lucee server goes down at least 1 time a day and I have to restart it. I downgraded to 6.1.0.243 and no problems for over 2 weeks. I upgraded again to 6.1.1.118 and after a day and a half it was Down again. Has anyone else had stability issues with...
Validate Integer
Validate Integer
Lucee Blog
This is the scenario, on Lucee 5.4.6.9: var startingFloat = 76.0426; var twoFloatNumber = DecimalFormat( startingFloat ); dump( twoFloatNumber ); // write: 76.04 var thisInteger = twoFloatNumber*100; dump( thisInteger ); // write: 7604 dump( isVali...
ESAPI extension
ESAPI extension
Lucee Blog
Hi all, Are there any plans to upgrade the ESAPI extension to use the latest version of com.google.guava:guava? Many thanks, Andrew 1 post - 1 participant
structKeyArray()
structKeyArray()
Lucee Blog
The Lucee documentation states the following for structKeyArray(): For unsorted structs, Adobe returns a text sorted Array of keys, for performance reasons, Lucee simply returns the raw sort order This statement is NOT correct.
Bizarre error when using CFFILE to upload html files
Bizarre error when using CFFILE to upload html files
Lucee Blog
Hi all, I'm getting this bizarre, intermittent (of course!) error when using CFFILE to upload a .htm file. It's fine for days and then suddenly, I get this error. "Could not initialize class org.apache.tika.utils.XMLReaderUtils" The code is pretty s...
Record locking problems when using cftransaction
Record locking problems when using cftransaction
Lucee Blog
I'm troubleshooting some unexpected record locking issues in our application. Basically, it seems like using cftransaction tags is resulting in record locks being applied and/or held in ways I wouldn't expect. I'm not sure whether this is an issue with Lucee, our JDBC driver,...
NoClassDefFoundError for jar dependencies
NoClassDefFoundError for jar dependencies
Lucee Blog
Hi So I have been working on implementing this Java Library in a component. This has mostly gone flawlessly untill it wanned to call
Lock request time out period exceeded
Lock request time out period exceeded
Lucee Blog
Looking for some advice on how to get rid of DB lock timeouts. After upgrading from Lucee 5.2.9.31 and moving from a colocation to the cloud (GCP), we are experiencing intermittent database Lock request timeouts (SQL Server 2022, Cloud SQL on GCP; all Ubuntu VMs). Message from...
Error in 6.2.0.166-RC
Error in 6.2.0.166-RC
Lucee Blog
There seems to be a breaking change between 6.1 and 6.2.0.166-RC that is affecting cfinvoke... <cfinvoke webservice="#form.Server#/ws/v11/login.cfc?wsdl" method="login" returnvariable="sessionID" > <cfinvokeargument name="Co...
Hibernate logging
Hibernate logging
Lucee Blog
Hi @micstriit, is there any chance that this gets addressed? https://luceeserver.atlassia...                                      
onRequestStart return false?
onRequestStart return false?
Lucee Blog
Hi Everyone, We have two instances, separated geographically. The code on one instance is NOT identical to the other. They have morphed into bespoke versions of the same application. We have an issue on one of our servers, that is not on the other and so while doin...
New recipes for Logging and Single vs. Multi Mode
New recipes for Logging and Single vs. Multi Mode
Lucee Blog
github.com ...                                      
Relating java threads to lucee apps
Relating java threads to lucee apps
Lucee Blog
Hi All, This is a general question. Has anybody found a way of relating java threads on a server to specific Lucee apps. We have many lucee apps and are looking for ways of identifying the app that owns high CPU threads quickly. Many thanks for any advice
Version 6.1.1.118
Version 6.1.1.118
Lucee Blog
I installed version 6.1.1.118 in our testing environment, and in less than 4 days, the server experienced a processing spike to the point of stopping altogether. The only way to resolve it is by restarting Lucee. Is anyone else experiencing this? If you could help me, where ca...
Lucee 6 - Resource Appender stops writing to application.log
Lucee 6 - Resource Appender stops writing to application.log
Lucee Blog
OS: Windows Server 2022 (10.0) 64bit Java Version: 11.0.24 (Eclipse Adoptium) 64bit Tomcat Version: Apache Tomcat/9.0.96 Lucee Version: 6.1.0.243 We are currently in the process of upgrading from L...
6.2.0.164-RC - REST Endpoint creation fails
6.2.0.164-RC - REST Endpoint creation fails
Lucee Blog
OS: Ubuntu/Docker official Lucee Release Lucee Version: 6.2.0.164-RC When deploying an app via the official Lucee Docker container, the REST endpoints occasionally fail on a fresh deployment. Code: [Application.cfc / onApplicati...
"Endorsed" statup error in Lucee 6.1.1.118 Express
Lucee Blog
Hi, I just downloaded the "Express" 6.1.1.118 and startup.sh errors out with these messages I've never seen in prior versions: -Djava.endorsed.dirs=/the_path_I_am_using/lucee/endorsed is not supported. Endorsed standards and standalone APIs in modular...
Cfcontent() returns unparseable JSON
Cfcontent() returns unparseable JSON
Lucee Blog
I have a very simple script that creates a struct, turns it into JSON using serializeJSON() and returns the result using cfcontent. The problem is that when I use cfcontent() the resulting JSON is unparseable. Here is my code: <cfset validation_re...
BigDecimal - 16 decimal places when in numeric variable, 34 places when a string!
BigDecimal - 16 decimal places when in numeric variable, 34 places when a string!
Lucee Blog
Here's some more fun with BigDecimal. Use Lucee 6 and turn on "Precise Math" in the admin before running this: <cfdump eval="1/3"> <!--- string; this never goes into a numeric var ---> <cfset foobar = 1/3> <!--- this is ...
DataSource Script in Lucee Admin
DataSource Script in Lucee Admin
Lucee Blog
Using Lucee 6.1.0.243 After configuring a PostgreSQL Datasource - the admin has the following code - that you're supposed to be able to use in Application.cfc to configure a datasource programatically. However the text provided is not correct.
Cache: max items in cache
Cache: max items in cache
Lucee Blog
I all I am looking for a way to motifcate the maximum number of objects in the Lucee cache. I came across this message on cfdocs: cacheSetProperties: DEPRECATED since version 4.5 This function is not supported by Lucee, because t...
lucee.runtime.spooler.SpoolerEngineImpl EOFException
lucee.runtime.spooler.SpoolerEngineImpl EOFException
Lucee Blog
I think it's been a couple years since the forum hosted an issue like this one. After upgrading to 6.1.0.243 we're getting these in our application logs: "ERROR","Thread-100468","11/07/2024","11:04:13","lucee.runtime.spooler.SpoolerEngineImpl","java.io.EOFExceptio...
Question about cfthread, cffunction and threadsafety
Question about cfthread, cffunction and threadsafety
Lucee Blog
Hi guys. I tried finding the answer to the following question myself, but I couldn't find a clear, definitive answer. If I define a cffunction and its code only uses the arguments passed into it (arguments-scope variables), and some working variables it creates using the "var...
Websockets with IIS 8.5 on Windows Server
Websockets with IIS 8.5 on Windows Server
Lucee Blog
Has anyone here gotten Lucee 6 Websockets working on IIS 8.5 on a Windows Server 2022? I have enabled WebSockets on Windows Server and on IIS, and also installed the latest 2.0.3 version of the WebSockets extension on Lucee 6.0, however I always get a "Websocket connection fai...
Bug in NumberFormat() in 12th decimal place when using BigDecimals (and doubles!)
Bug in NumberFormat() in 12th decimal place when using BigDecimals (and doubles!)
Lucee Blog
Hi guys! I just found and verified a very hard-to-notice bug with the NumberFormat() function when used on BigDecimal values with a lot of digits after the decimal (12 or more). Lucee's implementation of BigDecimal seems to allow up to 16 digits after the decimal point. If y...
Lucee Docker Launcher (Announce)
Lucee Docker Launcher (Announce)
Lucee Blog
Hi lovely Lucee peeps! Been a while in which I shared some of the things I do with lucee, so I thought I would share a simple script I use to launch lucee from whichever folder I am in. I got tired of doing docker run --rm --name lucee_launcher -v ${PWD}:/...
Allow user configured XML transformerFactory
Allow user configured XML transformerFactory
Lucee Blog
If XMLUtil is changed from                                      
Swiss QR Invoice
Swiss QR Invoice
Lucee Blog
Hello everyone, Who has already generated a Swiss QR- invoice with Lucee? Which components/libraries or services have you used? I am of course looking for something that is free of charge. It is for a non-profit organization. I would be very happy to receive tips...
Allocated Memory for Request much higher than Used Memory
Allocated Memory for Request much higher than Used Memory
Lucee Blog
Trying to reduce the memory usage of an app. I'm using FusionReactor to look at Requests by Memory. The top request in the report appears to have an extraordinarily high amount of Allocated Memory, relative to the Used Memory:
Lucee 6.1.1 (6.1.1.100-RC) Release Candidate
Lucee 6.1.1 (6.1.1.100-RC) Release Candidate
Lucee Blog
There is a new Lucee 6.1.1.100-RC release candidate available for testing. Give it a try and share your feedback with us. What's New? This release focuse...
onSessionStart called with every HTTPS API call in Lucee 6.0.3.1 RESTful
onSessionStart called with every HTTPS API call in Lucee 6.0.3.1 RESTful
Lucee Blog
Details: Issue: onSessionStart is being called with every API call Session ID is renewed each time Lucee version: 6.0.3.1 Application type: RESTful Client-side: Angular application Web server: IIS with bonCodeAJP13 Se...
German special chars (äüöß) will be replaced by
German special chars (äüöß) will be replaced by "?"
Lucee Blog
Hi, after updating Lucee from version 6.0.1.83/6.0.2.45 to 6.1.0.243 we get the following error: German special characters (äüöÄÜÖß) are replaced by "?" on form submit. S...
System-impairing bug on Lucee S3 extension with third-party S3 providers
System-impairing bug on Lucee S3 extension with third-party S3 providers
Lucee Blog
Hi, We discovered a big (but very easy-to-fix) bug with the standard S3 extension for Lucee. The bottom line is that the extension assumes that the bucket name for all S3-compatible providers follow the same pattern, modifying the "host" parameter automatically, and pre...
Tomcat 9 Upgrade Issues
Tomcat 9 Upgrade Issues
Lucee Blog
We've been running our instance of Lucee on a 64-bit Windows 2022 server for quite a while now without any major hiccups. However, if we upgrade Tomcat from 9.0.85 to 9.0.95, our web app appears to run just fine, but then seems to cause Tomcat to crash (it spits out dump files). Of c...
Not working with virtual directories in IIS
Not working with virtual directories in IIS
Lucee Blog
I have the source code in a virtual directory in IIS. Lucee latest version installed on windows IIS gives error attached
Site not loading with localhost with too many redirects
Site not loading with localhost with too many redirects
Lucee Blog
After windows install on IIS - hosting the first page                                      
Lucee on Jetty 12
Lucee on Jetty 12
Lucee Blog
I run Lucee on Jetty 10. I have been running Lucee on Jetty for years. Now Jetty 12 is out and it seems things have changed. My normal configuration doesn't seem to work any longer. Has anyone managed to run Lucee on Jetty 12? OS: Windows 10 & Arch Lin...
Image file uploads suddenly became corrupt
Image file uploads suddenly became corrupt
Lucee Blog
i've looked around. i changed umask to 0022. so apologies if this feels repetitive. according to my git logs i successfully pushed code July 30 2024 which allowed me to create directories and upload images, huzzah! i don't recall which 5.x version i had, nor do i recall...
Tomcat regression bug in Lucee Express 6.1.0.243: Tomcat 8 in use
Tomcat regression bug in Lucee Express 6.1.0.243: Tomcat 8 in use
Lucee Blog
There apparently has been an oversight in Lucee Express 6.1.0.243: Apache Tomcat 8.0.36 is being used. To see it, run the following code: <cfscript> writedump(server.servlet.name); </cfscript> The result is: Apa...
The State of Lucee
The State of Lucee
Lucee Blog
Hi Lucee team, First, I am a huge fan and love what you do. For me, Lucee is a productivity tool that helps me build apps quickly. Despite what features might be available on CF, and now BoxLang, Lucee provides everything I need. The reason I am reaching o...
PostgreSQL JDBC-Driver - Writing empty TIMESTAMP
PostgreSQL JDBC-Driver - Writing empty TIMESTAMP
Lucee Blog
Environment: OS: Windows 10 Pro Java Version 11.0.6 (64 bit) Apache Tomcat: 9.0.34 Lucee Version 6.1.0.243 PostgreSQL JDBC Driver: 42.7.3 In the past it was possible to erase a TIMESTAMP field in a PostgreSQL-Database by updating the field by writing a empt...
OSGI bundle download failing
OSGI bundle download failing
Lucee Blog
Hello, we currently had an issue with the Contentbox installer and a failing installation of Microsoft ODBC driver. The reason was it requested a specific driver version which should be available but fails to download. Is there anybody who knows how the osgi bundle down...



Footer Logo

Powered by Galaxy Blog

If you have an ideathat you want to share, please contact us! This community can only thrive if we continue to work together.

Images and Photography:

Gregory Alexander either owns the copyright, or has the rights to use, all images and photographs on the site. If an image is not part of the "Galaxie Blog" open sourced distribution package, and instead is part of a personal blog post or a comment, please contact us and the author of the post or comment to obtain permission if you would like to use a personal image or photograph found on this site.

Credits:

Portions of Galaxie Blog are powered on the server side by BlogCfc, an open source blog developed by Raymond Camden. Revitalizing BlogCfc was a part of my orginal inspiration that prompted me to design this site.

Version:

Galaxie Blog Version 3.0 (Toby's Edition) June 14th 2022 Tropical Wave theme