Cannot Install Plugin Openfire 3.9.3

Hi everyone,

I want to ask about installing plugin on openfire 3.9.3

couple week ago, there’s no problem about installing plugin in openfire 3.9.3

but today, I want to try clustering openfire and want to install plugin Hazelcast Clustering Plugin

everything goes well when installing plugin, and it tells me that plugin installed successfully

but when i look at installed plugin, there no Hazelcast Clustering Plugin so I try to reboot my server and check again after reboot, there’s still no installed plugin.

this all happen from fresh installed server (I’m using virtual server).

all I did before install openfire was, install default-jre - openssh-server - lamp-server^ - openfire.deb (i’m using ubuntu 12.04)

my database use mysql database and can be access remotely.

Is there any problem with my step ? or there’s problem with openfire ?

it still make me confuse, cause i try another plugin (user import export) and still no plugin installed

Sincerely,

Vindra9

here’s what i got when i look at log openfire

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

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)

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

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

2014.09.30 02:06:57 org.jivesoftware.openfire.container.PluginManager - Error loading plugin: /usr/share/openfire/plugins/userimportexport

java.lang.UnsupportedClassVersionError: org/jivesoftware/openfire/plugin/ImportExportPlugin : Unsupported major.minor version 51.0

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

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

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

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

at java.net.URLClassLoader.access$000(URLClassLoader.java:73)

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

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

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

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

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

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

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

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

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

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201 (ScheduledThreadPoolExecutor.java:165)

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

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)

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

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

2014.09.30 02:07:17 org.jivesoftware.openfire.container.PluginManager - Error loading plugin: /usr/share/openfire/plugins/userimportexport

java.lang.UnsupportedClassVersionError: org/jivesoftware/openfire/plugin/ImportExportPlugin : Unsupported major.minor version 51.0

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

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

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

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

at java.net.URLClassLoader.access$000(URLClassLoader.java:73)

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

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

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

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

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

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

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

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

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

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201 (ScheduledThreadPoolExecutor.java:165)

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

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)

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

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

I had the same problem. I upgraded from Java 6 to Java 7 and it seems to be resolved.

In case you are a debian user, here’s the link to the useful information on How To Install Oracle Java 7 In Debian Via Repository ~ Web Upd8: Ubuntu / Linux blog

This error is caused by attempting to run a newer java compiled JAR on an older java release.

I updrade from Java 1.6.0 to Java 1.7.0, but the problem is still there. I install openfire in Mac.

The console shows that the java version is

1.6.0_65 Apple Inc. – Java HotSpot™ 64-Bit Server VM

but my local java is 1.7.0

You should probably update symlink /usr/bin/java to point to oracle java

check the comments here osx - Installed Java 7 on Mac OS X but Terminal is still using version 6 - Stack Overflow

works for me.