Error loading red5 plugin... NoClassDefFoundError:/jetty/HandlerContainer

Hi,

I had been trying to install red5 using the red5.war file (tried different versions).

It has been working on another machine of mine.

On the deployment machine it kept not appearing on installed plugins list.

now I checked error.log

I see NoClassDefFoundError: org/mortbay/jetty/HandlerContainer error manytimes in the log:

2010.01.26 14:32:31 Error loading plugin: /home/ozozgur/workspace/openfire/target/openfire/plugins/red5

java.lang.NoClassDefFoundError: org/mortbay/jetty/HandlerContainer

at java.lang.Class.getDeclaredConstructors0(Native Method)

at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)

at java.lang.Class.getConstructor0(Class.java:2699)

at java.lang.Class.newInstance0(Class.java:326)

at java.lang.Class.newInstance(Class.java:308)

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

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

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

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

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

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

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

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

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

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

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

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

Caused by: java.lang.ClassNotFoundException: org.mortbay.jetty.HandlerContainer

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

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

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

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

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

… 17 more

Hi, I have the same problem.

Anyone got solution for this problem?

The last version of the red5 plugin for Openfire is not compatible with Openfire 3.7.0 because of the upgrade of the jetty webserver from 6.1 to 7.0.

There is a new version of the red5 plugin for Openfire 3.7.0 coming out soon. Watch this space :slight_smile:

thanks for the info, hope they will get it soon.

btw is there a way to remove the plugin? as it gives error every 15minutes and probably killed all my server

do I have to do somethign more then just delete the war file and the red5 dir?