The official community for ColdFusion.
Recently active
On my server, I've got a few scheduled tasks set up. Yesterday, after a while, I wanted one of the tasks to run at a different time. After doing the edits and clicking the "Submit Changes" button, I got this error:Invalid extension of the file name. Valid extensions are :log,txt Didn't have this issue before, so I am not sure what's causing it. Here are the server details:
Recently a vendor we work with updated their server to support TLS 1.3 in addition to TLS 1.2 and our CFHTTP calls to their API are now failing with an Errordetail "I/O Exception: www.thevendor.net:443 failed to respond" - Testing from our server to theirs using java (11.0.10) SSLPoke succeeds.- Scanning their API endpoint with the SSLLabs testing tool shows no issues.- Accessing their API endpoint with Chrome browser has no issues.- If I modify our code to use the CFX_HTTP5 custom tag, the connection succeeds.- If I add jvm.config flags to force TLS 1.2, the connection succeeds, specifically:-Djdk.tls.client.protocols=TLSv1.2 -Dhttps.protocols=TLSv1.2 If I enable SSL handshake debugging with the jvm flag-Djavax.net.debug=ssl,handshake,verbosecoldfusion-error.log doesn't show an exception but the last few lines show these lines that I don't see in a successful TLS 1.2 connection:javax.net.ssl|DEBUG|E1|ajp-nio-127.0.0.1-8020-exec-4|2021-03-30 19:44:22.918 CDT|SSLCipher.java:19
Hello,I had Encountered couple of issues after update ColdFusion 2023 Update 5 to Update 10. 1. ColdFusion could not delete the file C:\Request Form1.pdf. . The cause of this exception was: java.nio.file.FileSystemException: Request Form1.pdf: The process cannot access the file because it is being used by another process. <br>The error occurred on line 8.below is the code. When I add the <cfset sleep(500) /> before a file deletion then it works fine.<cffile action="readbinary" file="#filelocation#" variable="clobVar" /><cffile action="delete" file="#filelocation#">2. It seems some of the configuration missed related to custom Java class for below code I am getting an error as "Object Instantiation Exception. Class not found: org.util.pdf.AppendLetterPDFs <br>The error occurred on line 32." for below code. But I am not sure where the Jar or packages mapped or configured.<CFOBJECT ACTION="CREATE" TYPE="JAVA" NAME="appender" CLASS="org.util.
Hi Experts,We recently upgraded our ColdFusion 2023 environment from Update 10 to Update 12. After the upgrade, we encountered an issue in one of our applications that handles PDF uploads and validation.Previously, we used the IsPDFObject(mytempPDFObj) function to validate uploaded PDF files, and it worked as expected. However, after the upgrade, this function consistently returns NO, even though the uploaded files are valid PDFs and were working fine before the update.We confirmed that:The uploaded files have the correct .pdf extension.The same files were successfully validated before the upgrade.mytempPDFObj is being populated correctly but appears to be a struct always, not a PDF object.Has anyone else experienced this issue after Update 12? Is there a change in how ColdFusion handles PDF objects or MIME validation in this update?Any insights or workarounds would be greatly appreciated. Thanks in advance!
I have a server running 7 instances of CF (6 sites plus root instance). If I run a NetStat, I generally see about 1800 ports as "ESTABLISHED" (see below for a sample). Why so many ports connected to itself? Ultimately what happens is the server just kind of dies because it can't establish any more sockets. I don't think it's "port exhaustion" because I see the total number of connections staying around that 1800 mark, and there aren't piles of TIME_WAIT entries. What I THINK is happening, is, as this issue is cycling through ports, it gets to a 65535 ceiling and is not looping back to lower ports, thus killing connectivity. Any thoughts on what's going on here? TCP 127.0.0.1:49890 site01-wf:49891 ESTABLISHEDTCP 127.0.0.1:49891 site01-wf:49890 ESTABLISHEDTCP 127.0.0.1:49892 site01-wf:49893 ESTABLISHEDTCP 127.0.0.1:49893 site01-wf:49892 ESTABLISHEDTCP 127.0.0.1:49894 site01-wf:49895 ESTABLISHEDTCP 127.0.0.1:49895 site01-wf:49894 ESTABLISHEDTCP
This is an issue I have on CF2016, but I've tried CF Fiddle and it's the same result on all versions, so I presume it's not a bug. I noticed that calculations were not rounding correctly, for example if the calculation gave a result of 7.875 and I used NumberFormat to round it to two decimal places, I would have expected it to round up to 7.88 After a lot of playing around, and a few conversations with ChatGTP 🙂 I hacked around and found something unusual, if I change the value to a string, within the NumberFormat, it works. Here is the code for the two tests with and without the ToString. Notice the different in rounding. Am I missing something? It gives me the right answer and I can't seem to break it, but it appears to be an odd way to go about things <CFOUTPUT><b>Test 1</b><br>Before rounding: #aff_payment#<br>After NumberFormat rounding: <b>#NumberFormat(aff_payment,"9999999.99")#</b><br><br&
I'm running 2 Windows 2016 boxes with CF 2018 Ent installed.We have a dedicated CF instance specifically to run as a websocket server.It's setup to proxy via IIS.We estimate that we could have 5,000 - 10,000 concurrent connections to it since our users could be subscribed to multiple channels.After a fresh restart of CF and IIS, clients can connect to the websocket channel instantly and get a near instant success publish from the channel so you know you're successfully subscribed and updates will start coming in.After a random amount of time after things are working well (minutes to days), clients will instantly connect but will no longer get the success publish until things are restarted again. This means they aren't truly subscribed to the channel anymore and no updates come through. The instance resources look fine, good memory usage, garbage collection looks good, low cpu usage. We've also been playing with the connection pool numbers.server.xml max threads = 5000 co
We installed HF 20 on our CF 2021 instance (from HF 19) and saw "Security violation: Scheduled task 'XXX' attempted to execute unauthorized path: F:/Tasks_Logs/xxx.log. To allow it, whitelist the path in cf-root/lib/pathfilter.json against key schedulerexecutionpaths." in the scheduler.log (and consequently the task did not run (actually found the task to be deleted). Anway, based on the release notes, we updated pathfilter.json as such:"schedulerexecutionpaths": "F:/Tasks_Logs/**."Restarted CF and then broke our SAML/SSO login altogether to the site, so the site was hard down. Backed out change to pathfilter.json and restarted CF, still hared down. Backed out HF 20, back to HF 19 and restarted, all good (sans deleted scheduled tasks). Error when hard down, on our consume page (SAML response) looked like:Diagnostics org/hibernate/HibernateException null <br>The error occurred on line -1.GeneratedContent [empty string]HTTPReferer https://subdomain.one
If I leave my page long enough for the user login session to timeout, then reload the page, I get an HTML rendering of the page. Then if I reload it again, the page renders normally. It happens on at least two pages I have tested so far. Firefox gives an engimatic error "SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data", but apart from that, nothing else. I don't know what it's looking at when it says "line 1".Line 1 of the HTML itsef is:<!DOCTYPE html> Before I start deconstructing the page line by line till the error goes away, just wondering if anyone had come across any such thing before.
I'm curious if anyone testing out cf2025, that uses CKeditor has figured out what to do about the out of date messages that it produces when using ckeditor? I will probably just convert them all to regular text areas, its just pretty annoying how its not up to date with cf2025. I'm running a development box using the development version.
Hello everyone, I'm trying to output my cfquery to array. I need something like this:[code]<cfset myarray=arrayNew(2)><cfloop query="qryCustomers"> <cfset myarray = [{"CustomerID":ID,"Name":FirstLast}]></cfloop>[/code]I tried this code but that did not work. Error always indicate that something is wrong in my cfset where I have my ID and Customer name together. I'm not sure either if I can do this in cold fusion. I have to put these to values together because I have to use them later to compare with other values from second query. If anyone can tell me what is wrong in my code I would appreciate that. Thanks in advance.
Hello! I'm trying to add a GIF file to a PDF using the CFPDFFORMPARAM tag and not having any success. Attached is a code snippet and a screenshot of the output PDF. The 'sig' form field is just a plain text field, but you can see that the data is captured and being put in. the 'Image1' form field is an image field. I cannot get it to display the actual image. On the output screenshot, the image field and text field are side by side.
Hi experts, I have an issue with the font size in a pdf file that was generated by .cfm files. With the same .cfm files and .css ( baaically the codes are identical), the font size in the generated report pdf file looks different in UAT and production. I am thinking that it could be that .css is not production environment. It works in lower environment because I changed the font size in .css, it reflects in the generated pdf file.Is it possible that the Admin Control has some settings to control that?in a.css file: td.L1 {font-size : 8pt;In .cfm file:<link rel="stylesheet" type="text/css" href="css/a.css"> Thanks very much,Jc
In our Coldfusion application there is a PDF form (created in Adobe Professional) that contains a QR code field. The QR code reflects Field X of the form.When I make changes to X in Adobe Professional, a corresponding QR code is printed into the form. However, if I fill out Field X using ColdFusion (cfpdfformparam), the QR code is not updated.Is it possible in Coldfusion to have the QR code field change dynamically? Is there any parameter or function achieving that behavior or is there a property of the used form? Of course I know I can create the QR code as an image and load it into an image field - this is plan B for me.
Greetings All,After upgrading to update on ColdFusion 2018 I have been getting an error from cffile stating "Uploads with empty file extensions are not allowed". This has been isolated down in my code to an implementation of plupload which will do large file uploads via chunking.When inspecting the headers plupload is changing the filename to "blob" which is stripping the file extension.------WebKitFormBoundaryvA9v8ChjbTSXEt9w Content-Disposition: form-data; name="file"; filename="blob" Content-Type: application/octet-stream Has anyone found a way to disable this check in ColdFusion or at least modify it to allow for the upload of files without extension? I have confirmed it was not present in CF 2018 update 3.Regards,
Hello Adobe Community, We are so excited to share that we have a new home and, it is better than ever! You can find the new homepage at community.adobe.com or adobe.com/community. The Adobe Community is more than just product forums—it’s a place to connect, get inspired, and grow as a creator. Our new Community homepage brings it all together in one central place, giving you a clearer view of everything available to you. Whether you’re here to learn, contribute, or just explore, this community is for you — a place where ideas grow, connections form, and your voice helps shape the future of our products. This is your Community. So, what’s new: A streamlined homepage where you can explore product forums, browse creative inspiration galleries, and discover upcoming events—all in one place. A new Creator Spotlight section featuring community members like you and highlighting your work and giving you quick access to starter
Using an old server for our internal APP.We also use ColdFusion and O365. O365 will require OAUTH 2.0 as of SeptemeberThe version of CF will not work so I need to update to v18 or v21Support is telling me I can only purchase CF 2025.
if you use the literal word "true" as the value for integer type cfqueryparam, this executes the query with an integer value of "1". <cfif StructKeyExists(arguments, "company_id")> AND tblCompany.company_id = <cfqueryparam value = "#arguments.company_id#" cfsqltype = "cf_sql_integer"> </cfif> This returns a record when the column value equals one "1" ??? Is this the intended behavior? Is there a way around this. I'm guessing IsValid "Integer" might help. I realize CF equates true to 1, but when the type is specified, it should not. Anyone been through this?
I have updated my ColdFusion2021 installation from update 19 to update 20. Everything looked OK during installation but I see the following error in the logs when I try and install the sqlserver package:An error has occurred while installing the package sqlserver. Exception : Illegal character in opaque part at index 2: D:\ColdFusion2021\bundles\repo/bcpkix-jdk15on-153.jarIt looks like the bcpkix-jdk15on-153.jar is missing from the update 20 repo.I copied the file from an update 19 installation and was then able to load the sqlserver package. Anyone else seen this issue or can try replicating to see if it is unique to my installation.
We pushed CF2021 Update 10 with no issues, but four days later a Windows patch was pushed and now we are having an ORM issue. Has anyone ever experience the following error before? ***************************************************************java.lang.ClassNotFoundException: org.hibernate.HibernateException not found by orm [198]at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1597)at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:79)at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1982)at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)at coldfusion.orm.hibernate.ConfigurationManager.initConfiguration(ConfigurationManager.java:68)at coldfusion.orm.hibernate.HibernateProvider.initializeORMForApplication(HibernateProvider.java:168)at coldfusion.orm.hibernate.HibernateProvider.onPageRequestStart(HibernateProvider.java:131)at coldfusion.fi
Last week we applied Update 12 to our ColdFusion 2023 and are now getting an error when trying to send emails from ColdFusion pages. Error is : ColdFusion Cannot find implementation class coldfusion.tagext.mail.MailTag for the mail tag Code example : <cfmail from="servicedeskplus@xxxx.uk" to="developer@xxxx.uk" subject="Test" type="html" server="smtprelay.xxx.uk">Email sent</cfmail> C:\ColdFusion2023\cfusion\Mail\Undelivr and Spool are both empty We had a problems (remote_user not found) following the Update 12 and Adobe support supplied these additional steps that resolved that issue (including clearing down folders ColdFusion2023\cfusion\wwwroot\WEB-INF\cfclasses and ColdFusion2023\cfusion\bin\felix-cache) : Step 16 : update jvm.configTake the backup of existing the jvm.config file before making changes.Add the below java flags in the jvm.config file under path C:\ColdFusion2023\cfusion\bin -Dcfdocument.metahttpequivrefresh.
Hi All,I am trying to install ColdFusion 2025 on Mac. I am new to Mac so any help is appreciated. During installation, I am getting the following error: I resolved this error by going to System Settings > Privacy and Security > Security and allowed Adobe CF2025 using Allow Anyway button. But after that I am getting following error: and even after using allow anyway as shown below, CF2025 doesn't install. Process get aborted here itself. Mac Details:OS: Mac OS Sequoia 15.3.2Chip: Apple M3 ProRam: 36 GB
Adobe never fails to disappoint. This latest hotfix for CF Server triggers an email notifying us that such-n-such variable is "not expected" by a cffunction with access="remote" attribute. Doesn't matter if it's a form that is posting to the cfc, or using URL parameters (query string), if something is passed to it that doesn't get processed, we get an email telling us about it. Even for things likereturnformat=plainWHY? How, exactly, is this being "more secure"? How do I get these emails to stop? This is ludicrous.
I have some coldfusion servers that are connected to an oracle database and have been having some issues sending queries to the DB from the CF servers. I must also state that both the server and db are quite busy. The issue I am having is that the same query will get processed and shortly after I would receive the aforementioned error. I've done some troubleshooting with the DBA an confirmed the issue is not coming from the DB. Further research into issue led me to make some changes on the CF servers but I am still experiencing this issue. Two actions I normally execute provides a temporary solution to the problem:1. disable all the db connections and then re-enable them.2. Restart the nodes with the datasource connections.The server settings I change are as follows:1. Increase the "Max Pooled Statements" from 100 to 500. 2. Enable "Limit Connections"3. "Restrict connections to" 48 (Simultaneous Requests 16 * 4 nodes) not sure if this is the right approach.I am not sure what else
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.