[
https://issues.apache.org/jira/browse/GERONIMO-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749828#action_12749828
]
Shawn Jiang commented on GERONIMO-4826:
---------------------------------------
Thanks for the hints ! I looked at the code and found:
for
*Open Connections Current(always zero)
*Open Connections Max (always zero)
*Open Connections Min(always zero)
{code}
// TODO find these
//long openConnections = ((Long) (mBeanServer.getAttribute(grpName,
"countOpenConnections"))).longValue();
long maxOpenConnections = 0;
//long maxOpenConnections = ((Long)
(mBeanServer.getAttribute(grpName, "maxOpenConnections"))).longValue();
stats.setOpenConnection(openConnections, maxOpenConnections, 0);
{code}
After checking the tomcat JSR-77 connectors mbeans, there are not related
connections attributes at all. Jetty has these attributes so that Jetty
build does not have this problem.
> Some monitoring fields are always zero.
> ---------------------------------------
>
> Key: GERONIMO-4826
> URL: https://issues.apache.org/jira/browse/GERONIMO-4826
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: monitoring
> Affects Versions: 2.1.3, 2.1.4, 2.1.5, 2.2
> Reporter: Shawn Jiang
> Assignee: Shawn Jiang
>
> It's strange, we need to figure out why they are always zero.
> {noformat}
> TomcatWebConnector
> Active Request Count (always zero)
> Busy Threads Current
> Busy Threads Max
> Busy Threads Min (always zero)
> Bytes Received
> Bytes Sent
> Error Count
> Open Connections Current (always zero)
> Open Connections Max (always zero)
> Open Connections Min (always zero)
> Request Time Count
> Request Time MaxTime
> Request Time MinTime (always zero)
> Request Time TotalTime
> {noformat}
> {noformat}
> TomcatWebSSLConnector
> Active Request Count (always zero)
> Busy Threads Current
> Busy Threads Max
> Busy Threads Min (always zero)
> Bytes Received
> Bytes Sent
> Error Count
> Open Connections Current(always zero)
> Open Connections Max (always zero)
> Open Connections Min(always zero)
> Request Time Count
> Request Time MaxTime
> Request Time MinTime (always zero)
> Request Time TotalTime
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.