powered by Jive Software

Error loading plugin HTTP File Upload


I’m running Openfire 4.0.2. on Linux server. When I try to install HTTP File Upload plugin (either from ui or by putting .jar in plugins folder), i get this error:

2018.06.02 18:26:30 org.jivesoftware.openfire.container.PluginManager - Error loading plugin: /opt/openfire/plugins/httpfileupload 
java.lang.NoSuchMethodError: org.jivesoftware.openfire.http.HttpBindManager.addJettyHandler(Lorg/eclipse/jetty/server/Handler;)V 
at org.igniterealtime.openfire.plugins.httpfileupload.HttpFileUploadPlugin.initializePlugin(HttpFileUploadPlugin.java:68) 
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:447) 
at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java:68) 
at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManager.java:1037) 
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:1142) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
at java.lang.Thread.run(Thread.java:745)

Can you please help me about this? I’m not sure if I’m doing something wrong, I can see that this plugin works for other people.

Do I need to upgrade Openfire? There’s no min version in plugin info.

The version of the file upload plugin you’re using requires Openfire 4.1 or above; either upgrade yoru Openfire or downgrade the version of the plugin.

I guess someone should add min version information into plugin and on the Downloads page. @akrherz @guus

I updated the plugin.xml in the github repo, but am struggling to remember how to build the plugins and our bamboo jobs are not ready for this yet either. Sigh

Hiya, just a short question which may have a long answer:
Is this plugin being worked on just now?
I would suggest a wishlist thrread for it.
Sorry if I am posting in the wrong place…

You can post it as a separate thread i guess and maybe its author will look at it at some point. Though this plugin is based on a standard and it can’t deviate to much from it. It is worked on, but everyone here are volunteers with other main jobs, so it might take a while until changes are applied.