igniterealtime / openfire-threaddump-plugin

An Openfire plugin that allows administrators to create Java thread dumps.
Apache License 2.0
1 stars 4 forks source link

Openfire 4.8.0 compatbility #12

Open guusdk opened 1 year ago

guusdk commented 1 year ago

When loaded in Openfire 4.8.0, this plugin logs this to stdout:

Exception in thread "ThreadDump-Timer-1" java.lang.NoSuchMethodError: 'org.apache.mina.transport.socket.nio.NioSocketAcceptor org.jivesoftware.openfire.spi.ConnectionListener.getSocketAcceptor()'
        at org.igniterealtime.openfire.plugin.threaddump.evaluator.CoreThreadPoolsEvaluator.checkPools(CoreThreadPoolsEvaluator.java:63)
        at org.igniterealtime.openfire.plugin.threaddump.evaluator.CoreThreadPoolsEvaluator.shouldCreateThreadDump(CoreThreadPoolsEvaluator.java:35)
        at org.igniterealtime.openfire.plugin.threaddump.DumpCheckTimerTask.run(DumpCheckTimerTask.java:97)
        at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
        at java.base/java.util.TimerThread.run(Timer.java:506)
akrherz commented 9 months ago

Just denoting that 694896e91 bumped this plugin to require 4.8.0, but code changes are still needed.

guusdk commented 7 months ago

This effort depends on https://igniterealtime.atlassian.net/browse/OF-2789