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


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(

at java.lang.Class.getConstructor0(

at java.lang.Class.newInstance0(

at java.lang.Class.newInstance(

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

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

at org.jivesoftware.openfire.container.PluginManager$

at java.util.concurrent.Executors$

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(

at java.util.concurrent.FutureTask.runAndReset(

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(

at java.util.concurrent.ScheduledThreadPoolExecutor$

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

at java.util.concurrent.ThreadPoolExecutor$


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


at Method)


at java.lang.ClassLoader.loadClass(

at java.lang.ClassLoader.loadClass(

… 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?