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

http-remoting-jmx connection failure connecting to Undertow subsystem instead of Undertow management

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 8.1.0.CR1, 8.1.0.Final
    • 8.0.0.Final
    • JMX, Remoting
    • None
    • Workaround Exists
    • Hide

      Edit the module definition for 'org.wildfly.extension.io' and add the following dependency: -

              <module name="javax.api"/>
      
      Show
      Edit the module definition for 'org.wildfly.extension.io' and add the following dependency: - <module name= "javax.api" />

    Description

      i have gone through the below link for JMX subsystem for wildfly 8 as
      https://docs.jboss.org/author/display/WFLY8/JMX+subsystem+configuration

      but unable to connect to server-instances running remotely ...i have posted my question there as well and pasting it here now ...
      can someone please give us the steps to configure JMX through jconsole...?

      changes done on the domain.xml are the same as stated above

      <subsystem xmlns="urn:jboss:domain:jmx:1.3">
      <expose-resolved-model/>
      <expose-expression-model/>
      <remoting-connector use-management-endpoint="false"/>
      </subsystem>
      <subsystem xmlns="urn:jboss:domain:jmx:1.3">
      <expose-resolved-model/>
      <expose-expression-model/>
      <remoting-connector use-management-endpoint="false"/>
      </subsystem>
      as per the jboss-as-jmx_1_3.xsd its like
      <xs:attribute name="use-management-endpoint" type="xs:boolean" default="true" use="optional" >
      <xs:annotation>
      <xs:documentation>
      If true then this connector will use the management endpoint, otherwise it will use the
      remoting subsystem endpoint.
      </xs:documentation>
      </xs:annotation>
      </xs:attribute>
      now if we are making it false then it should be using the remoting endpoint ...now remoting subsystem by default uses ApplicatoinRealm
      i have created application-user and password for the same but when i am trying to connect to remote server-instances its not connecting it....
      below is what i am able to connect to
      service:jmx:http-remoting-jmx://remote_hostA:9990 –

      Unknown macro:

      {host A is where my domain_controller is running}

      how can i access the server-instances running on domain_controller

      Unknown macro:

      {there are three server_instanaces running on HostA with a port offset of 100 each}

      i am trying to connect with the below url as
      service:jmx:http-remoting-jmx://lremote_hostA:8180

      let me know if something is missing from my side...
      Thanks

      Attachments

        Activity

          People

            darran.lofthouse@redhat.com Darran Lofthouse
            rituraj_jira Rituraj Sinha (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: