Blog

ColdFusion 9/10 Charting in Cluster
Tue, 29 Sep

If you have setup cluster and tried to use charting in ColdFusion 8/9/10, sometimes you would have received "Image Expired" message instead of showing the chart.

Charting engine runs into this problem for two reasons.

1. The scripts generated by the designer use indirect method for image retrieval, meaning that the image is
produced during page processing and is placed in cache to be retrieved by the browser.


After some period of time depending upon cache settings the image is destroyed. "Image Expired" message
tells you that the image requested by the browser is not in the server cache.

To fix this issue you might want
to change cache settings(webcharts3D.xml under cfusion\lib).

 

2) In some cases the reason is that one component is uesd to create the image, but another component is used to retrieve it.

In ColdFusion cluster's case exactly this is what it happens when sticky sessions are not enabled.

So, make sure that you enable sticky session so that the a particular request comes and is servered from the same server.

After enabling sticky session make sure to restart the web server and ColdFusion server.

 

Hope this is helpful.

 

ColdFusion documentation update
Tue, 29 Sep

ColdFusion documentation goes live at http://helpx.adobe.com/coldfusion/home.html 

For the last two years, we have had a wiki-based model for ColdFusion documentation, with some of the revered ColdFusion experts in the industry editing the documentation and helping us keep it fresh and up-to-date. I am sure a large number of us have benefited from meaningful code samples and other documentation input that ColdFusion community experts shared. We would like to thank each of our ColdFusion community experts for their involvement and selfless commitment. We would like to specifically shout out a BIG THANK YOU to Adam Cameron, Aaron Neff, Charlie Arehart, and Raymond Camden.  Not to forget, Dave Ferguson, Carl Von Stetten, Adam Tuttle, Peter Freitag, Steve Blades, Matt Dyer, Kev McCabe, Sam Farmer, Andrew Myers, Matt Busche, Nicholas Tunney, Ryan Guill and Steven Neiland for the value add they have provided.

However, we have had several issues with the wiki service and implementation, causing us to look for a better solution. Owing to this, we are constrained to move away from the wiki model temporarily. Having said that, please rest assured that we are diligently working toward evaluating various options and we will partner with ColdFusion community experts to set the right collaborative authoring process.

In the meantime, we most certainly want to continue seeking the expertise of ColdFusion community experts in adding value to ColdFusion documentation. We request you to continue interacting with us through https://forums.adobe.com/community/coldfusion/documentation. We will now closely monitor the forums threads and will update the documentation accordingly. You could also leave your feedback on every help page using the yellow ticker that says “Was this Helpful?”.  

comment ticker

We will review each comment that is posted using this ticker. You can also directly reach us at the email alias chl-cf@adobe.comWe are eager to continue our collaboration with you and hence we are making several means available for you to continue providing your valuable input.

We look forward to your continued support as we navigate through the temporary changes. Thank you once again for being so supportive of us in keeping ~4000 pages of ColdFusion documentation updated and useful to the community.

Sponsors and Adobe ColdFusion Summit 2015
Tue, 22 Sep

We want to give a shout out and a huge thank you to our initial Sponsors for Adobe ColdFusion Summit 2015!

It's an honor for us to have these partners represented at the largest Adobe developer conference.  They are both experts in the ColdFusion space and great to work with!

 

Intergral2015

Since the 90‘s, Intergral has been providing innovative products, enterprise scale software solutions and IT Services to thousands of customers across the globe. We are an established provider of Application Performance Monitoring (APM) and analysis tools with over 12,000 products sold to customers from all over the world. Our products reflect our technical expertise, high focus on usability, commitment to quality and complete attention to detail.



Foundeo 2015

Foundeo is a company based in Upstate New York that builds products for web developers and provides expert web consulting services.

Our goal at Foundeo is to provide easy to use software products and services that make your job easier.

 

At Media3, we don't sell cloud hosting. We help businesses and organizations buy it. What's the difference? A big one actually. 
When we help you buy cloud services, we listen carefully to what you have to say, we listen to what you want and your business needs, today and in the future. Then we make professional recommendations and help you find the right solution with the right budget. 
Honestly, patiently, and without pressure. 

 

If you're interested in sponsoring at this year's conference, please see the sponsorship page of the web site here: https://cfsummit.adobeevents.com/sponsors-coming-soon

AppAdmin is a simple app to manage your application settings. It lists all the Application level settings available, there current values, and whether the values have been explicitly set by user or not in Application.cfc.

It also supports editing these settings from the UI and the same are updated in actual Application.cfc. It also keeps a backup of Application.cfc when updating so the same can be used to revert back in case of any issues.

It supports both tag and script based CFML code, but there can be a few hidden issues J so do watch out for them.

The app is available on github. To install it you only need to copy to folder (say “appadmin”) inside your ColdFusion Application parallel to where the Application.cfc resides. Once copied just launch in using <your application url>/appadmin.

Here is a screenshot of app admin when delpoyed.

 

 

PS: make sure to keep your app admin URL behind authentication and not make it publically accessible.

 

Taking Thread Dumps from ColdFusion Server Programmatically
Tue, 11 Aug

Many times you would want to tweak the performance of the ColdFusion server or want to debug the bottlenecks that make the server unresponsive.

To analyze this, ideally you would want to have Thead dumps and Server memory snapshot(Heap Space, Eden Space, Survivor Space, Old Gen, Perm Gen).

While you can use JDK tools like jstack to get the dumps, it is tedious to install it and schedule the thread dumps.

So, programmatically thread dumps and memory snapshots are are triggered and can be configured as a scheduler task and can be triggered on-demand as well.

Download the following zip file and move it to the server where you want to take thread dumps.

 

threaddump.zip

This zip file contains two files. One is threaddump.jar file.

Place this file under: C:\ColdFusion11\cfusion\wwwroot\WEB-INF\lib\ and restart the server for it to load.

And the other file is the cfm file takethreaddump.cfm where the call to ThreadDump class is made and the path where the dump content should be written.

By default it is dumped to the file #GetTempDirectory()#/threaddump<Day>-<Month>-<Year>.log

(Depending on the server location it translates similar to C:\ColdFusion11\cfusion\runtime\work\Catalina\localhost\tmp\threaddump12-8-2015.log)

You can change this to any other convenient path in the cfm file.

You can call this cfm on-demand at point of time or configure a new scheduled task to schedule it at some interval.

More number of Thread dumps are more helpful for problem analysis. So, it is better to take at some interval.

On every new day, dump is rotated automatically to a new file name.