Red5 - Tomcat Installation Troubleshooting
Below is a list of troubleshooting to install latest Red5 via tomcat
You have to download Red5 0.9 RC 1 (http://red5.googlecode.com/svn/java/server/tags/0_9rc1). Somehow, the developer removed SimpleBWControlService.java 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
ContextLoggingListener.
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
Problem reading your blog using Firefox - the lines don't wrap properly.
ReplyDeleteIn 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?
Hmmm... I tried with FireFox 3.6.12 and the alignment is fine. May be you try with Chrome?
ReplyDeleteRed5 can be compiled with servlet-api-2.5.jar that come with Tomcat.
If you check out Red5 0.9 RC1 (http://red5.googlecode.com/svn/java/server/tags/0_9rc1) 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.