powered by Jive Software

java.lang.NoClassDefFoundError: org/picocontainer/MutablePicoContainer

Just installed the current Openfire Version and it seems as if I can’t get the Transports plugin to work… any ideas?

2007.08.22 19:58:10 org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java: 462) Error loading plugin: /opt/openfire/plugins/gateway

java.lang.NoClassDefFoundError: org/picocontainer/MutablePicoContainer

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 :345)

at org.jivesoftware.openfire.container.PluginManager.access$1(PluginManager.java:2 05)

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

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: 885)

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

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

Uhm. Yikes. That sounds like picocontainer.jar didn’t get copied over when you extracted gateway.jar. Try removing gateway.jar entirely, waiting for the gateway directory to vanish, and then copying the new gateway.jar back into place.

been there, done that.

jar file is there

ls

cindy.jar jggapi.jar log4j.jar smack.jar

concurrent.jar jml.jar martyr.jar smackx.jar

dwr.jar joscar-client.jar openymsg.jar xmlrpc.jar

jainsipapi.jar joscar-common.jar picocontainer.jar

jainsipri.jar joscar-protocol.jar plugin-gateway.jar

jakarta-regexp.jar jsocks.jar plugin-gateway-jspc.jar

Hrm. Not sure what to tell you then. First I’ve seen this error and tons of people have installed the plugin by now without it complaining about it. (it’s literally an error in not being able to find picocontainer) Maybe an entire server restart if you haven’t already? What version of java are you using?

I’m using JRE 1.6 and have already restarted the server…

I really don’t know what happened 0_o

Maybe it’s some classpath setting somewhere. Guess I’ll take a closer look at it tomorrow

Will let you know if I find a solution

Turned on the debugging log… strange…

Already re-downloaded the .jar

2007.08.25 20:23:24 Loading plugin gateway

2007.08.25 20:23:32 EOF

2007.08.25 20:23:32 EOF

2007.08.25 20:23:32 EOF

2007.08.25 20:23:32 EOF

2007.08.25 20:23:32 EOF

2007.08.25 20:23:32 EOF

2007.08.25 20:23:32 EOF

2007.08.25 20:23:32 EOF

2007.08.25 20:23:32 EOF

2007.08.25 20:23:32 EOF

2007.08.25 20:23:32 EOF

2007.08.25 20:23:32 EOF

2007.08.25 20:23:32 EOF

2007.08.25 20:23:33 EOF

2007.08.25 20:23:43 EOF

2007.08.25 20:23:43 EOF

2007.08.25 20:23:43 EOF

2007.08.25 20:23:43 EOF

2007.08.25 20:23:43 EOF

2007.08.25 20:23:43 EOF

2007.08.25 20:23:44 EOF

2007.08.25 20:23:44 EOF

2007.08.25 20:23:44 EOF

2007.08.25 20:23:44 EOF

I don’t know where EOF comes from. I’ve had it show up when I have no gateway plugin what-so-ever loaded.