AnsweredAssumed Answered

Red5 plugin help.

Question asked by jfrazier on Dec 5, 2008
Latest reply on Dec 8, 2008 by Dele Olajide

I'm on a FreeBSD 6.4-Stable system.  Have run Openfire & FastPath w/ Spark for some time.  Currently Openfire 3.6.2.  Installed SparkWeb last night with little difficulty, but wanted the additional FastPath features the Red5 plugin supports.  I downloaded the red5-0.1.04.zip and copied the war into the plugins directory.  Started OpenFire back up and it extracted correctly into a red5 directory.  I rebuilt the codecs from src and placed asao2ulaw into the parent codec directory as specified.  Verified HTTP Bind is set to 7070 and the system is now listening on that port (verified via netstat).  I go to http://www.mysite.com:7070/red5/index.html and get:

 

HTTP ERROR: 404

NOT_FOUND

RequestURI=/red5/index.html

Powered by Jetty://

My error.log shows:

2008.12.06 00:32:36 [org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.jav a:507)] Error loading plugin: /usr/local/share/java/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 :385)
        at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java :47)
        at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1032)
        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)

No other errors in other logs or anything relevant.  Would appreciate any advice or assistance on how to correct and what to do from here.  Thanks.

Outcomes