Hi,
Have you noticed that the loadStats.jar plugin is broken in Openfire 3.4.5 ?
This is a valuable monitoring tool. I’m using it to tune my setup, but now that is is broken it is getting harder!
Instead of getting information for “DB min, DB max, DB current, DB used”, I’m getting “Default Connection Provider”.
Here is a snippet from my stats file:
Tue Apr 15 17:23:30 CDT 2008
Timestamp, DB min, DB max, DB current, DB used, Core Threads, Active Threads, Queue Tasks, Completed Tasks, Sessions, NIO Read, NIO Written, Queued NIO events, Queues NIO writes
1208298150459,Default Connection Provider,33,0,0,0,0,0,0,0,0
The broken code is in the StatCollector class.The following doesn’t work anymore:
// Add info about the db connection pool
sb.append(DbConnectionManager.getConnectionProvider().toString());
–Yavor