I recently installed Openfire and the Red5 plugin on my MAC (OSX 10.5.5). The installation of Openfire went well, but I can’t seem to get the Red5 plugin working. On my Windows machine (ew, yuck!) everything worked ok, but no luck with my MAC. Eventually, I will move everything to my Centos5 server, but for development, I’d like to get it all going on the MAC first.
Any ideas on how to get this working is much appreciated. Here’s the problem:
After installing Openfire, I copied the Red5.war file to my /usr/local/openfire/plugins directory. After doing so, I restarted Openfire, and the Red5 directory was then created in the plugins directory. The next step was to make sure HTTP binding was enabled (which it is on 7070). When I attempt to navigate to the location:
Just for fun, I tried navigating to the readme.html page as well as the red5.html page - all of them resulted in a similar error.
Also, the Red5 plugin does not appear as an install plugin in the Admin panel, and the Red5 settings page is also missing. I’ve tried everything I know to get this working, but apparently, I don’t know enough.
I am using the latest (?) version of the plugin: red5-0.1.01.zip which I downloaded this morning. This version seems to be working with my Windows servers (except I seem to be getting errors w. SparkWeb - see below). But, sadly, not with my MAC server.
Any ideas??
Windows SparkWeb errors:
On Load, I get this error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.jivesoftware.spark::StatusBox/init()
at com.jivesoftware.spark::StatusBox/___StatusBox_Canvas1_creationComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.core::UIComponent/set initialized()
at mx.managers::LayoutManager/doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()
While using SparkWeb, I get this error:
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display::Loader/_load()
at flash.display::Loader/load()
at com.jivesoftware.spark::ScreenWindow$/timerHandler()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
I have the same issue on a debian installation. Downloaded red5-0.1.02.zip, uploaded .war file to /opt/openfire/plugins. After a couple of minutes, it had created a red5 folder there as well with the web files. It wasn’t recognized as a plugin, though - no red5 section under server, not listed in plugins, nothing showing up in logs, and I couldn’t access the web page, just a 404 error from the jetty server.
I rebooted the server and no sign of red5 loading then, either. No entries in info.log or stdoutt.log.
I saw another installation note that said red5 might not run under any Java older than Java 6 (I was on 5). I upgraded my server to Java 6 and red5 plugin appeared on reboot. I think that portion of my problems is solved.