Showing posts with label Red5. Show all posts
Showing posts with label Red5. Show all posts

Monday, June 27, 2011

Red5 freezes when running without error

When i tried to run Red5 server the excecution froze without producing any errors.
The last two lines printed were:

[INFO] [Launcher:/installer] org.red5.server.service.Installer - Installer service created
Logger context selector method found
After that i tried to run the server from the eclipse plugin but the same problem occurred.  After waiting the following error was produced:
Server Red5 Server Runtime at localhost was unable to start within 120 seconds. If the server requires more time, try increasing the timeout in the server editor.
The solution is not related to the eclipse plugin but it relies on the port number that you entered during the setup of red5. The default port number is 5080 and it works fine with that port. During the setup i did not know what the default port number was so that was the problem.

Read more...

Red5 error exception BasicMDCAdapter

After installing Red5 1.0 RC1 when i tried to run the server i got the following error:
Exception java.lang.ClassCastException: org.slf4j.helpers.BasicMDCAdapter cannot be cast to ch.qos.logback.classic.util.LogbackMDCAdapter

This error is produced because there are 2 additional jars that shouldnt be there.
The solution is to delete the following files from red5/lib directory
com.springsource.slf4j.juli-1.6.1.jar
com.springsource.slf4j.log4j-1.6.1.jar
More information ca br found: http://code.google.com/p/red5/issues/detail?id=43

Read more...