powered by Jive Software

Red5 Plugin version 0.0.12

Hi everybody,

You can find the new version of the red5 plugin here

Please note the following:

  1. JWChat5 has been removed. Please feel free to add your own web clients.

  2. The red5 web service is now on the http-bind port and not the admin console port.

  3. I have added a very early alpha release of a new flex-based open-source web client called Syabel. Source code will be made available when we reach beta. Consider it a preview.

  4. It is compatible with Openfire 3.4.3. Not tested with any other version.

Seasonal greetings to all,

-dele

very nice, i’m gonna test it on my fresh 3.4.3 debian install.

i’ll also try to put my jwchat5 updated version to see if it works, i’ll keep you posted.

.eldon

Aren`t working fpr me on my of 3.4.3. Getting

HTTP ERROR: 404NOT_FOUND

RequestURI=/red5/red5.html

hm…

there isn’t any red5.html, try to load “/red5” you should get the pkugin index (index.html).

I know: /red5 brings me also a 404 -> RequestURI=/red5/

i am assuming you are using the http-bind port (default 8080) and http-bind is enabled.

http://myserver:8080/red5

otherwise, please post your log file

-dele

Right, i am using hhtp-bind and it is enabled.

My error-log prints out this:

2008.01.04 13:44:03 org.jivesoftware.util.LocaleUtils.getLocalizedString(LocaleUtils.java:435)

java.util.MissingResourceException: Can’t find bundle for base name archive-1.0.3_i18n, locale de

at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)

at java.util.ResourceBundle.getBundleImpl(Unknown Source)

at java.util.ResourceBundle.getBundle(Unknown Source)

at org.jivesoftware.util.LocaleUtils.getLocalizedString(LocaleUtils.java:431)

at org.jivesoftware.util.LocaleUtils.getLocalizedString(LocaleUtils.java:398)

at org.jivesoftware.admin.AdminConsole.getAdminText(AdminConsole.java:221)

at org.jivesoftware.admin.SidebarTag.doEndTag(SidebarTag.java:214)

at org.jivesoftware.openfire.admin.decorators.main_jsp._jspx_meth_admin_sidebar_0( main_jsp.java:316)

at org.jivesoftware.openfire.admin.decorators.main_jsp._jspService(main_jsp.java:1 67)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192)

at com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.ja va:156)

at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:59)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:65)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:41)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:69)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:98)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollect ion.java:211)

at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)

at org.mortbay.jetty.Server.handle(Server.java:313)

at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)

at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.j ava:830)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)

at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)

at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)

at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)

at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

My warnin-log prints out this:

2008.01.04 12:44:36 Error creating secured outgoing session to remote server: kdetalk.net(DNS lookup: kdetalk.net:5269)

org.xmlpull.v1.XmlPullParserException:

could not determine namespace bound to element prefix stream (position:

START_DOCUMENT seen <stream:error>… @1:14)

at org.xmlpull.mxp1.MXParser.parseStartTag(MXParser.java:1816)

at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1479)

at org.jivesoftware.openfire.net.MXParser.nextImpl(MXParser.java:331)

at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:287)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:143)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:205)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:185)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

2008.01.04 13:24:04

Closing session due to incorrect hostname in stream header. Host: myoldhost.de. Connection:

org.jivesoftware.openfire.net.SocketConnection@1edbbb9 socket:

           Socket[http://addr=/213.165.65.51,port=40320,localport=5269

http://addr=/213.165.65.51,port=40320,localport=5269] session: null

2008.01.04 13:44:23

Closing session due to incorrect hostname in stream header. Host: myoldhost.de. Connection:

org.jivesoftware.openfire.net.SocketConnection@182363 socket:

           Socket[http://addr=/80.237.140.94,port=52928,localport=5269

http://addr=/80.237.140.94,port=52928,localport=5269] session: null

My information-log prints out this:

2008.01.04 13:24:55 Initializing red5 Plugin

2008.01.04 13:24:55 Registering red5 as a component

Honestly, i can not see what is going wrong

Tank you.

i get this error when placing the red5.war file in my plugins directory:

2008.01.08 16:11:01 org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java: 506) Error loading plugin: /usr/share/openfire/plugins/red5

java.lang.UnsupportedClassVersionError: Bad version number in .class file

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :384)

at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java :46)

at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1013)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (ScheduledThreadPoolExecutor.java:65)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(ScheduledThreadPoolExecutor.java:142)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:166)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 650)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

at java.lang.Thread.run(Thread.java:595)

Hi dele I like the new messenger.I am wondering I have dun much customizing of the jwchat and am making it K.I.M.Chat to mach my server I am still running openfire 3.3.3 and red5v0.0.9 as I dont want to lose all my work.Would it be posible for me to add it to the new red5v0.12 or have there been to many changes.

If i do copy into the new server what are the chances of me getting it work before I go to all that work .I Would very much like to use both my rewrite of jwchat and your new client dele and let my users use the ones they like to as I am a public server.I cant wate to see the full version of your new messenger

Bruce ps very nice work dele all most error free so close to 100%

Try restarting the openfire server, this worked for me after getting the same problem as you.

Annoyingly simple resolution for me.

It looks like the spark plugin is still using the admin port rather than the http bind port.

I bodged that,

I changed the admin port to be something else, and the bind port to then equal the old admin port.

However it would be nice to know how to change the ports in RED5

mine is binding port 8080 with openfire 3.4.3 and red5 v.0.12 check your http binding in openfire admin

The red5-plugin.jar need to be corrected, because the red5 plugin for spark try to access the sistem via 9090 port, instead 8080. I try to change the admin port to 9092 and http bind port to 9090 to solve the problem, but the following error are raised:

HTTP ERROR: 503

SERVICE_UNAVAILABLE

RequestURI=/red5/video/video.html

Powered by jetty://

I’m also getting the 404 error when I try to use the Red5 plugin through Spark. I can access the Red5 server through the web page (port 8080) just fine with a web browser.

Have you restarted the server, this worked for me after i changed the binds

Where do you change them at? I looked around but didn’t notice anything for changing the port.

What you have to do, is this

Intially change the admin port settings ( in server information - edit properties)

Restart the server - login to the server (remember to use the new port setings you have just set)

Go to http binding, bind to 9090

save

restart the server

Red5 should now work

Thanks Mark, that worked! I probably should have caught that but it’s amazing how rusty you can become with 4 weeks off

No Problem

I think the restarting is a pain, especially as you think “save” is save!!! If you take your home router, it says restart the router, where as Openfire, forgets

Not sure if it should be logged in the bug tracker or not, or it is a “feature”