Branch: refs/heads/release/jon3.1.x Home: https://github.com/rhq-project/rhq Commit: b47c4837e8ea3068d623d758f05d4e55a504e4cd https://github.com/rhq-project/rhq/commit/b47c4837e8ea3068d623d758f05d4e55a5... Author: Lukas Krejci lkrejci@redhat.com Date: 2014-04-03 (Thu, 03 Apr 2014)
Changed paths: M modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/ASConnection.java A modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/PluginLifecycleListener.java M modules/plugins/jboss-as-7/src/main/resources/META-INF/rhq-plugin.xml
Log Message: ----------- [BZ 1076258] Fix classloader leak in as7 plugin
The plugin-wide thread pool for closing stale connections was leaving threads running and those threads held on to the "old" plugin classloaders from previous plugin container "runs".
The AS7 plugin now has a plugin lifecycle listener that shuts down that thread pool preventing that leak from happening. (cherry-picked from 9d8b107) (cherry picked from commit 276363b41460193390d311ae86078dc80b7ee196)