powered by Jive Software

Upgrade from 4.1.6 to 4.2.xx - failed

Hi,

My environment is: debian 7.11x64,
java -version
java version "1.8.0_161"
Java™ SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot™ Client VM (build 25.161-b12, mixed mode)
mysq-server-5.5

I tried upgrade openfire from 4.1.6 to the 4.2.0,2.1 and 4.2.2 version but all the time I can’ connect. I checked nestat listen ports and I had only listen port 5269…
After upgrade from 4.1.6 to the 4.2.x version, database will be modified?

In error log, I founded something errors:

2018.02.17 12:18:22 org.jivesoftware.openfire.container.PluginManager - An exception occurred while loading plugin ‘jappix’:
java.lang.NoSuchMethodError: org.jivesoftware.openfire.http.HttpBindManager.getContexts()Lorg/eclipse/jetty/server/handler/ContextHandlerCollection;
at com.ifsoft.jappix.JappixPlugin.initializePlugin(JappixPlugin.java:45)
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:584)
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:276)
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:264)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018.02.17 12:18:22 org.jivesoftware.openfire.container.PluginManager - An exception occurred while loading plugin ‘loadstats’:
java.lang.NoClassDefFoundError: org/apache/mina/common/IoService
at org.jivesoftware.openfire.plugin.StatisticPlugin.initializePlugin(StatisticPlugin.java:40)
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:584)
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:276)
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:264)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: org.apache.mina.common.IoService
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 8 more

The error that your describing is an incompatibility of the Jabbix plugin with Openfire, which was introduced by the fix for https://issues.igniterealtime.org/browse/OF-1326

This problem should not affect all of Openfire, only that plugin. I’m unfamiliar with that plugin (it is not one of ours). Please reach out to its author, and see if they have a new version available.