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

VisualVM connection not possible in domain mode

    XMLWordPrintable

Details

    • 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.
    • Hide

      unknown

      Show
      unknown

    Description

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

      Attachments

        Activity

          People

            kkhan1@redhat.com Kabir Khan
            gvwolf3d Gunther vw (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: