powered by Jive Software

Plugin Restart fails internally in openfire

I have run into an issue that I can’t solve. Openfire 3.6.4

When my plugin is restarted the openfire code calls my plufin.destroyPlugin() (PluginManager.java:587) And it executes fine. When it returns it attempts to delete the plugin directory to infact verify that the plugin is shutdown. The while cycle 5 times when it eventually fails then it returns the plugin back onto its internal list. In the mean time openfire already restarted another instance of my plugin and reports a success to the admin web site. Meanwhile the old plugin instance is still loaded.

Upon further investigation I found that my plugin web pages are still loaded in the plugin manager page, and therefore not allowing the plugin directory to be deleted.

Am I doing something wrong, or is this an openfire bug?