Apr 15, 2007

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

  • 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.

Prerequisites:

Download the following files:
  1. JDK 5.0 Update ‘xx’ (Java SE Development Kit (JDK)) from http://java.sun.com/javase/downloads
  2. Tomcat 5.5 from http://tomcat.apache.org:
    • Core (windows service installer)
    • Administration Web Application
  3. Openlaszlo dev kit (war file) from www.openlaszlo.org
  4. Red5 war file from www.osflash.org/red5
On my system, I ended up with the following files:
  1. jdk-1_5_0_09-windows-i586-p.exe
  2. apache-tomcat-5.5.20.exe
  3. apache-tomcat-5.5.20-admin.zip
  4. openlaszlo-3.3.3.war
  5. red5-0.6rc1.war
Installing JDK + Tomcat 5.5:
  • 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 administration.
  • Stop the Tomcat Service (from taskbar)
  • Open “apache-tomcat-5.5.20-admin.zip” 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 this)
  • 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.
Installing OpenLaszlo:

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 “openlaszlo-3.3.3.war”.
  • Test your OpenLaszlo installation by accessing the following URL: http://localhost:8080/openlaszlo-3.3.3/
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:

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: http://localhost:8080/red5
  • Also try this “real” demo: http://localhost:8080/red5/flvdemo.html
Done!

1 comment:

  1. I installed successfully below the softwares

    1.Java (jdk-6u17-windows-i586.exe)
    2.apache-tomcat-6.0.20.exe
    3.openlaszlo-4.6.1.war
    4.red5-0.6rc3-java6.war

    and connected below the link also

    http://localhost:8080/red5/demos/ofla_demo.swf

    http://localhost:8080/openlaszlo-3.4.0/laszlo-explorer/

    above comments are working properly in my system afterthis how to connect remote system,How to login red5 server,administration,where to import swf,flv files.pls help me

    ReplyDelete

I love comments.