An error occurred while copying the file from the source in ColdFusion 2021 after applying Lockdown

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.

Register remote server instances and enable cluster for load balancing and failover

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 […]

Configuring Jetty on HTTPS in CF2018

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 […]

How to configure DSN using service name for Oracle 12c RAC in CF2016?

You may come across a situation where you need to set up a DSN for Oracle database(RAC) using service name instead of SID. In such scenario, you could use JDBC connection string to define the DSN. In this article, we will see how to set up DSN using service name in two simple steps. Log in to CF admin page -> Navigate to Data Sources-> Create a new DSN -> Select “Other” as  driver. Specify the following settings: jdbc:macromedia:oracle://hostname:port;ServiceName=servicename;AlternateServers=(alternatehostname:port);ConnectionRetryCount=2; ConnectionRetryDelay=5 […]

Configuring connectors with Apache Virtual Hosts in ColdFusion (2016 release)

ColdFusion (2016 release) has a webserver configuration tool for creating connectors with external web servers. These connectors work with Apache and IIS webservers. You can create one single connector (ALL) to run with all your websites or create individual connectors (ALL-Individually) for each website. We have seen scenarios, where users use “Virtual Host” to run multiple websites on a single server, in Apache.

In this blog, we will see, how to configure ColdFusion connector to work with multiple Virtual hosts in Apache and map the virtual hosts with individual instance of ColdFusion.