[jboss-jira] [JBoss JIRA] (WFLY-44) unavailable datasource statistics

Brian Stansberry (JIRA) issues at jboss.org
Mon Jul 28 22:03:29 EDT 2014


     [ https://issues.jboss.org/browse/WFLY-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry resolved WFLY-44.
----------------------------------

    Fix Version/s:     (was: 9.0.0.CR1)
       Resolution: Out of Date


I figure this is either a duplicate of WFLY-2551 or its out of date. The statistics appear correctly in jconsole, except for the WFLY-2551 issue.

> unavailable datasource statistics
> ---------------------------------
>
>                 Key: WFLY-44
>                 URL: https://issues.jboss.org/browse/WFLY-44
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Domain Management, JCA, JMX
>            Reporter: Mathieu Lachance
>            Priority: Minor
>
> In the java visual vm, in the mbean tab, under the "jboss.as:subsystem=datasources,data-source=MyDataSource" mbean, attribute "statistics" is marked as "Unavailable"
> When using the spy="true" attribute in the datasource subsystem in conjunction with the "org.jboss.jca" logger set as TRACE level in the logging subsystem, statistics are outputted as follow :
> Statistics:
>   ActiveCount: 1
>   AvailableCount: 99
>   AverageBlockingTime: 0
>   AverageCreationTime: 248
>   CreatedCount: 1
>   DestroyedCount: 0
>   MaxCreationTime: 248
>   MaxUsedCount: 1
>   MaxWaitCount: 0
>   MaxWaitTime: 0
>   TimedOut: 0
>   TotalBlockingTime: 0
>   TotalCreationTime: 248
> I would except to find those statistics available through separates jmx attributes when using the spy="true".



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list