The official community for ColdFusion.
Recently active
Has anyone successfully generated a valid token for Apple's App Store API using ColdFusion?We are following the instructions from Apple and cannot get the damn thing to authenticate. Every call returns "401 Unauthorized ". We're using a JWT CFC code found here the uses Java for signing the JWT. The curious thing is, we've used this same CFC to successfully sign a JWT (slightly different payload) for use with Apple's MapKitJS API. But, for reasons unknown, we can't get the App Store API to authenticate. Any help is appreciated. Our code sample:<cfsavecontent variable="ourP8Key"> -----BEGIN PRIVATE KEY----- Our Key Data Here -----END PRIVATE KEY----- </cfsavecontent> <!--- 'kid' value is private key ID from App Store Connect ---> <cfset tokenHeader = { "kid":"OURPRIVATEKEY" }> <!--- iss value: issuer ID from the Keys page in App Store Connect ---> <cfset tokenPayload = { "iss":"OUR-ISS-ID", "iat":now(), "exp":dateAdd(
I have a number of scripts that don't seem to run, even though the scheduler says it ran.I ge the following from the hhtp.log file."Information","DefaultQuartzScheduler_Worker-5","08/02/22","12:15:00",,"Starting HTTP request {URL='https://xxx.xxxxxxxxxx.com:443/webservices/xxx/autoCompleteWOs.cfm?RequestTimeout=7200', method='get'}"But I also created a cfoutput log to print that it has started, That second log file is empty(It prints ino local).all help would be appreciated.
Hi, we see this warning in the CF logs. Should we leave the warning or remove one of the JARs? Advice appreciated. The warning only started happening recently, perhaps after a CF update.SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/C:/ColdFusion2018/cfusion/lib/log4j-slf4j-impl-2.17.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/C:/ColdFusion2018/cfusion/lib/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Hi guys, I need help from you. I downloaded version Mac 64 bits | English | 964MB. I have a Quad-Core Intel I-7 (2017).When I try to install it, shows up a security message from my MAC that JAVA was downloaded from an unsafe website.I went to Security & Privacy and allow permission to install. Nevertheless, It doesn't go forward. ColdFusion couldn't be installed. What I can do? Thanks, Folks!
Hi,I'm deploying apps in Cold Fusion Docker containers via DevOps pipelines into AzureThe Cold Fusion apps in this container need to connect to an SQL database in AzureI need to add the connection string values for the database as a Cold Fusion data source within the containerI have found the connections strings are stored in the neo-datasource.xml file, but my attempts to add connection string values into this file fail, probably due to passwords in this file being encrypted by Cold Fusion Is there any way of adding datasource values into the Cold Fusion Docker container during container run time? Thanks,Matt
I have a REST web service that I have been using on CF 2016 and CF 2021 servers without issue for a long time now. I have just recently upgraded to CF 2021, and I am getting a weird behavior that I can not identify what is happening. From the sderver, if I open a URL to the REST site, it works just as expected, but if I try from any other machine, I get an error 500. I tried with calling the CFC directly, and same behavior. Here is the start of the component:<cfcomponent rest="true" restpath="/IVR"> <cffunction name="GetPolicyInfo" access="remote" httpmethod="GET" restPath="GetPolicyInfo/{RequestId}/{PolicyNumber}/{ZipCode}" returntype="any" produces="application/json"> <cfargument name="RequestId" type="String" required="true" restargsource="PATH" /> <cfargument name="PolicyNumber" type="String" required="true" restargsource="PATH" /> &n
We are pleased to announce the Public Beta of the ColdFusion Builder extension for VS Code. If you're using ColdFusion Builder, would you like to take part in helping the CF team make Builder the best it can be? Download the extension from the VS Code marketplace. The all-new Adobe ColdFusion Builder extension for VS Code helps developers to edit and validate code, manage files and projects, and debug and scan for security vulnerabilities. The extension includes the Server Panel, RDS, PMT, Code Assist, Security Analyzer, and many many more such cool features. For more details on the extension, see the documentation. The extension requires VS Code 1.68, Java 11 and above, and works on Win 10/11 or macOS 11/12. If you uncover any bug, log it into the bug tracker. Please use the extension and give us your feedback. Your feedback is extremely important to us and will help us in improving the product iteratively. Once again, the important links: VS Code Marketplace Docum
Tried searching to see if anyone has ran across the following issue after upgrading to CF2021. In CF2016, it "seems" that CF is automatically converting data types based on the key values:{"message":[],"code":"","success":true,"data":{"ID":15090910}} Notice the ID is int In CF2021, the data type for the same exact code and request comes back a string:{"message":[],"code":"","success":true,"data":{"ID":"15090889"}} Notice the ID is a string I've already fixed some that are supposed to be boolean (true/false) rather coming back as ("true" / "false") Is there a new setting I'm not aware of?
In our application (Coldfusion 2018, Update 14) on some pages we use cfprogressbar to show the progress of long running actions to the user. The progress bar is bound to a cfc which returns status and message from out of the session of the user.This coding has been used since many years and always worked well.For 2-3 months we are now sporadically getting an error of the meaning that the cfc cannot be bound:java.lang.NullPointerException at coldfusion.tagext.html.ajax.AjaxProxyTag.getCFCInvocationPath(AjaxProxyTag.java:520) at coldfusion.tagext.html.ajax.AjaxProxyTag.getCallParameters(AjaxProxyTag.java:386) at coldfusion.tagext.html.ajax.BindProcessor.parseBind(BindProcessor.java:558) at coldfusion.tagext.html.ajax.BindProcessor.processBind(BindProcessor.java:325) at coldfusion.tagext.html.ajax.ProgressBarTag.generateBindFunction(ProgressBarTag.java:335) at coldfusion.tagext.html.ajax.ProgressBarTag.doEndTag(ProgressBarTag.java:273) at cfplpButtons2ecfm1713680839._factor0(G:\Websites\i
Bonjour,Alors que je l'ai fait de nombreuses fois dans d'autres programmes, cette fois-ci j'ai une erreur :Quelle est la bonne méthode ?Voici une partie de mon code<!--------------------------------- CREATION ------------------------> <CFIF mode IS "creation"> <TABLE width="100%" border="0" bordercolor="yellow" cellspacing="0" cellpadding="0" align="CENTER"> <CFFORM action="beug.cfm?mode=Insert" enctype="multipart/form-data" method="POST"> <TR> <TD class="txtmm" width="20%">&nbsp;Prix TTC en euro</TD><!--- Prix TTC ---> <TD align="right" class="txtmm"> <CFINPUT type="text" name="NumberFormat(LP_PrixJaune, '99.99')" size="17" maxlength="40" style="text-align:right"> </TD> <TD align="right" class="txtmm"> <CFINPUT type="Text" name="NumberFormat(PrixBleu, '99.99')" size="17" maxlength="40" style="text-align:right"> </TD> </TR> </CFFORM> <
I am trying to access our UAT Admin pages.I am sitting in the UAT machine via RDP, but I cannot find the CF address to run the admin .127.0.0.1, and localhost did not work.Is there a file I can read with the IP address?BTW I am on a windows server box running IIS.
The latest DOD STIG for CF is for version 11, but I have to used even if its just in spirit. It calls for the internal tomcat webserver to be disabled. I could be wrong but it seems that even though I've configure all the IIS websites to run with CF, the admin pages are still being served by the internal webserver by default, yes? Is there a way to serve the admin pages over IIS so I can disable the internal web server? Thanks.
We are pleased to announce that we have released the updates for the following ColdFusion versions: ColdFusion (2021 release) Update 4 ColdFusion (2018 release) Update 14 Note: The ColdFusion Add-Ons and lockdown installers are also refreshed. The refreshed installers are available at ColdFusion downloads. In these updates, we’ve fixed a few security bugs, and upgraded Tomcat, along with other libraries. ColdFusion (2021 release) Update 4 ColdFusion (2018 release) Update 14 Performance Monitoring Toolset 2018 Update 5 Performance Monitoring Toolset 2021 Update 4 These updates fix security vulnerabilities that are mentioned in the security bulletin, APSB22-22. The Docker images will be hosted shortly on Docker Hub. Please update your ColdFusion versions and provide us with your valuable feedback.
we have been using cfpop for years to open a mailbox and download attachment/headers.it started failing last night.....now exchange provider claims we are not using TLS 1.2This is what we've been using <cfpopserver = "*.*.*.*"username = "*****@*****" password = "*******!"action = "getAll"name = "qheader"secure="yes"> Other than CFIMAP or createObject("component", "pop").init() are there any other alternatives to open a mailbox and download headers/attachments? Thanks Paolo
Surprisingly I could not find a discussion about this in the forums. I downloaded and unzipped the files, and went to cfinstall.bat in the bin folder. I also downloaded VC 2012 Runtime. But here my progress ended. I tried to run cfsnstall.bat as administrator, and also I made attempts to start the installation in other ways, but without success. I got to the usual window "accept changes ro the system..." but that was it. What is the correct procedure at this point? It must be very straightforward.
Hello,I am new to CF and I am struggling to convert an existing form that creates and downloads an .xls fileinto a form that creates and downloads an .xlsx file.We are currently running ColdFusion Server Enterprise 2021,0,03,329779.The current main .cfm page queries the data, formats the output,and calls another .cfm to generate the .xls file.The struggle is after code changes are made and after the .xlsx file is created and downloaded,I receive the error message:"Excel cannot be open the file 'nnnnn.xlsx' because the file format or file extension is not valid" The main.cfm page uses the following file name, header data, and formatting masks structure:<cfsilent> <cfscript> variables.fileName = "#replace(reportData.headerData.reportTitle, ' ', '', 'all')#_#dateFormat(reportData.headerData.reportUpdatedDate, 'yyyymmdd')#.xls"; variables.headerContent = "#reportData.headerData.reportTitle#"; // styles styles = StructNew(); styles.th = "border: 1px solid ##
I have upgraded ColdFusion from 2016 to 2021. The installation log file shows only successes without any warnings or errors. CF Admin launched after the installation and I was able to confirm the settings migrated correctly and I created 2 of the 3 datasources with the Oracle driver(I don't have good password for 1 of them). I also manually installed update 4. I disconnected all the IIS sites from version 2016 with its Web Ser Config Tool and then connected all of them to the new version. I've disabled the old CF2016 services to ensure there's no confusion Unfortunately now, I can't get into the CF Admin. IE reports ERR_CONNECTION_TIMED_OUT. The 1 site the server is hosting responds with a CF error because one of the datasources is broken. So at least I know CF is running and responding to requests. The pathes of 2 of the virtual directories were correctly updated to the new CF version's path. However, CFIDE was still poin
I am trying to implement Amazon Pay Checkout, V2 in coldfusion (ACF2016/windows) leveraging the provided JAVA code from Amazon's docs and Amazon's .jar file. (https://github.com/amzn/amazon-pay-api-sdk-java#readmeglobal)I have written a cfc, meant to be used in the session. I instantiate the WebstoreClient object, set the Pay Configuration and generate the button code just fine. Click the button on the page, a window opens, log into sandbox, close the window and go to the second checkout page with a sessionid in the URL (keeping it simple) When the button is clicked, amazon creates your checkout session, and all the local methods are GET/POST/PATCH operations to amazon servers - simple enough. Not knowing java, but able to [usually] follow code, it sure looks like everything is there..Here is where I am having trouble. I cannot getCheckoutSession(sessionid) The error I get isThe getCheckoutSession method was not found. Either there are no methods with the specified method name and argu
Running Cold Fusion 2021, and the upper menu on each of the options (Server Settings, Data & Sources, etc.) has suddely disappeared. Has anyone else had the same experience? Server Product: ColdFusion 2021 ReleaseVersion: 2021.0.0.323925Tomcat Version: 9.0.37.0Edition: EnterpriseOperating System: Windows Server 2016OS Version: 10.0Adobe Driver Version: 5.1.4 (Build 0001)
There is a reference for offline activation of a license for a server located behind a firewall in this linkhttps://helpx.adobe.com/in/coldfusion/using/coldfusion-licensing-activation.html#Offlineactivationhowever I cannot see any link to Generate Activation Request in the Lincensing and Activation page. When I try to activate, it accepts my license and says its activated, but on restart, it goes back to trial version.
Hi Cold Fusion community, today i've installed the ColdFusion 2021 (Update 14) and entered the Number Series during. Due to the fact our server is in a secured network layer we cannot connect to the Adobe licensing server.So we tried to follow the offline activation process, but the mentioned button "Generate Activation Request" from the Adobe Instruction is not available in the CF Admin portal:https://helpx.adobe.com/coldfusion/using/coldfusion-licensing-activation.html Did someone else have/had the same issue and resolved it? Is there another way to get the software activated? Thank you in advance.
Here's another issue I'm running into with our new CF2021 instance. This function worked fine with CF2016 using Java 11 public date function convertEpochToODBCDate( required numeric ts ){ var objTZ = createObject( "java", "java.util.TimeZone" ); var objDF = createObject( "java", "java.text.SimpleDateFormat" ); var objDate = createObject( "java", "java.util.Date" ); var dte = objDate.init( JavaCast("long",arguments.ts) * 1000 ); var tz = objTZ.getTimeZone( JavaCast("string", 'UTC') ); var outputFormat = objDF.init( javaCast( "string", "yyyy-MM-dd HH:mm:ss" ) ); outputFormat.setTimeZone(tz); return CreateODBCDateTime( outputFormat.format(dte.getTime()) ); } Here's the stack trace:DetailEither there are no methods with the specified method name and argument types or the init method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 2 methods that match the provided arguments. If this is a Java obje
I just installed CF2016 Developer with the internal web server on Windows 10 server. After installation, I attempt to open the administrator app with this code http://127.0.0.1:8500/CFIDE/administrator/index.cfm and receive this message: This site can’t be reached127.0.0.1 refused to connect.Any ideas?Thanks
Hi everyone,I have a CF project that I need to work on. I'm super new to CF. I have CF Builder 2016. If someone is familiar with CD Builder 2016, can you please guide me the steps on how to debug CD project on CF Builder 2016? Thanks very much!Chris
Will my CF 2016 Enterprise Edition will turn to developer edition after license expiry?In that how to contact CF for licence renewal.
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.