Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3680

WFLYJMX0037 occurs with RBAC enabled when disconnecting JConsole

XMLWordPrintable

    • Hide

      1. set "rbac" as access control provider , and reload EAP.

      /core-service=management/access=authorization:write-attribute(name=provider,value=rbac)
      

      2. jconsole with Remoting JMX URL and without username/password.

      2-1. $JBOSS_HOME/bin/jconsole.sh
      2-2. set JMX URL only (username and password are empty), and connect EAP. For example,

       service:jmx:remote+http://xx.xx.xx.xx:9990
      

      or locally

       service:jmx:remote+http://127.0.0.1:9990
      

      3. disconnect on jconsole.

      4. you can see the Exception as "JMRuntimeException: WFLYJMX0037: Unauthorized access" on EAP server log.

      Show
      1. set "rbac" as access control provider , and reload EAP. /core-service=management/access=authorization:write-attribute(name=provider,value=rbac) 2. jconsole with Remoting JMX URL and without username/password. 2-1. $JBOSS_HOME/bin/jconsole.sh 2-2. set JMX URL only (username and password are empty), and connect EAP. For example, service:jmx:remote+http: //xx.xx.xx.xx:9990 or locally service:jmx:remote+http: //127.0.0.1:9990 3. disconnect on jconsole. 4. you can see the Exception as "JMRuntimeException: WFLYJMX0037: Unauthorized access" on EAP server log.

            ropalka Richard Opalka
            rhn-cservice-bbaranow Bartosz Baranowski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: