powered by Jive Software

Openfire 4.2.1 doesn't let anyone log in

Hi, after an update to Openfire 4.2.1, the server won’t let anyone log in on XMPP and complains about the missing Kraken plugin. I used to have the Kraken gateway installed deep in the past, but it no longer appears on the list of plugins (neither in installed, nor in available). Here’s the exact exception:

at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
... 3 more 
2017.12.13 00:41:58 org.jivesoftware.openfire.container.PluginMonitor - An unexpected exception occurred: 
java.util.concurrent.ExecutionException: java.lang.NullPointerException: Plugin could not be located: kraken 
at java.util.concurrent.FutureTask.report(FutureTask.java:122) 
at java.util.concurrent.FutureTask.get(FutureTask.java:192) 
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:310) 
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) 
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) 
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) 
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.NullPointerException: Plugin could not be located: kraken 
at org.jivesoftware.util.LocaleUtils.getLocalizedString(LocaleUtils.java:484) 
at org.jivesoftware.util.LocaleUtils.getLocalizedString(LocaleUtils.java:440) 
at org.jivesoftware.util.LocaleUtils.getLocalizedString(LocaleUtils.java:424) 
at org.jivesoftware.admin.AdminConsole.getAdminText(AdminConsole.java:207) 
at org.jivesoftware.openfire.container.PluginMetadataHelper.getDescription(PluginMetadataHelper.java:184) 
at org.jivesoftware.openfire.container.PluginMetadata.getInstance(PluginMetadata.java:102) 
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:403) 
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) 
... 3 more 
2017.12.13 00:42:18 org.jivesoftware.openfire.container.PluginMonitor - An unexpected exception occurred: 
java.util.concurrent.ExecutionException: java.lang.NullPointerException: Plugin could not be located: kraken 
at java.util.concurrent.FutureTask.report(FutureTask.java:122) 
at java.util.concurrent.FutureTask.get(FutureTask.java:192) 
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:310) 
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) 
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) 
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) 
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.NullPointerException: Plugin could not be located: kraken 
at org.jivesoftware.util.LocaleUtils.getLocalizedString(LocaleUtils.java:484) 
at org.jivesoftware.util.LocaleUtils.getLocalizedString(LocaleUtils.java:440) 
at org.jivesoftware.util.LocaleUtils.getLocalizedString(LocaleUtils.java:424) 
at org.jivesoftware.admin.AdminConsole.getAdminText(AdminConsole.java:207) 
at org.jivesoftware.openfire.container.PluginMetadataHelper.getDescription(PluginMetadataHelper.java:184) 
at org.jivesoftware.openfire.container.PluginMetadata.getInstance(PluginMetadata.java:102) 
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:403) 
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) 
... 3 more

Is there any way to fix this? Only the admin console works; XMPP connections fail. There must be some Kraken-related metadata (probably) somewhere in PostgreSQL and the unsuccessful plugin loading is attempted based on them.

Looks like manually downloading kraken.jar and then uploading it through the admin console solves the problem.

Hi.

Just move all plugins to another folder/directory and restart the OpenFire service.

This is bug OF-1453 , sorry that you are hitting it.

Just wanted to add our experience as well updating to 4.2.1 on Ubuntu. None of our users could login until we manually uploaded the kraken.jar file to the server via the plugins page in the admin panel. Once that was done it immediately allowed users to login.

It would be good to have someone look at the state of the <openfire_home>/plugins/ directory. I’m interested if, for the affected plugin (lets take kraken as an example):

  • the file <openfire_home>/plugins/kraken.jar exists;
  • the directory <openfire_home>/plugins/kraken/ exists;
  • what the content is of the <openfire_home>/plugins/kraken/ directory.

Amigo buen dia, me podrias explicar mas a detalle como se hace este paso, me pasa igual con los clientes del saprk ninguno se logue despues de instalar el openfire 4.2.1
intento buscar ese plugin kraken.jar y no aparece en la pafina oficial y tampoco en la consola de admin

Gracias