Tag Archives: java

Using ColdFusion to unzip a Gzip Base64 string

Here is a quick code snippet to allow us unzip a base64 string of gzipped data: Notice how I nested the calls, otherwise you end up with a bunch of use-once variables knocking around that you are just passing to … Continue reading

Posted in Uncategorized | Tagged , , , | 1 Comment

Getting OS and Version Information from ColdFusion

As in many cases like this, dropping into Java helps us get the job done: So for example, if I need the version of the OS for a user string: This outputs (Windows; U; Windows NT 6.1; en-IE) for me. … Continue reading

Posted in regular | Tagged , , | Leave a comment

My first Ant task – Automating JMeter tests

Ant Intro I’ve been coming across references to Ant over the past while, often while looking up info on code deployment and testing. I never really cottoned on to what it actually was before today – when I had a … Continue reading

Posted in regular | Tagged , , , , | Leave a comment

Getting JConsole to work with the ColdFusion Windows Service

You’ll need to add these parameters to the CF JVM startup parameters – you can do this through the CF Admin -> Java & JVM section: These should all appear on the same line with spaces in between them. Use … Continue reading

Posted in regular | Tagged , , , | Leave a comment

ColdFusion out of stack space? Unfortunately it’s probably your fault.

Before you blame the game, try blame the player I am referring to my last post last week where I was looking into JVM Garbage collection issues, and a particular issue I was having with spontaneous ColdFusion 9 server restarts. … Continue reading

Posted in regular | Tagged , , , , | Leave a comment

Going Through the Garbage – Memory Issues for ColdFusion and the JVM

Restart, Restart, Restart We had an interesting problem the other day – one of our ColdFusion 9 servers was spontaneously stopping and restarting. I had been at it for a few days it seems. I only actually noticed it when … Continue reading

Posted in regular | Tagged , , , , | Leave a comment