Scroll to top

AES-128 padded encryption/decryption with Railo, Java and AS3

I’ve recently been working on text file decryption using Railo server. My files were encrypted in ActionScript 3 with the powerful AES-128 algorithm. For more info on AS3 encryption see Hurlant Crypto demo. My challenge was to decypt this heavily encrypted content on a different platform, i.e. Railo with underlying Java Cipher capabilities. The 6 [...]

Read more

Unzip files with ColdFusion MX 7 using native Java classes

This week I had to unzip some files using ColdFusion 7 (I know it’s ancient technology) and I realised that CF7 doesn’t natively support zipping/unzipping of files!  Fortunately, ColdFusion can utilise the underlying power of Java to achieve this.  I found this neat Java article – Unzipping Files with java.util.zip.ZipFile and simply translated it into [...]

Read more

Create a JAR file from a list of classes

Just a quick one for my reference. To create a jar package from a list of Java classes, use the following command in terminal: jar cf jarredfile.jar directory_to_jar Marko

Read more

Monitor Railo on Tomcat using JConsole

At Learnosity, I’ve been trying to get to the bottom of a “Java Heap Space” error on my local Railo installation and decided to use JConsole to monitor Tomcat server.  JConsole is a very useful Java application monitoring tool, which is bundled into every JRE.  You can run it by simply executing jconsole binary: $JAVA_HOME/bin/jconsole Where $JAVA_HOME is the [...]

Read more

Customise Red5 applications and broadcast messages to Flex HOWTO

In one of my earlier posts Flex and Red5 simple demo, I demonstrated how to broadcast messages from Red5 server to all subscribed Flash clients and vice versa. This feature of Red5 open source Flash streaming server continues to impress me and I think everyone with a bit of AS3 and Java knowledge should take advantage [...]

Read more