The official community for ColdFusion.
Recently active
Hello, Is the online video curriculum for the Adobe CF Specialist certification/coursework from a few years ago the same online video curriculum that is used with the newer Adobe Certified Professional: Adobe ColdFusion? I've purchased both expecting an update, on the videos but am told both certifications use the same video curriculum. I'm not complaining - Damien and Nolan's videos are great - but I was expecting some updates to reflect new versions of ColdFusion. Thanks.
I am creating a new thread for this question so someone else in the community might be able to easily find it.I have searched far and wide and have discovered that CF 2023 supports a solr function that did not exist in CF 4.51.I finally found this on Quora.******************************You can connect Solr with MS SQL Server by using the Solr Data Import Handler (DIH) and configuring it to fetch data from SQL Server. Here are the basic steps:Install and configure Solr on your server.Download the Microsoft JDBC driver for SQL Server.Copy the JDBC driver JAR file to the Solr server.Create a data source name (DSN) for the SQL Server database using the JDBC driver.Configure the Solr DIH to use the SQL Server DSN as a data source.Define the SQL queries that will fetch the data from the SQL Server database.Run a full import to fetch the data from SQL Server into Solr.Once the data is imported, you can use Solr to index and search the data.**********************************************I have
I have a running website and inside WEB-INF > lucee there is a folder called cfcclasses. In it, I got something like this: What for is this? How is it generated and is it required? As you can see I also got bellow 3 more folders with some context and library. I have no idea why this folder contains contact_us when it is no longer used.
I am locking down a new CF 2023 installation using the autolockdown application but am getting an error when I enter the administrator credentials which I have triple-checked as being correct. I saw another post in the Adobe community where the solution was to install some packages in the admin, but everything is already installed as I used the GUI installer. Log contents:2023-11-03 13:05:14 INFO - Path:C:\ColdFusion2023\lockdown\cfusion 2023-11-03 13:05:14 INFO - LINE_DEBUGGER_ENABLED -> null 2023-11-03 13:05:14 INFO - developer_enabled -> false 2023-11-03 13:05:14 INFO - REMOTE_INSPECTION_ENABLED -> null 2023-11-03 13:05:14 INFO - ajax_enabled -> false 2023-11-03 13:05:14 INFO - robust_enabled -> false 2023-11-03 13:05:14 INFO - FLASHFORMCOMPILEERRORS -> null 2023-11-03 13:05:14 INFO - enabled -> false 2023-11-03 13:05:16 INFO - ColdFusion is running 2023-11-03 13:05:21 INFO - Firewall status: Domain Profile Settings: ------------------------------
My client has the enterprise version of CF running on the live server - with the API manager running there.We developers run our own development editions of CF, and use change and source control to send the code live.However, the only version of API Manager we can find are trials - which stop running after 30 days.Is there a developer edition somewhere? How are we supposed to develop and test our potential changes to API Manager methods and functions outside the live service??Thanks in advance,Al Holden
I am trying to establish a LDAP connection (<cfldap>) from within a Docker image of Coldfusion 2021. It would be hard to post any relavent code here simply because it would expose our AD tree, however, the same code I am trying to run works just fine from an installed copy of CF2021 on a linux server.The reason for using a Docker image (vs. install) in this instance, is an attempt to setup a local development environment. So far, everything seems to be working great with the exception of LDAP calls. The error I'm getting:An error has occurred while trying to execute query :Could not resolve a valid ldap host Note: I have successfully run a ldapsearch call from a bash shell within the container.
I installed fresh version of CF2021 on Centos 7 to do some testing. I also installed mod_jk connectorsudo ./wsconfig -ws Apache -bin /usr/sbin/httpd -script /usr/sbin/apachectl -dir /etc/httpd/conf/ -v I noticed this file that was created: mod_jk_vhost.confI have not see that before for some reason, is this file purpose just to organize/separate mod_jk.confoptions or does it have some other purpose? In another words, do I have to use it in CF2021 Update 12? thanks
We are using JRE that came with ColdFusion 2021 on Centos 7 From CF admin settings:Java Version 11.0.7Java Vendor Oracle CorporationJava Vendor URL https://openjdk.java.net/Java Home /../coldfusion2021/jre Does JRE get the updates when the Coldfusion 2021 patches are applied (Update 1-12) or do the CF admins typically have to manually patch JRE?
I'm trying to use the scan command for cfpm (on a Windows machine). I have taken the following steps:Opened the command promptEntered the collowing command: c:\ColdFusion2021\cfusion\bin\cfpmAt the ensuing cfpm prompt entered the command: scan c:\path\to\applicationI get the following error message:Incorrect usage of scan command. It must be scan CODEBASEPATH CFSERVERURL. The "c:\path\to\application" is correct and exists. I am issuing the scan command from the cfpm prompt. Any suggestions why I am receiving this error would be helpful. Thanks
I'm tryinge to the function GeneratePKCE() from the object pkce but getting this :Could not find the ColdFusion component or interface utils.deps.pkce.pkce.Is a way to install this tool PKCE to Coldfusion?It must be used for authentication with openID.Thanks
I have a cfm page that list employees reporting to a manager. The manager can drill down on employee ID to see more info about the employee and can update some information. I set a session variable to capture the employee ID when manager selects a particular employee. Now if the same manager opens a second tab/window on the same browser and opens the same app select a second employee the session variable gets overwritten with the second employee ID. How can i keep the value of both session variables separate? Any help is highly appreciated. Thanks.
Why does the following code not throw an exception when timeout is exceeded?CF Admin "Timeout Requests after seconds" is checked and set to 2 seconds.<cftry> <cflock scope="application" type="exclusive" timeout="2" throwontimeout="yes"> <cfset sleep(3000)> </cflock> <cfcatch type="any"> <h1>My Exception</h1> <cfdump var="#cfcatch.type#"> <cfdump var="#cfcatch.Message#"> </cfcatch> </cftry>
Hi all,I have configure IIS with multiple .net applications and coldfusion sites.All are running under the same DefaultApplicationPool.I add a new coldfusion site an I Add Application with different Application Pool. Getting error:HTTP Error 403.18 - ForbiddenThe specified request cannot be processed in the application pool that is configured for this resource on the Web server.Most likely causes:An ISAPI filter or custom module changed the URL to run in a different application pool than the original URL.An ISAPI extension (or custom module) used ExecuteURL (or ExecuteRequest) to run in a different application pool than the original URL.You have a custom error page that is located in one application pool but is referenced by a Web site in another application pool. When the URL is processed, it is determined by IIS that that it should have been processed in the first application pool, not the other pool.The Web site has multiple applications configured. The application this request is c
I had to upgrade to a new computer, meaning everything started over (UGH!!!) I installed CF2023 and have been working through each problem I run into (hat tip to Dave Byers for helping me with SQL connection). Anyway, my most recent issue is that some stylesheets, not all which is perplexing, can't be found. They're in the folders, I've refreshed my cache, I've even re-downloaded files from the live server, but no change. Same with some images. I find ideas for older versions of CF, one talking about how it's IIS, but not being a server person, they're all greek to me. Any idea what might be causing this and how I can resolve it?
I assume that QueryGetResult is meant to be paired with QueryExecute, to get the same thing you would get from the result="..." attribute of <cfquery>. But the only thing I ever use that for is to get the generated_key after an insert, and that doesn't work because QueryExecute returns null on an insert, so I don't have an object I can pass to QueryGetResult. The author of the documentation page on QueryGetResult doesn't seem to be trying to explain what it's good for. There are just some apparently random examples of SELECT queries where the result object doesn't tell you anything new. There's a bug report (CF-4217809) about that documentation page already, from someone who had expectations very different from mine, but was also not helped by the short list of unmotivated examples. There are plenty of other ways to do a query and get a generated_key, so this isn't a major obstacle. I'm just wondering, am I not getting the right result because my environment (MySQL
Hi everyone.I'm attempting to prepopulate an IRS Form 1041 for a population. I am able to populate the text fields fine, but the checkboxes show as checked but when the form is saved the checked box doesn't persist.Private Sub Command8_Click() Dim FileNm As String Dim FileNm2 As String Dim aApp As Acrobat.AcroApp Dim aAVDoc As Acrobat.AcroAVDoc Dim aPDDoc As Acrobat.AcroPDDoc Dim JSO As Object 'There is no explicit class type for the JSObject FileNm = "\\its\fss\Plans\PEO-MEP\RichAnthony\EditPDF\IRS Form 1041_2023.pdf" FileNm2 = "\\its\fss\Plans\PEO-MEP\RichAnthony\EditPDF\1041_Reports2\" Set aApp = CreateObject("AcroExch.App") Set aAVDoc = CreateObject("AcroExch.AVDoc") If aAVDoc.Open(FileNm, "") Then Set aPDDoc = aAVDoc.GetPDDoc() Set JSO = aPDDoc.GetJSObject() 'Debugging - output all fields ' For i = 0 To JSO.numFields - 1 ' Set Field = JSO.getField(JSO.getNthFieldName(i)) ' Debug.Print i, Field.Name, Field.Value, Field.Type, F
After installing Update 2 for ColdFusion 2021, calls to cfreport with a .cfr template are erroring out with "Report compilation error." I can't see any other details. These reports have been working flawlessly for years. Any ideas how to resolve this?
I have installed coldfusion in my machine recently. The thing is that my cfm files are not recognising the classes of the linked style sheets though I have given the correct path of the location of css file. Also it couldn't recognise <img src=""> tag to display an image. Please help me out to solve this issue.
In ColdFusion (2021 release), you can now install only the services your application needs and nothing more. Modularisation lets you continuously integrate small pieces of code and deliver applications quickly and seamlessly. Modularization reduces the complexity of a system. More formally, we can define modularization as dividing any system into independent functional units to allow replacement and/or removal of these units. In Adobe ColdFusion (2021 release), you can install ColdFusion features as packages for a specific purpose. For example, you want to execute oracle database operations, you can install the oracle package. In this blog, I shall write about installing ColdFusion packages via command line: Interactively Non-interactively There is also a third way to instal packages, via the ColdFusion Administrator, which I shall discuss in a future blog. Start CFPM from command line Using the ColdFusion Package Manager (cfpm), you can inst
Hello All, Will try to document this without the wall of text that would fully explain everything. Anything seems unclear, please ask. Trying to save others from wasting some of the time I have. Been working on setting up some new production servers, with Windows Server 2022 Standard and Coldfusion 2021 standard. Following the hardening guide as posted on Adobe website. There are two main issues I have figured out, which may or may not be related under the hood. Part 1, installing CF2021 and updates:Installed with recommendations from the hardening guide, specifically removing all Sub-components and Servlets as recommended on page 9 of the hardening guide.Upon completion of the install, create a test SQL Server Datasource and test it works (relevant for part 2 below).Check package manager page in Administrator. Latest installer download as of yesterday is at updater 2 download Updater 11 (relevant for the fix of part 2 below) and Updater 12 from
Hello ColdFusion users, We are pleased to announce the availability of the updated ColdFusion Builder extension for Visual Studio Code. Highlights of the release ColdFusion Builder extension for Visual Studio code (update 2) (release date: January 16, 2024) contains dictionary support for the functions added in ColdFusion (2023 release), such as JWT, serialization, and XML. The update also contains a few bug fixes. Version information After installation, the new version is 1.0.507. Release notes View the release note for more information.
Am developing a site which is up & running with CF2023. It serves html pages just fine. However, cfm files produce the following error. Note: I do have an active mapping to the folder containg the code for the site. I would be very grateful for any suggestions. Thanks in advance.HTTP Error 404.3 - Not FoundThe page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.Most likely causes:It is possible that a handler mapping is missing. By default, the static file handler processes all content.The feature you are trying to use may not be installed.The appropriate MIME map is not enabled for the Web site or application. (Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or .config files.)If ASP.NET is not installed.
For PCI compliance reasons we need to restrict outbound access on some CF servers. From the license.log we can see that the domain required for activation is adobe.coldfusion.io . That's fine when internet access is enabled. What we would like to do (in AWS) is to effectively whitelist this 'domain' but AWS will only accept IP addresses, and as far as we can tell this domain uses dynamic IP's. Clearly this can all be worked around by our DevOps guys as and when required , but ideally we would have IAC code to handle this automatically so that newly built AMI servers do not require a manual patch to temporarily allow internet access to activation and then close it down, i.e. we would like a more 'permanent' solution.So the questions to the Adobe community: is there a known range of License activation IP's we could rely on (without having to do reverse lookup and figure it out on-the-fly) ? Or, has anyone else using AWS internet restricted serves encountered this and found an
Hi, i installed CF2023 on windows and apache 2.4.58I configured apache DocumentRoot and directory on c:/www and i test and work fine with virtual hosts with html pages.I configured the connector with "web server configuration tool" but don't run correctly. The configurator add correctly to httpd.conf Include "C:\Apache24\conf\mod_jk.conf"Include "C:\ColdFusion2023\config\wsconfig\1\mod_jk_vhost.conf" when i try to view a page, for example index.cfm I view the index file present in the directoryC:\ColdFusion2023\cfusion\wwwrootwhether you use the server's IP or a domain configured as virtual hoststhe mod_jk.log log doesn't give me any errorsI configured the connector with:appserverhost: localhostweb server propertiesconfig directory: I choose the right dirApache virtual host: I select "all"In Advanced i chose apache exe file where am I wrong or what should I do to make the connector work properly? Many thanksMarco
Hey, trying to setup CF 2023 / Java 17 to run properly on Kubernetes and while trying to setup jvm.config and setting -XX:MaxRAMPercentage=70 -XX:InitialRAMPercentage=70rather than something like-Xms1024m -Xmx1024mas it is much easier to manage regarding the pods memory requests, Service is starting just fine but the "Java and JVM" admin console is broken with errorElement JDKPATH is undefined in FORM. The specific sequence of files included or processed is: /opt/coldfusion/cfusion/wwwroot/CFIDE/administrator/settings/jvm.cfm, line: 227 My guess is that console is trying to read -Xms and -Xmx values in a non safe way and should fail gracefully or even better deal with XX:MaxRAMPercentage and XX:InitialRAMPercentage (and others).Also, would love to know if anybody has more experience on running CF 2023 in Kubernetes and some best practices for it. Really interested on Garbage Collection settings for example.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.