[rhq-project/rhq] 6927a9: Bug 1206152 - Ems/JMX plug-in is not handling the ...
by Libor Zoubek
Branch: refs/heads/release/jon3.3.x
Home: https://github.com/rhq-project/rhq
Commit: 6927a906efbdb2990a5b50b3fd101215caed4f57
https://github.com/rhq-project/rhq/commit/6927a906efbdb2990a5b50b3fd10121...
Author: Libor Zoubek <lzoubek(a)redhat.com>
Date: 2015-10-01 (Thu, 01 Oct 2015)
Changed paths:
M modules/plugins/jboss-as-5/src/main/java/org/rhq/plugins/jbossas5/ApplicationServerComponent.java
Log Message:
-----------
Bug 1206152 - Ems/JMX plug-in is not handling the thread interrupt resulting
in thread exhaustion.
EAP5 server component#start() was swallowing IterruptedException (and
probably others) ApplicationServerComponent then ignored thread plugin
container's calls to interrupt start and continued to "loadEmsConnection()"
which then got blocked, because JmxConnectionHelper uses class
synchronization (so only 1 thread at at time can be creating connection).
(cherry picked from commit e1ee78ab761ad9cad8035e741fa00df7042b4d33)
Signed-off-by: Libor Zoubek <lzoubek(a)redhat.com>
8 years, 7 months
[rhq-project/rhq] e1ee78: Bug 1206152 - Ems/JMX plug-in is not handling the ...
by Libor Zoubek
Branch: refs/heads/master
Home: https://github.com/rhq-project/rhq
Commit: e1ee78ab761ad9cad8035e741fa00df7042b4d33
https://github.com/rhq-project/rhq/commit/e1ee78ab761ad9cad8035e741fa00df...
Author: Libor Zoubek <lzoubek(a)redhat.com>
Date: 2015-10-01 (Thu, 01 Oct 2015)
Changed paths:
M modules/plugins/jboss-as-5/src/main/java/org/rhq/plugins/jbossas5/ApplicationServerComponent.java
Log Message:
-----------
Bug 1206152 - Ems/JMX plug-in is not handling the thread interrupt resulting
in thread exhaustion.
EAP5 server component#start() was swallowing IterruptedException (and
probably others) ApplicationServerComponent then ignored thread plugin
container's calls to interrupt start and continued to "loadEmsConnection()"
which then got blocked, because JmxConnectionHelper uses class
synchronization (so only 1 thread at at time can be creating connection).
8 years, 7 months