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): 4.13.0-SNAPSHOT How reproducible: always 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). Actual results: OOME Expected results: No exceptions Additional info: 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
commit 0e276ede93e672ff1efc243ea1f0bd8d0feb83ba Author: Lukas Krejci <lkrejci> Date: Tue Aug 12 16:41:54 2014 +0200 [BZ 1129091] Upgrade the bundled MySQL JDBC driver to a newer version.