Why am I getting authentication errors when accessing JMX MBeans on JBoss EAP 5.0.x?

Solution Verified - Updated -

Issue

  • I am trying to port a JMX MBEAN from JBoss 4.x to 5.x.  I seem to be unable to authenticate properly before invoking methods.  Here is the error:
    10:13:53,114 ERROR [TestThread] getInfo() error=Failed to authenticate principal=null, securityDomain=jmx-console
    10:13:53,114 ERROR [ServerInfoThread] getConfig() error=Failed to authenticate principal=null, securityDomain=jmx-console
    

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.0.x
  • JBoss SOA-P
    • 5.0.2

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.