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