How to access GarbageCollectorMXBean with name ParNew in EAP 6

Solution Verified - Updated -

Issue

  • How to access garbage collector MBean ?
  • While accessing garbage collector for ParNew in standalone and domain mode, following error occur :
Standalone Mode :
[standalone@localhost:9999 /] /core-service=platform-mbean/type=garbage-collector/name=ParNew:read-attribute(name=collection-count)
{
    "outcome" => "failed",
    "failure-description" => "JBAS012320: No GarbageCollectorMXBean with name ParNew currently exists",
    "rolled-back" => true
}
Domain Mode :
[domain@localhost:9999 /] /host=master/server=server-one/core-service=platform-mbean/type=garbage-collector/name=ParNew:read-attribute(name=collection-count) 
{
    "outcome" => "failed",
    "result" => undefined,
    "failure-description" => "JBAS012320: No GarbageCollectorMXBean with name ParNew currently exists",
    "rolled-back" => true
}

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.1.1

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