Wednesday, January 7, 2009

Installing Tomcat 5.5 + OpenLaszlo + Red5 Flash Server on Windows XP

Resource founded at

This are the very useful and convenient alternative way on setting up a server that needs ADOBE Flash Media Server which is very expensive. I recommend using an opensource server, the "red5". :)

This article explains how to install and run OpenLaszlo Presentation Server,
Red5 Flash Server on top of an Apache Tomcat server.
This article will quickly get you started according to the philosophy “experience
first, understand later”.
OK, let’s get started!

Tomcat is a free, open source implementation of Java Servlet and JavaServer
Pages (jsp) technologies.

OpenLaszlo is a free, open source platform for creating zero-install web applications
with the user interface capabilities of desktop client software. In fact, it’s a
free Adobe® Flex Server.

Red5 is a free, open source Flash server that supports streaming and recording
audio/video, live stream publishing and Flash remoting. Its commercial brother is
Adobe® Flash Media Server.

Pick them up, shake them well and put it down. The result is T-O-R and the possibilities
are truly amazing!


Download the following files:

- JDK 5.0 Update ‘xx’ (Java SE Development Kit (JDK)) from

- tomcat 5.5 from

> Core (windows service installer)
> Administration Web Application

- openlaszlo dev kit (war file) from

- red5 war file from

On my system, I ended up with the following files:

Installing JRK + Tomcat 5.5

Estimated time to complete: 5 - 10 minutes

· Perform a standard installation of JDK (next, next… finish)
· Install Apache Tomcat (use the default server port 8080 and remember your
admin login credentials)

Test the installation in your browser: http://localhost:8080

The last thing we’ve to do is installing the Admin Web Application for easy Tomcat

· Stop the Tomcat Service (from taskbar)

· Open “” and drop the folders “conf” and
“server” into “C:\Program Files\Apache Software Foundation\Tomcat 5.5\”.
(Windows warns you about already existing folders, but that’s OK. Simply ignore

Start the Tomcat Service again

Test the installation again in your browser (http://localhost:8080) by clicking on
“Tomcat Manager”.

Please enter your login credentials you’ve thought earlier.

You are logged in now.


Installing OpenLaszlo

Estimated time to complete: 1 minute

We’re going to install OpenLaszlo from within the Admin Web Application.

Login (again) into the Admin Web Application and click on “Tomcat Manager”.

Locate “WAR file to deploy” and use the buttons “Browse…” and “Deploy” to install

Test your OpenLaszlo installation by accessing the following URL:

All right!

Note: if you’re planning to use OpenLaszlo in a live environment use the servlet
(openlaszlo-3.3.3-servlet.war) instead of the dev kit. The dev kit contains extras
like examples and documentation.

Installing Red5

Estimated time to complete: 1 minute

Next, we’re going to install Red5 in the same way.

Rename “red5-0.6rc1.war” into “red5.war” to get a nice deployment URL (context
path) and deploy it.

Test your Red5 installation by accessing the following URL:

Also try this “real” demo: http://localhost:8080/red5/flvdemo.html

What you’ve done
You’ve completed a successful installation of Tomcat, OpenLaszlo and Red5.

The next step is writing an application which makes use of OpenLaszlo and

No comments:

Most Viewed