我在我的ubuntu系统中安装了openfire。有时它会自动停止。在那个openfire服务停止后我手动重启openfire服务。我检查了openfire错误日志。我收到了以下错误。
org.jivesoftware.openfire.container.PluginManager - Error loading plugin: /usr/share/openfire/plugins/onlineusers
java.lang.ClassNotFoundException: com.amiadogroup.openfire.onlineUsers.OnlineUsersPlugin
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:414)
at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java:76)
at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManager.java:1068)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
org.jivesoftware.openfire.container.PluginManager - Error loading plugin: /usr/share/openfire/plugins/clustering
java.lang.ClassNotFoundException: com.jivesoftware.openfire.ClusteringPlugin
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:414)
at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java:76)
at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManager.java:1068)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
答案 0 :(得分:0)
这些日志消息与插件加载问题有关。一个无法正确加载的插件是Openfire-provider'clustering'插件(不推荐使用,并被Hazelcast插件取代)。另一个导致问题的插件是一个名为“onlineuses”的专有插件。
我建议您关闭Openfire,从/usr/share/openfire/plugins/
删除与这些插件相关的插件jar文件和文件夹,然后重试。