The official community for ColdFusion.
Recently active
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.
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
Hi thereWe are testing cf2025, found an error with cfdocument and pdf print. The code works fine with cf2023, it could be caused by incompatible bouncecastle library. Can someone help me to solve the issue? ThanksEugene
My CF2023 site has been running perfectly until now when suddenly I'm getting errors related to argument names containing hyphens. I'm assuming it's the hyphen that's the problem.The name FILE-0 used for an argument has illegal characters in it. The site is hosted and I'm asking the admins if they've made any changes. They can be slow to respond, so in the meantime I'm just wondering if anyone has a clue. I'm thinking it may be reading the hyphen as a minus sign. But why suddenly? These fields are dynamically appended to the sending form depending on how many files are uploaded by the user. So there could be up to 20 arguments from "FILE-0" to "FILE-20" being passed to the cfc as arguments. The form is submitted like the following:<cfset stRes = oListing.saveListing(argumentCollection=form,json=true)>And it just sends whatever the form contains. Any insight appreciated.
I inherited a Club website and a copy of CF for Dummies. All went well until my ISP upgraded. Now I can't pass variables between pages. What to do?
With "myQuery.ColumnList", I get the list of columns in a database query.Using GetMetaData(), I can then read the data type of each column using typeName.Is there a way to get additional information, such as the length of varchar data types?
Hello all, I've been asked to assist with a departments migration away from CF 2018 due to CF 2018 being EoL. Unfortunately, my experience with CF started with this project and the two previous admins that assisted with the CF 2018 setup are no longer around and I'm unable to locate any internal documentation to reference. I'm following the migration documentation for CF2023 since I can't find a 2025 guide. After installation of the 2025 server configuration using the 30 day trial and setting it up as a development environment, I land on the admin login page/migration wizard. After logging in and clicking to start the migration wizard, I hit an error page wth the following error, "migrationcf2018_export.cfm can not be found" I've followed the manual migration steps as well by stopping services and copying over the neo-*.xml files from cf2018/cfusion/lib in addition to copying over seed.properties and modifying the adminconfig.xml file t
Hi,Trying to connect to SFTP site, was getting connection timed out at first. I looked around for others with the issue found some leads. Finally with try/catch when dumping cfftp after the end of try cfftp is undefinded. I have stop on error turned on and secure. I have tried with Developer Editions of 2023 & and a recent install of Developer 2025. I did add the extensions to the timeout at both the page and tag level. This is the detail message from 2023 for the catch - Verify your connection attributes: username, password, server, fingerprint, port, key, connection, proxyServer, and secure (as applicable). Error: java.net.ConnectException: Connection timed out: connect. I would like to be able to do this within CF without resorting to WinScp. I have connected to other standard FTP sites successfully. Any help would be appreciated.Mike
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.