JBoss CLI shows incorrect statistics for servlets in JBoss EAP 6

Solution Verified - Updated -

Issue

  • The CLI shows incorrect servlet stats. For example after one longer request:
ls -l /deployment=myapp.war/subsystem=web/servlet=myservlet
ATTRIBUTE      VALUE            TYPE 
load-time      17               LONG 
maxTime        8043             LONG 
min-time       17               LONG 
processingTime 8043             LONG 
requestCount   1                INT 
  • And after a second shorter request:
ls -l /deployment=myapp.war/subsystem=web/servlet=myservlet
ATTRIBUTE      VALUE            TYPE 
load-time      17               LONG 
maxTime        4006             LONG 
min-time       17               LONG 
processingTime 12049            LONG 
requestCount   2                INT  
  • maxTime should never decrease, but it appears to instead be showing min-time. Also, min-time appears to just be showing a repeat of load-time.

Environment

  • JBoss Enterprise Application Platform (EAP) 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content