Red Hat Bugzilla – Bug 769861
[as4 and as5 plugins] add maxThreads trait to JBossAS Embedded JBossWeb Connector Resources
Last modified: 2013-03-14 11:06:26 EDT
Description of problem:
The maxThreads information for tomcat connectors is present in the case of a standalone Tomcat server. However it is not fetched for the JBoss embedded Tomcat servers. This information can be very useful particularly for my customer EUROPCAR. Indeed, he wants to have different groups of connector thread pools grouped by their respective maxthreads.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. modify the rhq-plugin.xml for the jopr-jboss-as-plugin and add for the Connector service :
<!-- jboss.web:name=http-0.0.0.0-8080,type=ThreadPool:maxThreads -->
displayName="Threadpool Max Threads."
defaultOn="true" category="utilization" displayType="detail" dataType="trait" measurementType="dynamic"/>
2. Perform a plugin update for agents
"Not found" displayed in the Trait sub-tab
The actual maxThreads value
Attached the patch against the 3.0.1.GA wich adds the information both for the AS 5 and AS plugins
Created attachment 549207 [details]
the patch to add the feature (against 3.0.1.GA)
*** Bug 786165 has been marked as a duplicate of this bug. ***
Lets see if we can use the patch Mohamed has provided, assuming he can confirm he has signed the Fedora CLA
As Mohamed is a Red Hat employee I think he has signed it by default.
(In reply to comment #5)
> As Mohamed is a Red Hat employee I think he has signed it by default.
My bad, I should have checked his email address. Thanks for the pointer Shaun.
Lets see if this patch applies cleanly in master.
This feature should also be added to the as7 plugin for consistency.
Merged patch into as4 and as5 plugins:
I will make a clone of this BZ to track the equivalent enhancement to the as7 plugin.
Installed EAP 5.1 server and verified Trait was now available