The official community for ColdFusion.
Recently active
I am getting the error posted in the title, the full error is the following... Cannot invoke "coldfusion.server.LicenseService.isStandard()" because the return value of "coldfusion.server.ServiceFactory.getLicenseService()" is null I have applied the hotfix-007 patch already as per instructions from https://www.carehart.org/blog/2023/10/10/solving_problems_applying_latest_cf_updates Any help is appreciated, thank you.
When I took over the care of a CF intranet site, the Google chart API was being used to generate QR codes that are on employee badges; this won't be working for much longer and I need to find a replacement. <cfimage source="#myImage#" destination="c:/workgroups/webdata/badgecards/#BadgPhotoName#" action="write" overwrite="Yes"> <cfhttp url="https://chart.apis.google.com/chart?chs=160x160&cht=qr&chl=#urlencodedformat('http://www.ohrc.org/binkley/BadgeCard/PDFs/#Replace(BadgPhotoName,'.jpg','.pdf','All')#')#&chld=H|0" result="qrcode" getasbinary="yes"> <cfimage action="write" destination="c:/workgroups/webdata/badgecards/qr/#Replace(BadgPhotoName,'.jpg','.png','All')#" source="#qrcode.filecontent#" overwrite="yes"> This is what the code looks like I found a new generator, but I haven't been able to get it to work correctly. The generator that I was looking at is goqr.me/api,
We have an old but important website that we are in the process of bringing into the 21st century. The front-end is IIS with multiple backend servers including Cold Fusion and a standalone Tomcat 8.5 running with java 7 on Linux. This configuration is working fine with the current configuration using Cold Fusion 9 and the corresponding isapi_redirect.dll provided with CF9.As soon as we upgrade to anything newer than CF9, connections to the standalone Tomcat servers through isapi_redirect start to fail. Packet captures seem to indicate that there is significantly more data being sent to AJP from the newer isapi_redirect than before. We have tried using all versions of isapi_redirect from Adobe newer than CF9 and they all fail to talk nice to a tomcat server. Alternatively, if we use the isapi_redirect from the apache foundation, tomcat works, but Cold Fusion fails.It certainly appears that Adobe has made customizations to their version of isapi_redirect that are incompatible with standa
Anyone here running an application using Fusebox4 on ColdFusion 2023? I have just installed ColdFusion 2023 (Update 7) on a new server and i'm trying to migrate my existing application that is currently running on a ColdFusion 2016 on the Fusebox 4 framework. I'm running into an issue where my application variables that I am setting are not being set/available. My first thought was the scope issue seen in Update 7 but I don't think so because the error message contains the application scope. I think the Fusebox4 preProcess plugins are not loading. In these plugins I setup the application variables. Error Received: Element SYSTEM is undefined in APPLICATION.The error occurred in //nagennas02/ColdFusion2023/mdocftest/gms/Application.cfc: line 198196 : </cfsavecontent>197 :198 : <cflog file="#application.system#" text="#arguments.exception.message#">199 :200 :Stack Traceat cfApplication2ecfc884102023$funcONERR
We're currently observing Daylight Saving Time in the UK, so local time is UTC +01:00 (as opposed to UTC +00:00). When a ColdFusion datetime is output to the page, no UTC offset is displayed, leading me to assume it didn't account for them. The code below shows local time and UTC as being 1 hour apart (18:10 and 17:10 respectively), but DateCompare() insists both datetimes are the same, which is only true if each datetime's UTC offset is considered in the comparison. Are ColdFusion datetimes stored with a UTC offset? If so, is there any way to access it? Thanks. P.S. No ColdFusion option in Insert Code Sample. Seriously?!? <cfset now = now()> <cfset utcNow = dateConvert("local2utc", now)> <cfoutput> now: #now#<br> utcNow: #utcNow#<br> dateCompare(now, utcNow): #dateCompare(now, utcNow)#<br> </cfoutput> <cfdump var="#GetTimeZoneInfo()#"> now: {ts '2024-04-15 18:10:24'}utcNow: {ts '2024-04-15 17:10:24'
Hello,I have installed Coldfusion 2023 Performance Monitoring Toolset with the default settings in drive C in a Windows 2022 Standard Server. The drive is becoming full, so I would like to move the Datastore to a different drive. How can I move the PMT datastore to a different Windows drive ? Alberto S.
We have recently upgraded our test server from ColdFusion 8 Enterprise server to ColdFusion 10 64-bit Enterprise server, running IIS 7.5 on a Windows 2008 R2 server. We left the CF 8 install in place while we upgraded to CF 10. CF 10 installed without any errors and our CF 10 websites are working properly. It is fully patched to Update 11. There is one function on one of the websites that was written in JSP and worked fine in CF 8. Any call to a JSP template in CF 10 renders a 404 error, when the file is clearly available in the file system.The proper handler mappings and MIME types appear to be in place in IIS. Attached is a portion of the ISAPI_redirect.log, which includes the debug information. The 404 error appears at the end of the log excerpt. I've replaced the server name and IP address with SERVER NAME and IP ADDRESS in the log below.I have not uninstalled CF 8 at this point, but considering it as a last resort to try to install a
Hi, I am getting the error below when trying to install on windows 11 Unable to Launch Java ApplicationThe properties files is missing an essentail property file: lax.main.classPlease make sure it exists in the properties file C:/1713185448/windows/adobe_cf1.lax I do NOT see the file adobe_cf1.lax in the folder I unzipped to (see screenshot)
i am trying to use jmx exporter in my coldfusion 2021, i have added to the jvm args like this -javaagent:{application.home}/jmx/jmx.jar=9101:{application.home}/jmx/config.yamlit works fine in an standalone ubuntu server, i can see the metrics exported at port 9101, but when i do the same inside docker container it give me error """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513) at java.instrument/sun.instrument.Ins
When I clear the template or component cache, the changes I made in the respective files are not showing. Upon inspecting the page, I see the following:
Uncaught SyntaxError: parseJSON (at cfajax.js:889:7)at Object.decode (cfajax.js:889:7)at $X.processResponse (cfajax.js:571:24)at $X.callback (cfajax.js:536:13)at _7ef (cfajax.js:522:4)at $A.callback (cfajax.js:179:1)at req.onreadystatechange (cfajax.js:131:4)Code at line-889:- throw new SyntaxError("parseJSON");
I am running the official Docker Coldfusion Container:eaps-docker-coldfusion.bintray.io/cf/coldfusion:latest When I try to create a PDF using <CFDOCUMENT>, I receive the following error message.I know that lucee had some problems with this based on the Java version, but I assumed that the official image/container would work. Here is the code block it works great on the exact same version of ColdFusion installed locally. <cfdocument format="pdf" scale="#URL.scale#"> <cfoutput>#cfhttp.filecontent#</cfoutput> </cfdocument> Thank you
I recently upgraded from ColdFusion 2018 (CF2018) to ColdFusion 2023 (CF2023). However, I've encountered an issue where I'm unable to download files within the new version. Despite completing the upgrade process, attempts to initiate file downloads are failing.Message The requested resource [/path/file_name.csv] is not availableDescription The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Base.cfc: component accessors="true" { public string function getFilterSql(required array filter) { ... filter["operator"] ?: "" //null-exception ... filter.operator ?: "" //null-exception ... isDefined('filter.operator') ? filter.operator : "" //works } Comp.cfc:component extends="Base" rest="true" produces="application/json" restpath="xyz" { remote struct function getX() httpMethod="GET" { var filterSql = getFilterSql(filters); } }When I copy the function from Base.cfc into Comp.cfc ELVIS is working as it is suppose to.Thank you in advance!
Hello All, I am facing weird issue with our application, I have included one component using cfinclude tag in one of the cfm file.Sometimes, my file runs file and includes component successfully but sometimes it gives error "The system cannot find the path specified".It seems weird issue as sometimes cfinclude works fine and sometimes it doesn't. Please help if anyone have faced the similar issue before or have any comments/advise to give.Thanks in advance.
Hello team,I'm Neh Patel, Penetration tester and security researcher.Recenty i was conducting penetration test on a client's infrastructure where i got an old instance of Adobe ColdFusion. After conducting a thorough analysis, we've discerned several vulnerabilities within this instance, which we believe could potentially pose significant security risks.- CVE-2023-38205 - Access Control Bypass ( Bypass of CVE-2023-29298 )- CVE-2024-20767 - Local File Read## A little introduction about above CVEs### Part 1 :- CVE-2023-38205As you know, When a request originates from an external IP address that is not present in the allow list, access to the requested resource is blocked Example : when you attempt to perform a remote method call wizardHash on the /CFIDE/wizards/common/utils.cfc endpoint from IP which is not in allowed list , the request fails due to the access control being in place CVE-2023-38205 allows an unauthenticated user/attacker to by
In a recent penetration testing engagement with Henil Gandhi, we found an old instance of Adobe #ColdFusion. After conducting a thorough analysis, we've discerned several vulnerabilities within this instance.List of vulnerabilities which we got : - CVE-2023-38205 - Access Control Bypass ( Bypass of CVE-2023-29298 )- CVE-2024-20767 - Arbitrary file system read using an Improper Access ControlTo exploit CVE-2024-20767, we have to retrive "UUID" by sending a request to "CFIDE/adminapi/_servermanager/servermanager.cfc?method=getHeartBeat" endpoint.Now we were able to get that "UUID" from above endpoint and we have to use that "UUID" to send a request to "/pms?module=logging" endpoint ( where UUID will work like a cookie ).But we are unable to access that /pms endpoint because of access control ( which we bypassed in the case of "CFIDE/adminapi/_servermanager/servermanager.cfc?method=getHeartBeat" endpoint with the use of CVE-2023-38205.So need your help with
When I try to install ColdFusion 2023 on Ubuntu 20 in WSL or in a CentOS 7 VM with a GUI with "./ColdFusion_2023_GUI_WWEJ_linux64.bin -i silent", the installation fails with the following output:$ ./ColdFusion_2023_GUI_WWEJ_linux64.bin -i silent Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX) Stack Trace: java.lang.NumberFormatException: Cannot parse null string at java.base/java.lang.Integer.parseInt(Integer.java:630) at java.base/java.lang.Integer.parseInt(Integer.java:786) at com.macromedia.ia.common.InstallCompleteUtils.setupVariables(InstallCompleteUtils.java:137) at com.macromedia.ia.common.InstallCompleteUtils.init(InstallCompleteUtils.java:45) at com.macromedia.ia.console.InstallCompleteConsole.<init>(InstallCompleteConsole.java:19) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.inter
Hi - I am new to this forum and while I have asked about this as a response to a different two-year-old thread about neo-cron.xml, I worry that it will be harder to see there because it's off-topic.Overly simplifying a sequence of events and intentionally eliding full backstory (for now at least), the long and short of it is that I am looking for a CF2021 copy of neo-query.xml because of an error I received (which I can't quote now because a hasty reversion to a pre-update snapshot removed the log entries containing it) which according to references I consulted at the time seemed to indicate a problem with neo-query.xml. I looked and did not find one. The sequence of events that brought me to that point seemed also to have put some binary into my neo-datasource.xml file. I would like to know if I should have a neo-query.xml file in CF2021 hf 11 and if so, where I could find a copy. (Charlie Arehart's normally extremely helpful archive of neo*.xml files does not have a version of t
Hi Everyone, I have a few dozen scheduled tasks on CF2023 and windows server 2022, with IIS 10 . Some run every minute, some daily, some weekly. They all run fine during the day and act as expected. But every night at midnight all but one of them (an hourly one) stops running. I cant find any errors in any of the logs, the scheduler log only shows the one that does run being triggered. The others just stop at 00:00 and start up again at 06:00. Here is an except from the scheduler log:"Information","DefaultQuartzScheduler_Worker-2","11/12/23","23:58:45","","Task default.AMHS Track Monitor triggered.""Information","DefaultQuartzScheduler_Worker-6","11/12/23","23:59:00","","Task Monitor.AMHS Status Monitor triggered.""Information","DefaultQuartzScheduler_Worker-7","11/12/23","23:59:30","","Task Monitor.AMHS Monitor - Track Monitor triggered.""Information","DefaultQuartzScheduler_Worker-4","11/13/23","00:00:00","","Task default.Pluto Lot Tracker triggered.""Information","DefaultQ
I'm trying to dockerize my ColdFusion developent environment, currently, we use RDP for development but I want do it in a local container. has anyone tried setting up SSL with the official adobe ColdFusion image on docker locally?
I am trying to move a site that was on CF11 to CF2021 and there is an issue with moving the POI portion which creates excel files to CF2021. The first thing I did look for is to find the version of POI on CF11 (which is 3.12) and the version of POI on CF2021 (Which is 3.17). The code that is giving me trouble revolves around coloring the foreground of cells.First the workbook is created: <cfset wb = createObject("java","org.apache.poi.hssf.usermodel.HSSFWorkbook").init()/><cfset fontRedUnderlineBold = wb.createFont()><cfset fontRedUnderlineBold.setColor(createObject("java","org.apache.poi.hssf.util.HSSFColor$RED").getIndex())><cfset fontRedUnderlineBold.setUnderline(1)><cfset fontRedUnderlineBold.setBold(true)> <cfset cellStyleCurrency = wb.createCellStyle()/><cfset cellStyleCurrency.setDataFormat(createObject("java","org.apache.poi.hssf.usermodel.HSSFDataFormat").getBuiltinFormat("($##,####0.00_);[Red]($##,####0.00)"))/>&l
Greetings all!In CF 4.51 the following validation code:"<INPUT TYPE="hidden" NAME="minPermSal_range" VALUE="MAX=999999;MIN=10000">"Produced the server side response if your field entry was invalid:*********************************************Form Entries Incomplete or InvalidOne or more problems exist with the data you have entered.The value entered for the Minpermsal field must be between 10000 and 999999 (your entry was 5).Use the Back button on your web browser to return to the previous page and correct the listed problems.*******************************************In CF2023 we get:*********************************************Form entries are incomplete or invalid."<ul><li>The range for the MINPERMSAL field ('5') must have numeric values. </li></ul> Go <a href="javascript&colon;history.back()">back</a> and correct the problem."***********************************To begin with the validation message is incorrect the field in question is de
I am running CF2023 on IIS (moving from an older version of CF). When I run the configuration tool, it adds two types things to IIS (several handler mappings and an ISAPI filter). My question is about purpose/necessity the ISAPI filter. If I remove it, everything seems to continue working as it should. Let me explain why I want to remove it. The presence that ISAPI filter changes how 404 errors are handled. When it is not present, all 404 errors are handled by IIS. When it is present, however, CF handles the .cfm 404s and IIS handles the rest. I am concerned aboout this for two reasons: (1) I leverage 404 pages to do my own, in application URL rewrites. IIS sees the 404, passes it to a template of my choosing, and I then process the cgi.query_string that is passed in. I can, for example, call a URL that uses a slug (like wordpress does). My 404 processor checks the slug against the database and calls the proper
Using coldfusion 10.Have a page which import data from a txt file to database. It was reading and importing perfectly earlier. Recently, it is showing request timeout after 10 minutes. Records expected to process was around twenty thousand. File had no changes, so is that happening due to any server settings configuration changes?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.