There may be instances where you need to install updates on a ColdFusion server that isn’t connected to the internet, or you’re facing difficulties installing updates through the ColdFusion Administrator page despite having an internet connection. In such cases, knowing how to manually install updates and packages is essential. This guide will walk you through a simple and efficient method to manually install ColdFusion updates and upgrade packages in an offline or online environment. Although the steps outlined here are […]
When configuring a Microsoft SQL Server database with Windows authentication in ColdFusion, you might initially assume that it’s as simple as entering the DOMAIN\USERNAME in the username field and saving it. However, there are several additional steps required to successfully configure the Data Source Name (DSN) in the ColdFusion Administrator. This blog will show how to configure the MS SQL DB with Windows authentication in ColdFusion. 1. Ensure the Windows user has the necessary permissions on the database and ColdFusion […]
The ColdFusion API Manager typically comes with default Java versions (1.8.0_112 and 1.8.0_361). However, you may need to upgrade these versions. Since the ColdFusion API Manager is certified only with JDK 1.8 (at the time of writing this blog), we will download the latest JDK 1.8 version available on the Adobe Download page. Step 1: Download the JDK 1.8u421 from the Adobe ColdFusion Downloads page and install it. Step 2: In Linux, edit the “apimanager” script located at /opt/coldfusion2023apimanager/bin, change […]
The ColdFusion comes with the default Webroot(\<cf_home>\cfusion\wwwroot); however, there are situations where you may need to customize this Webroot directory and point it to a different folder. This blog will walk you through configuring a custom Webroot directory in ColdFusion. Step 1: Take a backup of the existing server.xml file in the (\<cf_home>\cfusion\runtime\conf) directory. This ensures that you can revert to the original configuration if needed. Step 2: Open the server.xml file in a text editor and navigate to the […]
You may have encountered a scenario where the PDFg service fails after running the migration wizard in ColdFusion and may have noticed the below error message in the logs. Getting Started: [Thread-12] – Error in setting up authentication for PDFg services. at coldfusion.document.PDFgCryptoUtils.processCipherWork(PDFgCryptoUtils.java:482) at coldfusion.document.PDFgCryptoUtils.decrypt(PDFgCryptoUtils.java:376) at coldfusion.document.PDFgCryptoUtils.decrypt(PDFgCryptoUtils.java:195) An easy way to fix this is by copying the “seed.properties” and .prikey from the “lib” folder( \ColdFusionxxx\cfusion\lib ) of the old install and replacing them on the new install. Please ensure you […]
Sometimes, there are instances where you might need to customize the default Solr configuration, such as changing the default Solr home path. This blog will guide you through the process of changing the Solr home path in ColdFusion to a custom location. 1. Copy the entire “multicore” folder from the default install(\ColdFusion2023\cfusion\jetty\multicore) to the custom folder, say for example C:\collections\multicore. 2. Go to the ColdFusion admin page, find the Solr server settings, and update the path to point to your […]
Setting up a cluster in ColdFusion can significantly enhance application scalability and reliability. However, administrators may encounter an error during the cluster creation process in the Red Hat Enterprise Linux (RHEL)-based operating system if ColdFusion lacks permission to read the IP list from the system hosts file. This article addresses the issue where ColdFusion instances within the cluster automatically stop upon restart, accompanied by specific errors in the coldfusion-error.log file. We will explore the cause of this error and provide […]
ColdFusion provides a built-in logging system to help you track and troubleshoot application issues. The logging system generates various log files, including the coldfusion-out.log file, which logs standard output and errors. However, if left unmanaged, the coldfusion-out.log file can grow very large and consume a lot of disk space. In addition, it can become difficult to find relevant log entries in a large log file. Therefore, it is important to manage the coldfusion-out.log file and implement log rotation to keep […]
If you’re using ColdFusion 2021 and above, you’ll be happy to know that the latest versions of ColdFusion offer built-in support for multiSubnetFailover. This means you can configure your Microsoft SQL database connections to failover quickly and efficiently, with minimal impact on your applications and users. Below are the simple steps: Step 1: Log in to ColdFusion Administrator and navigate to the Data & Services > Data Sources page. Choose “Other” as the driver type and Enter a name for […]
Sometimes, we may encounter issues with file uploads after applying the Lockdown on ColdFusion installs. This error may occur when we are trying to upload files to the Webroot location; the reason behind it is the Lockdown installer will remove write permission for the service account on the Webroot, and any attempts to upload the file to Webroot will throw an error. The solution is to change Webroot’s permission to allow writing, modification, or execution per the application requirements.
ColdFusion provides cluster support if it is installed with Enterprise license, Trial, or Developer edition. Clustering is a process of grouping of two or more instances of ColdFusion servers for better performance, load balancing, and failover. In this blog, we’ll see how to configure a horizontal cluster by adding remote instances and create connector using webserver configuration tool. We will be using two ColdFusion 2021 local instances (from server A) and two remote instances (from server B ) to create […]
In this blog, we’ll learn how to configure Jetty on SSL using self-signed certificate created by a key tool. To configure Jetty on SSL, follow the steps below: Step 1: Generate a private key in a KeyStore file. Provide the details when it is prompted. cfroot\jre\bin\keytool -genkeypair -alias certificatekey -keyalg RSA validity 365 -keystore keystore.jks Step 2: Export the certificate using the self-signed certificate. Note: You can use a self-signed certificate or a certificate from a Certificate Authority. cfroot\jre\bin\keytool -export […]