Description of problem:
In the RHQ's mysql plugin we bundle the mysql-connector-java JDBC driver in version 5.1.6.
That version has a known classloader leak that leads to eventual permgen depletion over several restarts of plugin container in the RHQ's agent.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make sure MySQL plugin is enabled and deployed to RHQ agent
2. Start a MySQL server on a box with RHQ agent
3. restart the plugin container (without fully restarting the whole RHQ agent) a couple of times (> 20).
The mysql-connector-java is currently at version 5.1.32, so it's probably time we upgraded to a more recent version.
For reference, the bug in the mysql jdbc driver is captured here: http://bugs.mysql.com/bug.php?id=36565
Author: Lukas Krejci <email@example.com>
Date: Tue Aug 12 16:41:54 2014 +0200
[BZ 1129091] Upgrade the bundled MySQL JDBC driver to a newer version.