Installing Red5 Open Source Flash Media Server On CentOS 4.2
After having no end of issues with the proprietary flash media server 2 from Adobe I decided to give installing the Red5 open source version a go instead.
I have to say I was fairly impressed with just how easy it was to get running without having to do any of the faffing around that was required to get FMS2 running.
Here is the process in a nutshell:
- Download and install the Java Development Kit (jdk) from here (I used the rpm version of JDK 6 Update 2): http://java.sun.com/javase/downloads/index.jsp
- Download and extract Apache ant from here: http://archive.apache.org/dist/ant/binaries/apache-ant-1.6.5-bin.tar.gz
- Copy the extracted apache-ant-1.6.5 folder to /usr/local/ant
- Setup the environment variables to include the path for java and ant by typing the following at the shell prompt:PATH=$PATH:$HOME/bin:/usr/local/ant/bin
export PATHThen also remember to add this to /etc/profile so the settings don't get lost the next time you login - Download and extract the Red5 server from here: http://osflash.org/red5
 - cd to the Red5 directory you just extracted and type the following at the shell prompt to allow java to retrieve the files it needs from the net and compile and run the server as a background process (the module retrieval is automatic and only has to be done once):ant server &Â
- Then that's it it's running. In my case I needed to kill the ant/java processes running the server after the java modules were initially retrieved and the server built for the first time, but the second time it was fine even though it did take about 30 seconds to fully startup - this may just be a glitch on my system as I have a lot of other stuff also going on.
- The final step is to test it. This can be done by moving the contents of the webapps/root/demos/ folder from the extracted Red5 directory to a webserver somewhere (I don't think it hast to be the same machine) and then viewing the list of demos in the index.html file.I started off by using the port tester to make sure the demo apps could actually connect to the server on the ports they were meant to (basically rtmp port 1935) and then moved onto testing the video streaming app and then tried a proper live broadcast through the server using the simpleBroadcaster app to two friends who were logged on using the simple subscriber app. All worked well especially as far as the video was concerned though the audio was a little crackly on my live broadcast - this could just be the quality of home connections however.The only last not is just a simple reminder that when running the test apps you'll need to specify the server they need to connect to - the apps are setup to access rtmp://localhost/[APP_NAME] but if you're not running these apps as a local user you will need to change localhost to the name or ip of the server Red5 is installed on
So far I'm quite happy with Red5 as a free (very important) alternative to FMS2, but should you be looking for a commercial product as this is not quite up your street (that is a cheaper than FMS2) then take a look at this instead: http://www.wowzamedia.com/index.html
Wowza only requires java to run and is like a very polished commercial version of the Red5 server (it was actually through installing Wowza that I worked out what to do with the web apps for Red5 - having had no previous experience in flash streaming other than literally installing FMS2) which has a very reasonable price tag in comparison to the cost of FMS2
Just before I go I just need to mention the map below - Red5 ask you to add yourself to their user map if you're using the software so I have - you can find me in Brighton, England
Related posts on coderchris.com:
- Installing Flash Media Server 2 On Linux (CentOS 4.4)
Recently I was asked by a client to look at purchasing and installing FMS2... - File-system mp3 Organisation – Is It Really That Hard?
Like most people I know I have a lot of mp3's and every person... - JW Media Player – A Godsend For Flash Streaming
So, you want or need to stream multimedia content from your website; you don't have... - Installing tor from source on CentOS 5
As usal with CentOS I can up against a few problems installing tor from... - This Blog Makes It Into Space
Well, even if I don't make it into space in my lifetime, I can rest...
-
-
Hi,
I have installed REd 5 on my server successfully. But when I am running Home page http://81.26.217.184:5080/ , The test RED 5 video is not playing right. It gets hang in middle.
Also I have tested it with progressive video play and RED 5 streaming video play. But Streaming video is running slow.
My server config is : CentOS release 4.8
Also I have added iptable to port 1935.Please help me. Any clue why it is happening.
Great Thanks in adv.
Regards,
Kumar Sekhar -
Hi, great website, thank you for posting this tutorial. I am running smoothly all the way til the end, where you get the “Ant Cleat Dist” command:
I get this log:
<<>>>
[ivy:retrieve] :: retrieving :: red5#server
[ivy:retrieve] confs: [java6]
[ivy:retrieve] 40 artifacts copied, 0 already retrieved (30764kB/131ms)
[javac] Compiling 527 source files to /usr/local/red5/binBUILD FAILED
/usr/local/red5/build.xml:209: The following error occurred while executing this line:
/usr/local/red5/build.xml:230: Error running /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/javac compiler<<>>
Any ideas what could it be preventing the build to be finished?
-
Thank you. I got to the very last part, thanks to your help, but the red5
doesn’t want to START:
Please help me, I am so close!PSS
LOG
[root@opencall dist]# ./red5.sh
Running on Linux
Starting Red5
Red5 root: /opt/red5/dist
Configuation root: /opt/red5/dist/conf
Root: /opt/red5/dist
Deploy type: bootstrap
Logback selector: org.red5.logging.LoggingContextSelector
23:12:59,516 |-INFO in ch.qos.logback.classic.LoggerContext[default] – Could NOT find resource [logback-test.xml]
23:12:59,516 |-INFO in ch.qos.logback.classic.LoggerContext[default] – Found resource [logback.xml] at [file:/opt/red5/dist/conf/logback.xml]
23:12:59,518 |-WARN in ch.qos.logback.classic.LoggerContext[default] – Resource [logback.xml] occurs multiple times on the classpath.
23:12:59,518 |-WARN in ch.qos.logback.classic.LoggerContext[default] – Resource [logback.xml] occurs at [file:/opt/red5/dist/conf/logback.xml]
23:12:59,518 |-WARN in ch.qos.logback.classic.LoggerContext[default] – Resource [logback.xml] occurs at [file:/opt/red5/dist/conf/logback.xml]
23:12:59,735 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction – debug attribute not set
23:12:59,735 |-INFO in ch.qos.logback.core.joran.action.AppenderAction – About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
23:12:59,738 |-INFO in ch.qos.logback.core.joran.action.AppenderAction – Naming appender as [CONSOLE]
23:12:59,788 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA – Pushing component [layout] on top of the object stack.
23:12:59,814 |-INFO in ch.qos.logback.core.joran.action.AppenderAction – Popping appender named [CONSOLE] from the object stack
23:12:59,814 |-INFO in ch.qos.logback.core.joran.action.AppenderAction – About to instantiate appender of type [ch.qos.logback.core.FileAppender]
23:12:59,815 |-INFO in ch.qos.logback.core.joran.action.AppenderAction – Naming appender as [FILE]
23:12:59,821 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA – Pushing component [layout] on top of the object stack.
23:12:59,842 |-INFO in ch.qos.logback.core.FileAppender[FILE] – File property is set to [log/red5.log]
23:12:59,843 |-INFO in ch.qos.logback.core.joran.action.AppenderAction – Popping appender named [FILE] from the object stack
23:12:59,843 |-INFO in ch.qos.logback.core.joran.action.AppenderAction – About to instantiate appender of type [ch.qos.logback.core.FileAppender]
23:12:59,843 |-INFO in ch.qos.logback.core.joran.action.AppenderAction – Naming appender as [ERRORFILE]
23:12:59,845 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA – Pushing component [filter] on top of the object stack.
23:12:59,850 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA – Pushing component [layout] on top of the object stack.
23:12:59,850 |-INFO in ch.qos.logback.core.FileAppender[ERRORFILE] – File property is set to [log/error.log]
23:12:59,850 |-INFO in ch.qos.logback.core.joran.action.AppenderAction – Popping appender named [ERRORFILE] from the object stack
23:12:59,850 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – ROOT level set to WARN
23:12:59,851 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction – Attaching appender named [CONSOLE] to Logger[ROOT]
23:12:59,852 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction – Attaching appender named [FILE] to Logger[ROOT]
23:12:59,852 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction – Attaching appender named [ERRORFILE] to Logger[ROOT]
23:12:59,852 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.Launcher] to true
23:12:59,852 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.Launcher level set to INFO
23:12:59,852 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.io] to true
23:12:59,852 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.io level set to INFO
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.logging.DerbyLogInterceptor] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.logging.DerbyLogInterceptor level set to WARN
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server level set to WARN
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.Client] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.Client level set to INFO
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.jetty] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.jetty level set to INFO
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.Standalone] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.Standalone level set to INFO
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.tomcat] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.tomcat level set to INFO
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.api.stream.support] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.api.stream.support level set to INFO
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.cache] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.cache level set to WARN
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.jetty.Red5WebPropertiesConfiguration] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.jetty.Red5WebPropertiesConfiguration level set to WARN
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.jmx] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.jmx level set to WARN
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.messaging.InMemoryPushPushPipe] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.messaging.InMemoryPushPushPipe level set to INFO
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net level set to INFO
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net.rtmpt.RTMPTServlet] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net.rtmpt.RTMPTServlet level set to WARN
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net.servlet] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net.servlet level set to WARN
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net.proxy] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net.proxy level set to INFO
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net.remoting] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net.remoting level set to WARN
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net.rtmp] to true
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net.rtmp level set to WARN
23:12:59,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net.rtmp.RTMPHandler] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net.rtmp.RTMPHandler level set to INFO
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net.rtmp.BaseRTMPHandler] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net.rtmp.BaseRTMPHandler level set to OFF
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net.rtmp.codec] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net.rtmp.codec level set to INFO
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net.rtmp.RTMPMinaIoHandler] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net.rtmp.RTMPMinaIoHandler level set to OFF
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net.rtmp.RTMPMinaTransport] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net.rtmp.RTMPMinaTransport level set to INFO
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net.rtmp.status] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net.rtmp.status level set to INFO
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net.rtmpt] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net.rtmpt level set to WARN
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.persistence] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.persistence level set to WARN
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.script] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.script level set to WARN
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.service] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.service level set to INFO
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.so] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.so level set to WARN
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.stream] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.stream level set to INFO
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.stream.consumer] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.stream.consumer level set to WARN
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net.mrtmp] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net.mrtmp level set to WARN
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.net.mrtmp.codec] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.net.mrtmp.codec level set to WARN
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.apache.mina] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.apache.mina level set to WARN
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.apache.mina.filter] to true
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.apache.mina.filter level set to WARN
23:12:59,854 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.red5.server.adapter.MultiThreadedApplicationAdapter] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.red5.server.adapter.MultiThreadedApplicationAdapter level set to INFO
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.apache.commons] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.apache.commons level set to WARN
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [httpclient] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – httpclient level set to WARN
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.apache.catalina] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.apache.catalina level set to INFO
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.apache.catalina.loader] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.apache.catalina.loader level set to INFO
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.apache.catalina.realm] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.apache.catalina.realm level set to WARN
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.apache.catalina.session] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.apache.catalina.session level set to WARN
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.apache.jasper] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.apache.jasper level set to INFO
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.apache.tomcat] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.apache.tomcat level set to INFO
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.apache.tomcat.util.net] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.apache.tomcat.util.net level set to WARN
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.apache.coyote.http11] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.apache.coyote.http11 level set to INFO
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.springframework] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.springframework level set to INFO
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.springframework.beans.factory] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.springframework.beans.factory level set to INFO
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.springframework.beans.factory.xml] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.springframework.beans.factory.xml level set to WARN
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.springframework.ui.context.support] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.springframework.ui.context.support level set to WARN
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.springframework.web.context] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.springframework.web.context level set to INFO
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.springframework.web.context.support] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.springframework.web.context.support level set to WARN
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [org.quartz] to true
23:12:59,855 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – org.quartz level set to WARN
23:12:59,856 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [net.sf.ehcache] to true
23:12:59,856 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – net.sf.ehcache level set to INFO
23:12:59,856 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction – Setting additivity of logger [ch.qos] to true
23:12:59,856 |-INFO in ch.qos.logback.classic.joran.action.LevelAction – ch.qos level set to WARNSetting default logging context: default
[INFO] [main] org.red5.server.Launcher – Red5 Server 0.9.1 $Rev: 4059 $ (http://code.google.com/p/red5/)
Red5 Server 0.9.1 $Rev: 4059 $ (http://code.google.com/p/red5/)
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext – Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@27223041: startup date [Mon Oct 03 23:12:59 PDT 2011]; root of context hierarchy
[INFO] [main] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer – Loading properties file from class path resource [red5.properties]
[INFO] [main] org.springframework.beans.factory.support.DefaultListableBeanFactory – Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@77615d6b: defining beans [placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.server]; root of factory hierarchy
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext – Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@1c36ee92: startup date [Mon Oct 03 23:13:00 PDT 2011]; root of context hierarchy
[INFO] [main] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer – Loading properties file from class path resource [red5.properties]
[INFO] [main] org.springframework.beans.factory.support.DefaultListableBeanFactory – Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2a28842f: defining beans [placeholderConfig,red5.server,jmxFactory,jmxAgent,serializer,deserializer,statusObjectService,rtmpCodecFactory,rtmptCodecFactory,remotingCodecFactory,streamableFileFactory,filePersistenceThread,sharedObjectService,streamService,providerService,consumerService,bandwidthFilter,schedulingService,warDeployService,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp4reader.impl,mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean#0,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream,clientBroadcastStream]; root of factory hierarchy
[WARN] [main] org.springframework.beans.GenericTypeAwarePropertyDescriptor – Invalid JavaBean property ‘enableRmiAdapter’ being accessed! Ambiguous write methods found next to actually used [public void org.red5.server.jmx.JMXAgent.setEnableRmiAdapter(java.lang.String)]: [public void org.red5.server.jmx.JMXAgent.setEnableRmiAdapter(boolean)]
[WARN] [main] org.springframework.beans.GenericTypeAwarePropertyDescriptor – Invalid JavaBean property ‘enableSsl’ being accessed! Ambiguous write methods found next to actually used [public void org.red5.server.jmx.JMXAgent.setEnableSsl(java.lang.String)]: [public void org.red5.server.jmx.JMXAgent.setEnableSsl(boolean)]
[WARN] [main] org.springframework.beans.GenericTypeAwarePropertyDescriptor – Invalid JavaBean property ‘enableMinaMonitor’ being accessed! Ambiguous write methods found next to actually used [public void org.red5.server.jmx.JMXAgent.setEnableMinaMonitor(java.lang.String)]: [public void org.red5.server.jmx.JMXAgent.setEnableMinaMonitor(boolean)]
[INFO] [main] org.red5.server.service.WarDeployer – War deployer service created
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext – Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@65ca7e4a: startup date [Mon Oct 03 23:13:01 PDT 2011]; parent: ApplicationContext ‘red5.common’
[INFO] [main] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer – Loading properties file from class path resource [red5.properties]
[WARN] [main] org.springframework.beans.factory.config.CustomEditorConfigurer – Passing PropertyEditor instances into CustomEditorConfigurer is deprecated: use PropertyEditorRegistrars or PropertyEditor class names instead. Offending key [main] org.springframework.beans.factory.support.DefaultListableBeanFactory – Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4fbd89c9: defining beans [customEditorConfigurer,placeholderConfig,rtmpMinaConnManager,rtmpHandler,rtmpMinaIoHandler,rtmpTransport,rtmpMinaConnection,rtmptConnManager,rtmptHandler,rtmptServlet,rtmptConnection,rtmpsMinaIoHandler,rtmpsTransport]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@2a28842f
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – RTMP Mina Transport bound to /0.0.0.0:1935
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – RTMP Mina Transport Settings
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – Connection Threads: 4
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – I/O Threads: 16
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – TCP No Delay: true
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – Receive Buffer Size: 65536
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – Send Buffer Size: 271360
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – RTMP Mina Transport bound to /0.0.0.0:8443
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – RTMP Mina Transport Settings
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – Connection Threads: 4
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – I/O Threads: 16
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – TCP No Delay: true
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – Receive Buffer Size: 65536
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – Send Buffer Size: 271360
[INFO] [main] org.springframework.beans.factory.support.DefaultListableBeanFactory – Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4fbd89c9: defining beans [customEditorConfigurer,placeholderConfig,rtmpMinaConnManager,rtmpHandler,rtmpMinaIoHandler,rtmpTransport,rtmpMinaConnection,rtmptConnManager,rtmptHandler,rtmptServlet,rtmptConnection,rtmpsMinaIoHandler,rtmpsTransport]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@2a28842f
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport – RTMP Mina Transport unbind
[INFO] [main] org.springframework.beans.factory.support.DefaultListableBeanFactory – Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@77615d6b: defining beans [placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.server]; root of factory hierarchy
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext – Closing ApplicationContext ‘red5.common’: startup date [Mon Oct 03 23:13:00 PDT 2011]; root of context hierarchy
[INFO] [main] org.springframework.beans.factory.support.DefaultListableBeanFactory – Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2a28842f: defining beans [placeholderConfig,red5.server,jmxFactory,jmxAgent,serializer,deserializer,statusObjectService,rtmpCodecFactory,rtmptCodecFactory,remotingCodecFactory,streamableFileFactory,filePersistenceThread,sharedObjectService,streamService,providerService,consumerService,bandwidthFilter,schedulingService,warDeployService,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp4reader.impl,mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean#0,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream,clientBroadcastStream]; root of factory hierarchy
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘red5.core’ defined in class path resource [red5.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.FileSystemXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘rtmpsTransport’ defined in class path resource [red5-core.xml]: Invocation of init method failed; nested exception is java.net.BindException: Address already in use
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:283)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:886)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
at org.red5.server.Launcher.launch(Launcher.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:135)
at org.red5.server.Bootstrap.main(Bootstrap.java:50)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.FileSystemXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘rtmpsTransport’ defined in class path resource [red5-core.xml]: Invocation of init method failed; nested exception is java.net.BindException: Address already in use
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:107)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
… 18 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘rtmpsTransport’ defined in class path resource [red5-core.xml]: Invocation of init method failed; nested exception is java.net.BindException: Address already in use
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1401)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
at org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:140)
at org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:106)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
… 20 more
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:344)
at sun.nio.ch.Net.bind(Net.java:336)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:199)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:251)
at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:48)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(AbstractPollingIoAcceptor.java:523)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$200(AbstractPollingIoAcceptor.java:65)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:407)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Bootstrap complete -
- Comment Feed for this Post
- coderchris.com » Blog Archive » Make Money With Wordpress And Matched.co.uk
- Affiliate Marketing Plugins » Matched.co.uk Wordpress Plugin
- Search engine optimisation
- how to configure linksys router
- Where is that library?
- How to mount an Amazon EBS disk as a drive in Linux (CentOS)
- How to set a server’s Timezone
- A Simple News System For Basic Websites
- Running on Tomato
- Books On CEO Succession
- Refactor My Code – I Wish I’d Thought of It!
- MRemote – The Best, Free, Desktop Manager
- PHP5 Universal File Download Class
- File-system mp3 Organisation – Is It Really That Hard?




Nice post.
red5flashserver.blogspot.com has more Red5 flash server resources. Check it out