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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.