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, 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