EAP 7 - Jboss-cli not retrieving session metrics

Solution Verified - Updated -

Issue

For session metrics,

[domain@10.10.10.x:9999 /] /host=yyy/server=prod-server-xxx/deployment=xx.war/subsystem=undertow:read-resource(include-runtime=true)
{
  "outcome" => "success",
    "result" => {
        "active-sessions" => 126,
        "context-root" => "/ehr",
        "expired-sessions" => 0,
        "max-active-sessions" => -1,
        "rejected-sessions" => 0,
        "server" => "default-server",
        "session-avg-alive-time" => 0,
        "session-max-alive-time" => 0,
        "sessions-created" => 0,
        "virtual-host" => "default-host",
  • I see max-active-sessions as -1.
  • I see "active-sessions" => 126, but "sessions-created" => 0. how is that possible?
  • I would like to see session max-alive time.
    "session-max-alive-time" => 0, but i see that as 0.

Environment

  • Enterprise Application Platform(EAP)
    • 7.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.