Photos from Flume Gorge in Franconia Notch, White Mountains

CLICK FOR PHOTOSHere are a few photos from Flume Gorge in Franconia Notch, White Mountains National Forest in New Hamphshire. Its just a small mixed collection of extras taken between 1999 and 2002.

Configuring a Different Xalan.jar in ColdFusion MX 6.1

ColdFusion MX's functionality for parsing and transforming XML documents, such as XMLParse() and XMLTransform(), is handled under the hood by Apache's Crimson and Xalan implementations, respectively.

Since Crimson is generally retired in favor of Xerces as the choice of XML Parsers, you may wish to download Xerces jar into the CF classpath (WEB-INF/lib) for programmatic access as a java object in your CFML.


From the Archive: CFUN02 Trivia Questions for CFJeopardy

Previously this year I posted the questions used in the CFUN03 ColdFusion User Conference gameshow CF Celebrity Squares. The annual CFUN conference is organized and sponsored by TeraTech's Michael Smith, and Michael proposed that I develop the questions to use for the gameshow portion of the conference.

Today, I just happen to dig up the questions from the previous year's gameshow CFJeopardy, held at CFUN02. You can play the game here, or just have a look at the questions and answers below:


CF5/4.5 Wizard to Crack Lost Datasource Username and Passwords

This small wizard will crack all the username and password combinations for all ColdFusion 5 and 4.5x datasources and return them in clear text. It uses a brute force approach by simply trying all possible patterns for passwords up to 16 characters by default (modifiable) having characters from ASCI 33 to 126, which includes the alphanumeric range. It requires that the CFREGISTRY tag is enabled.

I wrote it for someone that had lost their passwords after someone else left the company and trashed all the records the company had regarding the CFAdmin settings.


It really is a snap with Snap Gallery

Madrid 1998-1999

This weekend I launched my first incarnation of a Snap Gallery photo organizer/slideshow. Snap Gallery is an open source wizard that allows you to build a nicely polished, customizable photo gallery with very little effort. I'd first seen this on Aaron Johnson's blog and I really liked it. I had been rolling my own version of a photo wizard, but with time constraints it wasn't as nice as I hoped. SnapGallery is perfect.

The wizard script runs on your desktop when you build the gallery, where it finds the photos in the directory you point it to, walks you through each photo while you create a title and caption, and then generates the appropriate web files that are saved along side the photos. Then all you need to do is upload the photos and web files to their final destination on the web. The wizard script runs on Windows, but the web files it produces are compatible for Linux and Windows.

In my case, I downloaded the zipped snapGallery.wmf file and then edited it to default to certain colors and fonts, which the comments in the script prompt you to do. I then made additional edits to wizard that changed the size of the windows used during the wizard (they were too small for me), changed the default document type to index.cfm (ColdFusion), and then changed the generated html to add a banner and even some CFML. The CFML includes a footer at runtime so that if I choose I can customize the footer and it will automatically be reflected in each of the snapGallery web files.

So, check out my first Snap Gallery!

Easy To Use Script To Build CFMX Apache Connector Module From Source

While running some tests that required building the CFMX Apache connector module from source I became rather weary of typing out all the instructions again and again as I repeated the test. So I decided to write a little script that does it all for me to save time and typing. You can download it here.
The script is intended for Linux, although it may run on Solaris, I haven't tested that. Do not edit the file on Windows if you plan to use it on Linux/Unix.


Application server is busy, PROXY_BUSY, JRun too busy

This blog entry will attempt to describe the symptoms and likely causes of a collection of error messages often found to occur together in a given context.


[Browser Error Message, CFMX 6.0]:

Server Error
The server encountered an internal error and was unable to complete your request.
Too many concurrent requests, jcp.endpoint.main.max.threads exceeded.

[Browser Error Message, CFMX 6.1]:
Server Error
The server encountered an internal error and was unable to complete your request.
Application server is busy. Either there are too many concurrent requests or the server is still starting up.

Here, the error message changed between CFMX 6.0 and CFMX 6.1 to be somewhat more accurate regarding the cause. Essentially, there are three possible conditions in which you can get either of these errors.


Help! My ColdFusion MX Server is Slow!!!!

Determining Root Cause for Slow Application

I've often seen ColdFusion users complain that their server/application is running very slowly, not handling requests as fast as normal, or just plain "hung". Many would suggest examining log files to determine the status and recent history of the ColdFusion server in order to find clues that might reveal what the server was actually doing. While this troubleshooting step can be useful, it can only get you so far.


Previous Entries