The official community for ColdFusion.
Recently active
Over the weekend I ran into an issue with initializing a CFC; when cfcomponent is called a 500 error is thrown. When reveiwing the exception.log file I see the following:java.lang.StackOverflowError at java.base/java.util.HashMap.putVal(HashMap.java:624) at java.base/java.util.HashMap.put(HashMap.java:607) at coldfusion.runtime.LocalScope._bindInternal(LocalScope.java:538) at coldfusion.runtime.NeoPageContext.setVariableScope(NeoPageContext.java:2047) at coldfusion.runtime.NeoPageContext.SymTab_initializeForPage(NeoPageContext.java:1254) at coldfusion.runtime.NeoPageContext.<init>(NeoPageContext.java:256) at coldfusion.runtime.CfJspPage.initialize(CfJspPage.java:163) at coldfusion.runtime.TemplateProxyFactory.resolveComponentHelper(TemplateProxyFactory.java:555) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:286) at coldfusion.runtime.TemplateProxyFactory.resolveComponentHelper(TemplateProxyFactory.java:412) at coldfusion.runtime
I have a few subdomains I'd like to create CF servers for on my localhost machine. Rather than have them populate the main folder under my Coldfusion server (CF2018 for me), I'd like to place them under the folder corresponding to their TLD. For instance, if I have a folder = C:/CF2018/County/, I'd like to create the subdomain folders as:C:/CF2018/County/ALC:/CF2018/County/TNC:/CF2018/County/NYetc... But the CF Enterprise Manager defaults to appending the name I'd like for a subdomain/server name to C:/CF2018. It provides no way to add a subfolder such as C:/CF2018/County/AL. I'm forced to make it C:/CF2018/AL or something similar. I could add "Z" to the front of each server's name to push the folders down in the list, I suppose. Not my first choice. Thanks!
Hi all,I just upgraded our CF2018 to CF2021 on the same machine. CF2021 works as the webpages are loading. However, <cfmail> is not sending email out. When I tried to send an email out using <cfmail>, the email in in the "Undeliver" folder. From coldfusion-out.logJan 27, 2022 17:39:04 PM Error [scheduler-0] - javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext) From Mail.log"Error","scheduler-0","01/27/22","17:39:04","","javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation
I am attempting to migrate to the ACF 2018 docker images.When I start up the ACF 2018 docker images. The docker-compose logs tell me that CF has started the .NET service.When some code is attempting to load in the assembly dlls for the cfobject. I get "The assembly that contains the class must be provided to the assembly attribute."Digging through the docker image I do not see the jnbridge directory that is installed when installing the .net service for Coldfusion environments.Is there a different location that the jnbridge is placed? Do I need additional configuration for the .Net service that doesn't come with the base image of ACF 2018?
Just getting started using PMT and trying to test out the "alerts". I have one alert set up - System CPU Usage when CPU is 75% on average for the past 300 seconds. I get alerts quite frequently even though PMT's System CPU graph for that same server consistently show less than 10% CPU usage with no spikes.Any idea why these alerts are getting sent?
Dear Support, I am trying to add SVN plugin to new installed CFbuilder 2018, but the old URL I have is not working any more giving 'bad gateway", do you have any reference URL to use for SVN. Thank you in Advance.
Anyone have advice on using WebRTC with Coldfusion? Can we use Coldfusion sockets? Are we better off using Node.js?
In an api that I add to my application (payment platform), I have to convert a Json object to Base64. When I use the ToBase64 function. I have this error message. Can anybody help me. Thanks in advance. Cordially,<cfset card_firstname = "Jeremy"> <cfset dataDirectory = getDirectoryFromPath( getCurrentTemplatePath() ) /> <!--- Create a basic ColdFusion object. ---> <cfset test = { "billing":{ "firstName":"#card_firstname#", "lastName":"Grimm", "addressLine1":"3 rue de l'église", "city":"Ostheim", "postalCode":"68150", "country":"FR" }, "shipping":{ "firstName":"Jérémy", "lastName":"Grimm", "addressLine1":"3 rue de l'église", "city":"Ostheim", "postalCode":"68150", "country":"FR", "email":"jerem68@hotmail.com", "phone":"+33-612345678", "shipIndicator":"billing_address", "deliveryTimeframe":"two_day", "firstUseDate":"2017-01-25", "matchBillingAddress":true }, "client":{ "email":"jerem68@hotmail.com", "phone":"+33-612345678", "birthCity":"Colmar", "birthPostalCode":"
Hi,I'm really struggling with this. I'm trying to populate the check boxes from the database, which I've managed. It then goes through to the landing page, but it takes the literal variable name with it instead of the value. This is the code on first page: <cfquery name="fromTools" datasource="cfook"> SELECT tools FROM toolsin WHERE custid = #custid#</cfquery> <cfform action="landing.cfml" method="post"><!--- Check box. ---><cfloop query="fromTools"> <input type="checkbox" name="myDataList" value="#fromTools.tools#" ><cfoutput>#fromTools.tools#</cfoutput> <br /></cfloop> <cfinput type="Submit" name="SubmitForm" value="Submit"></cfform>This names the checkboxes with the values from the tools column from the database. But then it goes to page 2:<cfquery name="toolsin" datasource="cfook"> INSERT INTO toolsout VALUES("1234", <cfquer
hi everyone, I need to know the process to encrypt the file {CF_DIR}/lib/neo-datasource.xml from CFAdmin or some script. Thanks a lot.
I'm brand squeaky new to cold fusion and access, as well as Windows, as I'm a Linux dev. I'm trying to connect Access to cold fusion. I've got as far as installing the accessdataengine.exe, and opened odbcad32.exe. I don't know what to write in the Data Source Name. the helpful instructions I'm following at https://yiengly.wordpress.com/2017/05/02/setting-up-an-ms-access-32-bit-data-source-in-coldfusion/ say use the exact name in the Cold Fusion Administrator. I appear to have missed something there. I've got Commandbox installed, but have no access to the adminitrator page. I've tried going to http://127.0.0.1:8500/CFIDE/administrator/index.cfm with the server running (as it says to do here: https://helpx.adobe.com/coldfusion/configuring-administering/administering-coldfusion.html ), but it says "page isn't working". I have no idea what I'm doing. Then to select the database, what am I looking for? If I even had any idea what name to type in, I can't
Hello:I have the <cfquery... below<cfquery name="theQuery" datasource="#application.dsn#">SELECT position_key, position_name,inactive_dateFROM aTableWHERE aColumn IS NULL</cfquery>The Oracle is backend.My question that does the line "WHERE aColumn IS NULL" is possible for SQL Injection?If so, how should I add <cfqueryparam>I tried couple scenario:This line WHERE aColumn IS <cfqueryparam null="true"> error: missing NULL keywordThis line WHERE aColumn = <cfqueryparam null="true"> : the result is diff from WHERE aColumn IS NULLAny advice please.Thank you very much
I tried to upgrade my CF2018 to CF2021. The installation process seemed to go well until I tried to reach my website. It showed my codes in the UDFs that I defined in the Application.cfm in the same directory. I scrolled the Elements section to the top. I scroll the webpage to the top, and on the Sources section, "<html><head></head><body>" were probably above what is showed below. This is the section of my Application.cfm.This is getnumbers.udf So, I think my webpage is showing the content of UDF! Any idea what went wrong? and how it may be fixed? Thanks! dchan
We're running Coldfusion 2018 at the latest patch level, and have been notified by our security folks that we're using a vulnerable version of the JRE (1.11.0_01). I'm new to administering Coldfusion and wanted to know what the best practices are for performing JRE updates. Should we be expecting updates to be included in the Coldfusion updates (I assume not, given how behind we are)? If not, should we only be applying versions available here (https://www.adobe.com/support/coldfusion/downloads.html)? Is this a good reference on how to apply the updates? (https://www.petefreitag.com/item/860.cfm)
Hello, Has anyone experience of setting up ActiveMQ on a CF server to consume and later post messages back to Confluent Cloud? I haven't used event gateways before and the whole Confluent side is also new. I have the gateway running locally and consuming basic messages sent locally, its the linkup with Confluent is the unknown. There are various connectors/sinks available within Confluent for ActiveMQ but i'm not sure of their use and do I need anything like that. I ws thinking it would just be a matter of firing up the gateway giving it some sort of url and topics to listen to and once we get a message we want, my cfc handles the rest. Thanks
Hello All,During install th CF2018, I got this error, please see the attached image. I was trying to install CF2018 into a governement laptop and have no admin privilege. What is this Java has something to do with CF2018, and without it, can CF 2018 rusn properly.Thank you
Forget about the 64 bit version. Forget about the auto installer (security will fail you everytime). Download ColdFusion_2021_WWEJ_osx10.zip. Extract the zip to Applications. Open Systems Preferences. Follow Adobe's instructions whilst keeping Systems Preferences in the foreground.Adobe's Directions but run every thing in sudo:Mac OS XUnzip ColdFusion_2021_WWEJ_osx10.zip file.Unzip ColdFusion2021.zip.Navigate to ColdFusion/cfusion/bin on the terminal.Enter ./cfinstall.sh and follow the on-screen instructions.In Systems Preferences: Security& Privacy/Privacy/Developer Tools/ check terminal app. (after install you might want to turn it off).Watch Systems Preferences block the install and change everything that I did. Boom it's done.
I recently ran into an issue when interacting with Mailgun's API via CFHTTP whenever we attempted to send a file attachment. The problem is that the recipient's email attachment file name always contains the full path of the file as passed to the cfhttparam file attribute. For example, if my actual filename was "Sample_Adobe_PDF_Document.pdf", Mailgun would send the attachment as "c:myfilesdocumentsSample_Adobe_PDF_Document.pdf". Weird right? I created a dummy API endpoint on beeceptor.com to see what CFHTTP was sending Mailgun, and this is the header that ColdFusion sends: Content-Disposition: form-data; name="attachment"; filename="c:\myFiles\documents\Sample_Adobe_PDF_Document.pdf" Content-Type: application/pdf At first I figured this was a problem with Mailgun and that they weren't properly parsing the filename, from the POST data. However, when I look at the web specifications for Content-Disposition Filename, it says:"Is followed
I am utilizing the scheduled tasks feature of ColdFusion (CF 😎 so robustly, that we have had to dedicate multiple servers that do nothing but run scheduled tasks all day long. When Daylight Savings Time hits we always end up running into issues with tasks running early or late because CF8 decides to change the scheduled run time.For instance, one task runs Daily at 23:20, and on Friday night after the task executed, instead of scheduling the next run for 23:20 EST on Saturday, it scheduled the task for 00:20 EDT on Sunday.At what point does CF (or the JVM) change the time and why isn't it at 02:00 on the Sunday of the change?What can I do to avoid this in the future, besides putting my servers into a state which doesn't observe DST?We're using the JVM that came with CF 8 (1.6.0_04).Any help is appriciated. Thank you.
Howdy, We are running CF2021 on Win2019 Server Datacenter. Over the past couple of weeks we have started seeing intermittent connection falures to some of our third party partners, like our payment processor, and other partners. CF is using TLS1.3 to make these connections, and if we immediately try to connect again when we get a connection failure, it almost always connects successfully. Sometimes it goes through fine without having to retry, so it is an intermittent failure.One thing we have observed is that many, id not all of the failures appear to be trying to connect with a pre-shared key (PSK), while the successful retries do not (presumably CF drops the PSK when the connection failure occurs).Is anyone else seeing something similar or has seen this?One suggestion raised was to turn off TLS1.3 and fall back to 1.2. I assume we can do that using JVM command line args in the CFadmin and then restart?Appreciate any help and suggestions.As near as I can tell, we are current on
Hello Coldfusion community,I need your suggestion in upload functionality that I recently facing. I have shared network drive where I need to upload the file using cf file. but I can't give permision to service ac on which coldfusion is running. Instead client is given user name and password to us when upload. Is there a way to to pass credential while upload file using cf file? What is alternate way to achieve this? any help would highly appriciatedThank You!
Why must I have the Update 4 of ColdFusion (2018 release) or Update 11 of ColdFusion (2016 release) installed before updating to Update 5 or Update 12 respectively? These are mandatory updates because the latest updates are now signed using a new code signing certificate and the code changes to check for the new signature were included in Update 4 (ColdFusion 2018) and Update 11 (ColdFusion 2016). If you are not on the specified updates and try to apply the new updates using the ColdFusion Administrator, you'll see the error, Signature Verification Failed, because the code will still be looking for an outdated signature. As an alternative, you can download the hotfix jar file directly from the 2018 updates and 2016 updates pages, and apply the update manually.
no matter what I do, I get blocked by the "gatekeeper". I've already "disabled" gatekeeper by running spctl.Any ideas?
Bonjour,Afin de "typer" les variables, on utilise form., url.En existe-t-il d'autres ?Merci par avance Hello,In order to "type" the variables, we use form., url.Are there others?thanks in advance
We have an issue where all threads are used and CF or Tomcat delivers an error message page.CF times out when database threads hang and displays a Service Not Available message or similar.When regular threads are used up, Tomcat shows a similar message.We are working to resolve this but in the meantime we would like to show a custom error page instructing users what happened and where they can continue.Does anyone know where to find and edit the Tomcat and CF error pages on the following.CF 11 on Windows Thanks for your help,Jon K
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.