Why does JBoss log a "java.lang.SecurityException: Failed to authenticate" error during startup?

Solution Verified - Updated -

Issue

  • Why does JBoss log a "java.lang.SecurityException: Failed to authenticate" error during startup?  This seems to be affecting JMS syncing between the two nodes.  We are seeing the two errors below in the log file:
    15:21:59,875 INFO  [TransactionManagerService] Starting transaction recovery manager
    15:22:00,165 ERROR [AbstractKernelController] Error installing to Start: name=jboss.admin:service=PluginManager state=Create mode=Manual requiredState=Installed
    java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console
            at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:89)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
            at org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:283)
            at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:180)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    
    ...
    ...
    
    13:02:20,678 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@63ed4[domain=default, server=default, name=default]
    13:02:20,680 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
    
    DEPLOYMENTS MISSING DEPENDENCIES:
      Deployment "jboss.web.deployment:war=/web-console" is missing the following dependencies:
        Dependency "jboss.admin:service=PluginManager" (should be in state "Create", but is actually in state "**ERROR**")
    
    DEPLOYMENTS IN ERROR:
      Deployment "jboss.admin:service=PluginManager" is in error due to the following reason(s): java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console, **ERROR**
    
  • It looks like the PluginManager and web-console fail to start.  Why is that?

Environment

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