Enabling Leading Wildcard Search In Coldfusion

In the current version of Solr supported by Coldfusion, leading wildcard search is not supported by default. A ’*’ as the leading character in a search will not work.  For example this code : <cfsearch collection=”new” name=”x” criteria=”*title*” categorytree=”books/history/english”> Will throw an error : There was a problem while attempting to perform a search. Error executing query : org.apache.lucene.queryParser.ParseException: Cannot parse ‘*title*’: ‘*’ or ‘?’ not allowed as first character in WildcardQuery   Workaround for this is to tweak schema.xm […]

Application datasources in ColdFusion

Reproduced from original post here. Datasources in ColdFusion have always been defined either in CFAdmin or through Admin API. This made it difficult for applications to be portable across ColdFusion servers. CF11 brings application specific datasources to ColdFusion. With this, applications can register their own datasources (when they start) without messing with the server-wide datasources defined in CFAdmin. The datasource details can be defined in Application.cfc Syntax:- ———— this.datasources.derbyds={ driver=”Apache Derby Embedded”, database= “C:/dev/ColdFusion/cf_main/cfusion/db/artgallery/”}; this.datasources.dsn1={“database”=”regression”,”host”=”localhostMSSQL2008″, “driver”=”MSSQLServer”, “username”=”sa”, “password”=”password”}; this.datasources.dsn2={“driver”=”MSSQLServer”, url=”jdbc:macromedia:sqlserver://localhostMSSQL2008; […]

Workaround for ajax cfgrid bug in CF11 in which ajaxonload() is not working properly

In coldfusion 11 release there is an open bug in which if you try to use any ColdFusion.grid related function in a function that is called by ajaxOnLoad, the grid object will not be available.  A grid will load properly, but when the javascript function is called with AjaxOnLoad and  function tries to reference the grid, you will get that the reference is “undefined”. This is a sample code : <html>     <head>        <title>AjaxOnLoad test</title>      […]

ColdFusion Builder 3 automatic updates notification and installation

With ColdFusion Builder 3 we have implemented automatic updates feature to be in-line with Eclipse update mechanism. In case of ColdFusion Builder 3 standalone installation:- With this, if there is any update to ColdFusion Builder 3, you will receive a notification at the bottom right corner of Builder. You can click on that and install the updates. With this mechanism only the changed plugins are pulled and installed on top of your Builder installation. And this is always a cumulative […]

Troubleshooting ColdFusion Admin Login Issue

We have seen some cases where the user is trying to login to ColdFusion administrator console and CF keeps throwing login page again and again even though user has provided valid credentials. We heard users tried doing something like password reset, restarting the server which even didn’t helped solving the issue. So we were curious to find what causing this issue and will discuss some of the issues we came across that occur when attempting to log into the administrator console. […]

ColdFusion 11 Silent Installation Properties

Silent instllation properties are updated for ColdFusion 11. You can download the properties file here Create a new directory and place the installer and the properties files there. Please make sure to update the usernames/passwords/and flip the different feature flags as per your requirement. ‘cd’ to the newly created directory where the installer and properties files are placed. Command to run the silent installation from the terminal is(Change it as per the Installer name). >ColdFusion_11_WWEJ_win64.exe -f silent.properties Please make sure […]

ColdFusion 11 AMIs now available on Amazon EC2

The new ColdFusion 11 AMIs for Windows and Linux are now available on AWS Marketplace for purchase. We now have support for not only the existing instances supported for ColdFusion 10 AMI (m1.large and m1.xlarge), but also all the Amazon EC2 insances for M3, C3 and R3. There is also 31 day trial for both the AMIs. You may also chose to pay a discounted annual price for the AMI. Here is the link on adobe.com for the new ColdFusion […]

ColdFusion Builder 3 Mandatory Update Release

  There is a mandatory update released for ColdFusion Builder 3 that resolves the ‘Update URL Issue’ that prevents your copy of ColdFusion Builder from downloading and installing the updates from our server.   If you have installed ColdFusion Builder 3 as a standalone application by using the installer that you have downloaded between April 25 and May 25, you need to apply this patch. The build number that was released on April 25th 2014  ->  3.0.0.289860 The build number […]

ColdFusion 11 IIS Connector Tuning

Connector tuning is an essential part of setting up a ColdFusion server. There are various configurations in connector that needs to be tuned. Incorrect values may lead to “Service Unavailable” or “Server too busy”. In this blog, we will discuss how to handle such errors caused by incorrect tuning and how to tune the connectors for the site correctly.

Announcing the launch of ColdFusion 11 and ColdFusion Builder 3

We are excited to announce that the next versions of ColdFusion Server and ColdFusion Builder are now live and available.  Thanks to everyone from the ColdFusion community who has contributed to this release in terms of constant feedback and support.  Here are some of the highlights of ColdFusion 11 and ColdFusion Builder 3: Mobile Application Development Workflow ColdFusion 11 along with ColdFusion Builder 3 gives you a unique end-to-end workflow for mobile application development addressing the challenges associated with building, testing, […]

Language Enhancements in ColdFusion Splendor – Promoting built-in CF function to first class

A while ago I started a series of blog posts on Language Enhancements in ColdFusion Splendor and today, taking it forward, I am going to write about built-in ColdFusion functions being promoted to first class objects. A first class object is the one which could be passed as an argument to a function call, assigned to a variable or returned as a result of a function invocation. So by promoting built-in functions to first class objects, you will be able to […]

Adobe ColdFusion Summit 2014

We are pleased to officially announce the next Adobe ColdFusion Summit to be held October 16th and 17th at Aria Resort & Casino, Las Vegas, Nevada.  It’s going to be even better than last year and pricing remains very low at $299 early bird rate through July!