Deeper insights into ColdFusion logging mechanisms

September 16, 2014 / HariKrishna Kallae

  Administrator | Adobe ColdFusion | Adobe ColdFusion 10 | Adobe ColdFusion 11 | ColdFusion 11

In ColdFusion, you can use ColdFusion Administrator for changing your logging properties under Debugging & Logging > Logging Settings :

  1. Log location
  2. Maximum file size
  3. Maximum number of archives
  4. Requests taking longer time
  5. CORBA calls
  6. Logging for scheduled tasks
A detailed insight into each of this is available at http://hkallae.wordpress.com/2014/09/15/deeper-insights-into-coldfusion-logging-mechanisms/


How to change/upgrade JDK version of ColdFusion server

September 16, 2014 / Nimit Sharma

  Adobe ColdFusion | ColdFusion | General

This post is from my personal blog nimitsharma.wordpress.com

 

In this post, we discuss how to upgrade the latest minor version of JDK(Java Development Kit) of the ColdFusion server. ColdFusion can run only on top of JDK or JRE with Server VM. Oracle also started providing separate download link for JRE and Server JRE. ColdFusion only works with JDK or Server JRE and not with Client JRE [For more details refer article].

 
There are two ways to change the JDK or Server JRE of the ColdFusion server:
 
  1. Using ColdFusion administrator console.
  2. By changing the JDK or Server JRE path from the jvm.config file.
 
1. Using ColdFusion administrator console.
 
 
2. By changing the JDK or Server JRE path from the jvm.config file



Important Note:

  • It is not recommended to change the JDK version on the production servers without any prior testing in the staging environment.
  • Any SSL certificates added to the previous JDK will also need to be re-added to the new JDK(cacerts) file.

Speed and performance for fans of speed and performance

September 04, 2014 / Kishore Balakrishnan

  Adobe ColdFusion | CF Summit

As specialists in tuning web applications for maximum performance, developers at Webapper understand the expectations of a client such as RACERSITES, a leading designer, developer, and content manager for many of the top brands in motor sports. Websites for some of racing’s biggest events, such as the Grand Prix of Monaco, the Indianapolis 500, and the Coca-Cola 600, may experience traffic spikes up to 4,000% on race days. To keep race fans satisfied, Webapper leveraged Adobe ColdFusion to remove application bottlenecks and combined it with Amazon cloud services for scalability.

ColdFusion has great performance metrics monitoring capabilities,” says Patrick Quinn, co-founder and chief technology officer at Webapper. “Based on data from many years of racing events, we were able to deliver data to the Amazon engineers so they could implement pre-warming strategies that would anticipate and handle previously unforgiving traffic peaks on race days.

Before migrating to the cloud, as many as four ColdFusion servers labored to answer up to 50 requests per second. By combining extensive bottleneck analysis and tuning inside the new elastic hosting structure, the team was able to keep request levels on each server below 20 requests per second by handling large volumes with as many as eight ColdFusion servers at peak, plus an active/passive Microsoft SQL Server database cluster. http://adobe.ly/1r9hULg

You could also get to hear from Patrick at ColdFusion Summit on October 16-17 in Las Vegas.

 


Innovation to solve business problems

August 19, 2014 / Kishore Balakrishnan

  Adobe ColdFusion | customers

As a provider of IT solutions to government and private organizations, Digicon leverages Adobe ColdFusion to give itself a unique competitive advantage. Specifically, Digicon uses ColdFusion to build modules for internal implementation, then rapidly provision and host the results commercially.

 

Our ability to build applications in ColdFusion and quickly deliver them to customers gives us a huge advantage over competitors who use other development environments,” says Mark DeLaney, senior application developer at Digicon.

 

Successful projects include a youth summer job program in which Digicon replaced 50 paper forms with a new digital application system. The web-based system can be used on smartphones, tablets, and even video game consoles, which encourages greater participation from youth, as well as employers. To date, nearly 5,200 jobs have been filled, which has had a significant impact on meeting community needs. http://adobe.ly/1uTEQES

 


Enabling Leading Wildcard Search In Coldfusion

August 19, 2014 / Uday Ogra

  Solr

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 of the collection and add ReversedWildcardFilterFactory  filter.

To enable "*criteria*" kinda search go to schema.xml file of the corresponding collection and add this filter to fieldtype with name "text"

<filter class="solr.ReversedWildcardFilterFactory" withOriginal="true"

             maxPosAsterisk="2" maxPosQuestion="1" minTrailing="2" maxFractionAsterisk="0"/>

And restart you solr.

But do remember that Using ReversedWildcardFilterFactory will double the size of your dictionary (more or less), maybe drop in performance. So use it only if it is really required by your application

 


Blue Mango Theme Design By Mark Aplet

Super Powered by Mango Blog