Thursday, October 28, 2010

Red5 - Tomcat Installation Troubleshooting

Below is a list of troubleshooting to install latest Red5 via tomcat

1. With latest chunk check out, tomcat complaints that SimpleBWControlService is missing when startup

You have to download Red5 0.9 RC 1 ( Somehow, the developer removed at trunk.

2. After getting a war file for Red5 0.9 RC 1, tomcat complaints thatjava.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager

Go to lib folder at the 0.9 RC 1 check out, copy ehcache-1.6.0-rc1.jar to WEB-INF\lib of the war extract.
The developer somehow forget to include this include the war package.

3. When loading oflademo.war, tomcat complaints that Error listenerStart

Go to WEB-INF\web.xml at oflademo folder, comment out all listener and filter related to LoggerContextFilter and

4. You see WarLoaderServlet method not found for getContextPath in red5 log

This means that your servlet api jar file is old. Your Red5 is compiled against servlet api version 2.5
All you need to do is to replace the servlet-api.jar at tomcat\common\lib to servlet-api-2.5.jar


  1. Problem reading your blog using Firefox - the lines don't wrap properly.
    In any case I have a question. I used to compile servlets with Red5 in the Jetty days. Now that Red5 comes with Tomcat there is no servlet_api.jar provided with Red5. Any idea why it is missing?

  2. Hmmm... I tried with FireFox 3.6.12 and the alignment is fine. May be you try with Chrome?

    Red5 can be compiled with servlet-api-2.5.jar that come with Tomcat.

    If you check out Red5 0.9 RC1 ( and compile it with apache ant, it will download all necessary jar files (including servlet-api-2.5.jar) during compilation.

    These jar files are downloaded only during compilation process. They does not exist in the repository.


Tomcat - removing server info

Below are the steps to remove Tomcat Server Information 1. Make sure Tomcat is not running 2. Navigate to "Tomcat Installation"...