Sometimes it is not possible to connect to a Fuse instance using a JMX client

Solution Verified - Updated -

Issue

With Fuse 6.2, occasionally it is not possible to connect a JMX client (e.g., jconsole) to a running Fuse process. If the problem is present when Fuse starts, it will not resolve itself -- a restart is necessary.

if the JMX client shows exceptions, it will typically show an exception like this:

java.lang.SecurityException: Authentication failed
        at org.apache.karaf.management.JaasAuthenticator.authenticate(JaasAuthenticator.java:78)
        at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:232)
       ...
    Caused by: javax.security.auth.login.LoginException: No LoginModules configured for karaf
        at javax.security.auth.login.LoginContext.init(LoginContext.java:264)
        at javax.security.auth.login.LoginContext.<init>(LoginContext.java:381)
        ...

Environment

  • Red Hat JBoss Fuse
    • 6.2 GA

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.