The official community for ColdFusion.
Recently active
I had to re-install my CF2018 service (long story) and now the Add-on Services service won't start. I have found an error in the {home}\jetty\logs folder that I think is the probem. 2023-09-27 11:25:18.519:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@60f00693{PDFgServlet,/PDFgServlet,file:///C:/ColdFusion2018/cfusion/jetty/webapps/PDFgServlet/,AVAILABLE}{C:\ColdFusion2018\cfusion\jetty\webapps\PDFgServlet} 11:25:19.515 [main] ERROR org.apache.solr.util.StartupLoggingUtils - Missing Java Option solr.log.dir. Logging may be missing or incomplete. 2023-09-27 11:25:20.390:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@6187d1f5{solr,/solr,file:///C:/ColdFusion2018/cfusion/jetty/work/jetty-10_195_40_18-8991-solr_war-_solr-any-/webapp/,AVAILABLE}{C:\ColdFusion2018\cfusion\jetty\webapps\solr.war} 2023-09-27 11:25:20.390:INFO:oejs.RequestLogWriter:main: Opened C:\ColdFusion2018\cfusion\jetty\logs\2023_09_27.request.log 2023-09-27 11:25:20.405:INFO:oejs.A
ColdFusion pre-compiles all code when cache is turned on. It also places a comment (<!--- servername/index.cfm---> ) on the first line of the page when cache is on. !DOCTYPE...> no longer works since it is now on the second line. This causes the !DOCTYPE to NOT be in Standard mode. How can I remove the comment line so the !DOCTYPE is the first line?
I ran the CF Auto Lockdown Tool after a new installation of CF 2023 on a Windows 2022 server. Things have stopped working and I can't figure out why. I followed almost all of the prerequisites before running; the only one I didn't follow was the recommendation to put CF on its own drive. I can't do that in this case. I haven't proceeded with the lockdown guide after the part where I ran the auto lockdown tool.The CF Admin seems to work just fine. And the public-facing site works to some extent but hits errors on certain pages. The errors are cryptic to me. Some examples are:- Sep 25, 2023 3:07:45 PM org.apache.catalina.core.StandardContext setPathWARNING: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []-INFO: The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [C:\CF2023\cfusion\lib;C:\CF2023\cfusion\jintegra\bin;C:\C
When the report runs we get this error: Error at line 4 char 322: net.sf.jasperreports.engine.xml.JasperDesignFactory This report has been working since at least 2014 throught multiple versions of CF. We are attempting to upgrade from 2018 to 2021 and this is our last issue. The template is in the same directory as the file creating the report. <cfreport template="act_aei_contaminant_summary.cfr" format="PDF" filename="#PhysicalPath#contam_summary_#acct_num#_#inven_dt#.pdf" overwrite="yes"> <cfreportparam name="acct_num" value="#acct_num#"> <cfreportparam name="inven_dt" value="#inven_dt#"> </cfreport>
I want to set up the ability for a file to be downloaded and then immediately delete the file, so that it cn only be downloaded once. I don't want to trigger it based on a link being clicked incase the download does not complete for any reason. Could anybody help me understand how I can detect success of a download? Thanks Mark
I can't seem to get ColdFusion 2021 to render HTML pages with CF code in it. This is a fresh install on new server running MS Server 2019, no prior CF installs on this server. I am running enterprise version of CF 2021.0.10.330161. I have followed the steps from https://helpx.adobe.com/coldfusion/kb/render-html-pages-using-coldfusion.html but still no success. I know I have done this successfully with my 2018 version and for the life of me never had issues with this part before. Is there something else that needs to be done for CF2021 to render HTML pages? I am kind of at a loss here. Any help or ideas are greatly appreciated. Thanks.
I'm attempting to deploy a ColdFusion 2021 Enterprise JEE application WAR file (or even just plain CF 2021 Enterprise itself, with none of my code) to an Azure App Service, and it fails consistently. I've deployed CF 2018 and 2021 applications in other Azure environments, but this one is not working no matter what I do. I am deploying via Azure PowerShell using Publish-AzWebApp, and the logs for the deployment show the process succeeded with no errors. But when I start or restart the App service, Tomcat 9 refuses to start. The few logs I am allowed to access say Tomcat is stumbing over the ColdFusion startup filters:SEVERE [main] org.apache.catalina.core.StandardContext.filterStart Exception starting filter [CFClickJackFilterSameOrigin] java.lang.NullPointerException... and so on for ClickJackFilterDeny, ModuleCheckFilter and CFMonitoringFilter. I've checked for those classes' existence in the JAR file, and they're all there. Thw WAR unpacks & runs OK on my local, non-Azu
We are pleased to announce the availability of ColdFusion (2023 release) Update 4 and ColdFusion (2021 release) Update 10. These updates introduce the ColdFusion serial filter that can be used to allow or disallow Java classes or packages for the deserialization of Wddx packets. What is ColdFusion serial filter? The cfserialfilter.txt file ensures protection against insecure Wddx deserialization attacks. On the other hand, the already existing serialfilter.txt blocks Java deserialization by disallowing certain Java classes or packages. How do I download the updates? Head over to the update pages to download the updates: ColdFusion (2023 release) updates ColdFusion (2021 release) updates What do these updates contain? Learn more about these updates from the following tech notes: ColdFusion (2023 release) Update 4 ColdFusion (2021 release) Update 10 What else? Docker images for ColdFusion 2021 and 2023 will be pushed to AWS ECR and Docker
I will preface this with full disclosure. I know as much about ColdFusion as Jon Snow (I am basically the CF Admin when there is a problem or an upgrade, so once every year or two). I am not sure what was changed, but I get an error logging into the Administrator, takes me to a page, enter.cfm (log below). What I can say is that this was working a few weeks back, and I presume a monthly reboot for Windows updates made some change take place, but there is no record of said change (we have outside parties updating an application). So a stretch, but I was thinking if I could find the Java settings/arguments, I could compare them to our working Test instance. Have not been able to manually fund this, nor a post with this information, and could be the wrong direction anyway. Any thoughts? Oh, and this is not impacting our application/site, just seemingly the Administrator. Sep 11, 2023 22:00:01 PM Error [http-nio-8500-exec-1] - Could not initialize class net.sf.e
(CF2016) I need to run a task on the schedule on exactly the same day of the each month. I can set the start date this month, and lower down set MONTHLY, but does that mean it will litereally run on the same day of the month each day, it's not clear that will be the case Thanks.,
While upgrading to CF7 from CF5, I am creating the new collections from Cf Admin. After creating, I indexed it from cf admin and then trying to search for the documents in that collection, and i am getting the following error. This was working yesterday. I have cheched the logs etc and nothing seems helpful in discovering what the issue is.Document count is 11,745 and the size is 25,948 kb, which is not too much for a collection. I have tried to restart Cold Fusion Search Services and then ColdFusion Application services, but all in vain.Any help on this would be greatly appreciated.DetailThe collection you specified does not exists or is not registered with the ColdFusion Search Service.MessageThe collection rc_collectiom does not exist.StackTracecoldfusion.tagext.search.CollectionDoesNotExistException: The collection rc_collectiom does not exist. at coldfusion.tagext.search.SearchTag.verifyLocale(SearchTag.java:819) at coldfusion.tagext.search.SearchTag.doSearch(SearchTag.java:200) a
I have been migrating some old ColdFusion MX 7 applications to CF2016. I am currently stuck on a code which is calling a webservice. It works without any error in MX7 but fails to find the Web service operation in CF2016.Below is how the code is written in MX7:<cfscript>//Printer validationprintername = structNew() ;printername.pid = "1221";//printername.command = "PRINTERS"&#url.branch_loc#;printername.command ="PRINTERS185";//printername.command = "PRINTERSALL"; printername.locale = "en-CA"; Application.UserWebService = CreateObject("webservice","http://weburl:9115/wsdl/WWS001.wsdl"); printerdtls = Application.UserWebService.WWS001Operation(printername);printerdtlsreq = printerdtls.TABLEOUT; isprntrvalid="no";for(i=1;i LTE ArrayLen(printerdtlsreq);i=i+1){tempprntrData = UCase(printerdtlsreq[i].TNAME);//writeOutput(tempprntrData & "<bR />"); }writeoutput(#ArrayLen(printerdtlsreq)#);END;</cfscript>I get list of Printer
We are setting up an SFTP connection via cfftp, and are currently receiving the following error:"Error: Session.connect: java.io.IOException: End of IO Stream Read."We have narrowed it down to the version of JSch, which is currently jsch-0.1.54. This will work if we use diffie-hellman-group-exchange-sha1 algorithm, but we need to use diffie-hellman-group-exchange-sha256, which produces the above error. Testing this outside of CF, we have managed to prove that it works successfully using jsch-0.1.55, while returning the same error above using jsch-0.1.54.So we have been trying to update the CF FTP package to jsch-0.1.55, using the approach detailed here: https://helpx.adobe.com/nz/coldfusion/kb/apply-custom-patch-coldfusion-2021.htmlWhich somewhat usefully has this exact update as it's example. It installs without issue (and we can see the dependency shown as jsch-0.1.55 in the FTP package in the administrator), but it still continues to pick up
I'm running Windows10Pro on my development server with IIS 8. I'm wanting to run ColdFusion server on this machine. The site running on it will have a CF application with an Access database behind it. Eventually, when it goes Production on another machine, the database will be MSSQL.Which version of CFusion should I install?CheersRoy
I am curring running cf 2021, lockdown tool and performance monitoringI now want to upgrade to 2023 and keep all my settings and it looks a bit scary. Can anyone recommend the best path forward? Do I need to uninstall the 2021 lockdown and pef mon tools as there are 2023 versions of them? will they update along with the core cf install/ And what about migrating all settings? They show multiple ways so just trying to figure out what works the best. I figure they would give you the option to just migrate everything from the old. Any advice in advance would be great.
Hi,I was looking at some performance issues on a test server and I came across the following: Tip: Our research has shown that in some versions of ColdFusion, leaving Report Execution Times enabled while Enable Request Debugging Output was disabled would still cause ColdFusion to perform excessive background processing on every request, leading to significant overhead. It is highly recommended to disable Report Execution Times regardless of the Enable Request Debugging Output setting in your production environment. I noticed we had Report Execution Times enabled. We are using CF2018. Can anyone confirm if there is additional overhead having this enabled and should I disable it or does it not matter?Thanks
Using cf2018.The coldfusion service start, stop option are in disabled mode now and hence cf not working suddenly Checked cf logs coldfusion out log and sever.log, but couldn't find any trace.Is there any options other than reinstall?Any help is appreciated.
Hi,While using Select scripts in cfquery records get limited to print 9999 records only when we dump it with cfdump. We are using the below code<cfoutput> CF-MSSQL-Select scripts </cfoutput> <cfquery name="list_customer" datasource="ohub"> Select top 10020 custid from customers </cfquery><cfdump var="#list_customer#" label="list_customer"> When we execute this code in cfdump only lists 9999 records.Is there any way to increase the data limit to 50,000 plus?Please see the below screenshot attached. Please advise.Thank youJibin
Here is my code to encrypt and decrypt. When i change my key to decrpt ( 'Mykey1234') i stil can decrypt the string i just encrypted. The key i used to encrypt i 'Mykey12345678'. Any one can explain why this happen? <cfoutput>Encrypt : #encrypt('This string will be encrypted (you can replace it with more typing).', 'Mykey12345678', 'CFMX_COMPAT','Base64')#<cfset new_encrypt = encrypt('This string will be encrypted (you can replace it with more typing).', 'Mykey12345678', 'CFMX_COMPAT','Base64')> <br>Decrypt : #decrypt(new_encrypt, 'Mykey1234', 'CFMX_COMPAT','Base64')#</cfoutput>
Receiving vulnerability scan issue with SOLR version in ColdFusion 2022. Seems to be 5. version and current version is SOLR 8.11Is there a way to upgrade or will Adobe add it to next CF hotfix scan showsApache Solr < 8.4.0 Remote Code Execution
Using coldfusion 2018 . The application service start,stop,restart options became in disabled mode now.Checked coldfusion out log and sever log files, but couldn't figure out why suddenly stopped. Had configured System password in its property from service. The system password is changed now.
Hi, Using cf10 and sqlserverbackend. Have around 1 lakh record to process from a table A. Need to compare data is present in another table B in another server .If not present need to update few columns of record in table A. Looping and processing is giving timeout. Try to take valuelist for id list and do the process in 10 batch using query of query. It is giving error as parameter cannot contain more than 2100 . Please suggest better way to process one lakh record in Coldfusion
Hi,I have Coldfusion installed on linuxOS (as a code) on AWS instance. Trying to upgrade Coldfusion from 2018 to 2021 with the same working setting/code.After upgrade, Schedule tasks is not working. When tried to manually run a task with output file, it doesnt run at all, and no logs are captured on scheduled tasks.Scheduler package has been reinstalled, still not working.In http logs, could see entries - which means it is not permission issue.And the URL used in the task is HTTP - so not key issues. Any idea on this issue ?
Could anybody help me with this. I have a various strings that should (unless it is passed incorrectly which is possible) contain a number at the end, but may also have numbers at the start and/orwithin the string . Example:somestring4567some123string4567123some123string4567123somestring4567 I need to split it so that I end up with the number at the end, so in the examples above the 4567 I could probably do it with a loop but I'm guessing there is a slicker more efficient way of doing it Thanks
Hi,Using coldfusion 10. Have one table insertion from Table A to Table B in a loopWith a flag=0 in TABLE B.A scheduler is running at 5 minute interval reading data in a batch of 2000 from Table B and processing it.After process, update Flag =1. When there was around 20,000 data in Table A, it inserted only around 16,000 records and stopped. Is it because of simultaneously read and write operations?What is the ideal way to avoid partial insertion?
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.