Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7520

VisualVM connection not possible in domain mode

    Details

    • Steps to Reproduce:
      Hide

      These steps work fine using Wildfly 8.2.0.Final and does not work anymore using
      Wildfly 10.1.0.Final:

      cd WF_HOME
      bin\add-user.bat -a monitor monitor
      

      in other window start default domain configuration:

      bin\domain.bat
      

      via CLI do these config changes

      bin\jboss-cli.bat --connect
      
      /profile=full/subsystem=jmx/remoting-connector=jmx:add
      /profile=full/subsystem=jmx/remoting-connector=jmx:write-attribute(name=use-management-endpoint, value=false)
      /server-group=main-server-group:reload-servers
      

      Now you should be able to connect to server-one with VisualVM by
      service:jmx:http-remoting-jmx://127.0.0.1:8080 as user monitor.

      Again this works fine using Wildfly 8.2.0.Final and does not work anymore with Wildfly
      10.1.0.Final.

      These steps are for simplification purposes. Also we cannot monitor a domain server in case of different master and slave hosts.

      Show
      These steps work fine using Wildfly 8.2.0.Final and does not work anymore using Wildfly 10.1.0.Final: cd WF_HOME bin\add-user.bat -a monitor monitor in other window start default domain configuration: bin\domain.bat via CLI do these config changes bin\jboss-cli.bat --connect /profile=full/subsystem=jmx/remoting-connector=jmx:add /profile=full/subsystem=jmx/remoting-connector=jmx:write-attribute(name=use-management-endpoint, value= false ) /server-group=main-server-group:reload-servers Now you should be able to connect to server-one with VisualVM by service:jmx:http-remoting-jmx://127.0.0.1:8080 as user monitor . Again this works fine using Wildfly 8.2.0.Final and does not work anymore with Wildfly 10.1.0.Final. These steps are for simplification purposes. Also we cannot monitor a domain server in case of different master and slave hosts.
    • Workaround Description:
      Hide

      unknown

      Show
      unknown

      Description

      VisualVM cannot connect to domain host server via service:jmx:http-remoting-jmx .

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kabirkhan Kabir Khan
                Reporter:
                gvwolf3d Gunther v. Wolffersdorff
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: