Dave Watts
Community Expert
Dave Watts
Community Expert
Activity
Mar 11, 2025
You should be able to find that at:
https://www.cfmlrepo.org/
... View more
Mar 11, 2025
Excellent! I'm glad you got it sorted, and that you documented it so well. You might be able to change the permissions a bit - for example, the CF user doesn't need "full" for isapi_redirect.dll - but the most important issue has been solved. Thanks!
Hi Dave,
What solved the issue was the files in the config/wsconfig/n/ directory. I double checked the permissions on isapi_redirect.dll and isapi_redirect.log I used the lockdown guide for CF 2016 to look up the permissions on each of these files. These permissions worked:
isapi_redirect.dll
CF: Full
Admin: Full
AppPool R&E, R
IIS_IUSRS : R&E, R
isapi_redirect.log
CF: Full
Admin: Full
AppPool R&E, R, W
IIS_IUSRS : R&E, R, W
and this is how it's supposed to look:
By @LarryRamp
... View more
Mar 11, 2025
Postmark or no Postmark, it's up to you to be able to interact with their APIs. Fortunately, you should be able to disassemble your implementation to fix your jQuery problem. Just work backwards. Take your CFINCLUDEs out of your CFSAVECONTENTs and build a big ol' monolithic CFC for each step and see what happens.
... View more
Mar 11, 2025
Are all of the files on a single CF server instance, or multiple instances? Have you tried deleting the caches of all the instances? Have you tried using folders which are only on one instance - for example, a subfolder of the current folder? Have you tried using absolute paths instead of relative paths? Have you tried using folders which are only on one instance - for example, a subfolder of the current folder? When you upgraded your production server to the latest version, did you delete all the files then? Are you using sandboxes in production? I mean, there are a lot of places to look here.
... View more
Mar 11, 2025
That's a lot of nested CFSAVECONTENT and CFINCLUDE tags. If I recall correctly, CFSAVECONTENT basically behaves like CFSET, but allows you to build complex values more easily. I can see that conflicting with CFINCLUDE in ways not easy for me to describe here. Instead of trying that, I recommend you using your browser's Dev Tools to see what's happening with your JavaScript.
... View more
Mar 11, 2025
1 Upvote
I'm glad you were able to work it out!
... View more
Mar 11, 2025
I don't see the complete CFC in your post, so I'm guessing it's the file doing the encryption. Can you post it?
... View more
Mar 11, 2025
Yes, please, tell us the solution. 4xx errors aren't usually caused by permissions errors. Thanks in advance!
... View more
‎Mar 10, 2025
06:14 AM
Excellent! Just replace the certificate and you should be good to go.
... View more
‎Mar 10, 2025
05:16 AM
Are you able to run the URLs from the same machine running CF, ideally with a command-line client like curl or wget? Do they run correctly?
... View more
‎Mar 09, 2025
03:48 PM
If you're using a client certificate with CFHTTP or any other HTTP client, you have to generate that yourself. The tool you use to generate it should have options for you to change encryption to what you need. If you're using jsch directly, or using a library that's a wrapper for jsch, you might find this useful:
https://stackoverflow.com/questions/78129815/jsch-jschalgonegofailexception-algorithm-negotiation-fail
(the single response in this thread is by Matthias Wiedemann, the developer of a popular jsch fork, and is worth clicking through)
If you're using openssl, you can check the online documentation for that. I'll point you to the actual docs, but I always find them difficult to figure out:
https://docs.openssl.org/master/man1/openssl/
Here are some alternatives:
https://mariadb.com/docs/server/security/data-in-transit-encryption/create-self-signed-certificates-keys-openssl/
(ignore the self-signed bits and just use your real CA root and intermediate certs)
https://stackoverflow.com/questions/76254573/changing-encryption-in-pkcs12-file-from-rc2-40-cbc-to-aes-256-cbc-using-openssl
(ignore the pkcs12-specific bits and read the rest)
... View more
‎Feb 28, 2025
01:32 PM
1 Upvote
The CFFiddle script shows the same problem for CF 2021 & 2023, but the problem has been fixed in CF 2025. So you should probably open a support ticket with Adobe about it here (I think):
https://tracker.adobe.com/
Beyond this, you might be able to use JavaCast to force these to be seen as strings instead of dates. Spreadsheets tend to think of lots of things as dates that aren't.
https://www.reddit.com/r/ExplainTheJoke/comments/1estm8c/i_dont_get_it/
... View more
‎Feb 28, 2025
01:24 PM
I think you should log it as a bug, as you suggested.
https://tracker.adobe.com/ (I think)
... View more
‎Feb 28, 2025
01:19 PM
First, great job on debugging this yourself! That can be difficult. Second, you may be right - it may be a bug. But what exactly did it have inside your neo-runtime.xml? Was it the literal value cf2023_scripts, or was it a pointer to an environment variable? Either way, you should probably file it as a bug, since you had to manually edit your file to resolve it.
... View more
‎Feb 28, 2025
01:01 PM
Assuming you want to take a CF certification mock test, I think the answers of @Charlie Arehart and @BKBK are on point. I'm not sure what you'd mean by giving a mock test. Anyway, I really wouldn't worry too much about studying in detail. ColdFusion (the server) and CFML (the language) are intended to be simple, and if you read one of the existing recent CF books, that's all the preparation you'll need. And even without those, you should be able to just review all the stuff that Carahsoft provides with the exam. I've taken lots of certification exams, unfortunately, and the ColdFusion certification was the easiest one I've taken. No Leetcode etc here, just simple questions on how the server and code work.
... View more
‎Feb 25, 2025
06:40 AM
I see it! Thanks!
... View more
‎Feb 25, 2025
06:13 AM
Hi, everyone!
It looks like ColdFusion 2025 was released to general availability today!
https://www.adobe.com/products/coldfusion-family.html
... View more
‎Feb 24, 2025
05:36 PM
This is the kind of thing that's often better off being done in the database. What are you using? If you're using SQL Server, you might find this useful:
https://www.sqlservercentral.com/articles/convert-unix-timestamps-to-date-times-in-sql-server-part1
... View more
‎Feb 21, 2025
04:10 PM
1 Upvote
I think it's always been this way. The metacharacters (d, m, y) have always had different meanings when capitalized. However, I guess it's possible that some database drivers didn't honor those meanings. Anyway, look at the docs for dateFormat and LSDateFormat in the CF documentation.
... View more
‎Feb 19, 2025
07:34 AM
I'm not sure why you're using a truststore other than the one that's part of the JVM used by CF, but I don't think it matters. I think the problem is that you still need to install the certificate chain for this new certificate. When you renew a certificate, the chain can in theory have a different root and intermediate certificates. If that happens, your client (CF) likely won't have those in its truststore.
... View more
‎Feb 18, 2025
10:56 AM
You probably need to import the certificate chain (root and intermediate certificates) into the cacerts truststore for the JVM that CF is using. I can't provide much more information now, but will be able to later today, if needed.
... View more
‎Feb 17, 2025
03:41 PM
Yeah, I probably shouldn't respond from my phone. Thanks for the heads up!
... View more
‎Feb 17, 2025
02:02 PM
I did a little research and unexpectedly learned that JSON doesn't allow single quotes as delimiters! Sorry about that. Your approach is probably best for now.
... View more
‎Feb 17, 2025
01:46 PM
It looks like something happened to /CFIDE/administrator/jvm.cfm. I wouldn't expect this file to be changed when you upgrade, but it looks like it was in your case maybe? Anyway, I'd look for a backup of that file, then back up the current bad file and restore it with the backup of the good file. If you're doing your own filesystem backup - which you should! - you should be able to find the last good copy from before it was overwritten. Otherwise, I suspect CF itself has a copy of it somewhere ... but I'm not sure where offhand. If you have to go that route, you might want to drop to the command prompt, navigate to the CF root directory, then type something like this:
dir jvm* /s
... View more
‎Feb 17, 2025
11:29 AM
You shouldn't have an issue with CF doubling single quotes. That said, I don't really see how you'd get to where you can control how the CF error logger rewrites the output of serializeJSON. You could create a temporary wrapper for the function that conditionally rewrites the quotes after the JSON has been created, based on a feature flag. I'm not sure it's worth the effort for you though.
... View more
‎Feb 17, 2025
09:48 AM
Try using single quotes to see what happens - but open a support ticket at tracker.adobe.com (I think that's the right URL) anyway.
... View more
‎Feb 14, 2025
10:05 AM
This is unfortunate, but I'm not surprised that Apple silicon is not an important issue for the CF development team. They might not even have Apple silicon to test against, and no one runs production servers on it so it's probably a low priority for them. Fortunately, others in this thread like @cf_john have figured out a solution I think.
... View more
‎Feb 14, 2025
06:44 AM
Fortunately, this is something you can test, on a separate test server. Note that you won't be able to effectively use the CF 11 STIG, as CF 11 reached end of life in 2019, and CF 2023 is fundamentally different in how it's managed.
... View more
‎Feb 07, 2025
01:46 PM
It looks like @Charlie Arehart responded correctly before I even had a chance to read your question! But I think you can probably just use the MySQL driver, as the client protocol is the same between MySQL and MariaDB.
... View more
‎Feb 05, 2025
10:04 AM
First, thank you for posting that example! It's interesting, and saves me the trouble of looking it up. But I think that's using built-in functionality in Java 17. If the rest of your code is using ScriptEngineManager you can skip the rest of my response.
Based on that example, I don't see any reason you can't just load an extra JAR file into CF to run this. It would have to be within the same JVM as CF though. All that said, I read that Nashorn has been deprecated in favor of GraalJS for reasons (based on your links). So, if you don't care about future compatibility, you could continue using Nashorn, or use GraalJS in compatibility mode. But I don't know how you can create a JAR file from these. I did find a sort of generic "how to create a JAR from a Maven project" page but it has a lot of options:
https://www.baeldung.com/executable-jar-with-maven
But it looks like you might have to run CF as a web application within the standard version of Tomcat to make this all work. That's probably more trouble than it's worth - and I could very well be wrong about all this - but here's a link about setting up Tomcat with GraalVM:
https://tomcat.apache.org/tomcat-9.0-doc/graal.html
Good luck, and keep us posted!
... View more