Bug 1276441 - Unable to view the infinispan statistics from JBoss EAP 6 CLI
Summary: Unable to view the infinispan statistics from JBoss EAP 6 CLI
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Infinispan
Version: 6.4.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Chao Wang
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-29 17:35 UTC by Ranjith Pulluru
Modified: 2020-03-11 14:58 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-28 21:03:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-5685 0 Major Open Register management resources for deployment-specific caches 2018-02-12 11:35:29 UTC

Description Ranjith Pulluru 2015-10-29 17:35:57 UTC
Description of problem:
=======================
 - Unable to view the infinispan statistics from JBoss EAP 6 CLI.

Version-Release number of selected component (if applicable):
==============================================================
 - JBoss EAP 6.4.x

Steps to Reproduce:
===================
1) Take a fresh JBoss EAP 6.4.3 installation and consider `standalone-ha.xml` file.
2) Enable the infinispan statistics in the standalone-ha.xml file.
   Configuration looks as below:
   -----
     <subsystem xmlns="urn:jboss:domain:infinispan:1.5">
 		:
            <cache-container name="web" aliases="standard-session-cache" default-cache="repl" module="org.jboss.as.clustering.web.infinispan" statistics-enabled="true">
                <transport lock-timeout="60000"/>
                <replicated-cache name="repl" mode="ASYNC" batching="true" statistics-enabled="true">
                    <file-store/>
                </replicated-cache>
                <replicated-cache name="sso" mode="SYNC" batching="true"/>
                <distributed-cache name="dist" l1-lifespan="0" mode="ASYNC" batching="true">
                    <file-store/>
                </distributed-cache>
            </cache-container>
               :
     </subsystem>   
   ----- 
3) Start the JBoss server with `standalone-ha.xml` file.
4) Deploy the cluster web application and hit the application.
5) and check the infinispan statistics by using the below cli command:
   -----
     /subsystem=infinispan/cache-container=web/replicated-cache=repl/:read-resource(include-runtime=true)
   -----
6) Values for the runtime parameters(i.e.,number-of-entries, hits, etc.,) never change. 

Actual results:
===============
- Values for the runtime parameters(i.e.,number-of-entries, hits, etc.,) never changed.

Expected results:
=================
- There should be a change in the runtime parameters values.

Additional info:
=================
- I can see the expected result from the jconsole statistics.
   jconsole -> mbean tab -> jboss.infinispan -> Cache -> $application -> web -> Statistics.

- Found a JDG bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1210176

Comment 3 Paul Ferraro 2015-11-16 16:48:42 UTC
The underlying issue is that the cache instance used to store web session data for a deployed web application has no corresponding runtime management resource from which to obtain metrics. See https://issues.jboss.org/browse/WFLY-5685

Comment 5 Brad Maxwell 2016-06-28 21:03:59 UTC
Closing as this is a feature not a bug, see https://issues.jboss.org/browse/WFLY-5685


Note You need to log in before you can comment on or make changes to this bug.