Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-3649

Doc: In jolokia-access.xml, allowing a remote access using FQDN doesn't work.

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • AMQ 7.2.2.GA
    • documentation, management
    • None

      1. there is NO documentation on how to allow a remote client access hawtio. This is filed under https://issues.jboss.org/browse/FUSEDOC-2951

      2. In order to get a remote client access to hawtio, there are two parts to make changes
      2.1 add the remote host (if not set it allows any one to access it)

      Unable to find source-code formatter for language: jolokia-access.xml. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
       <remote>
          <host>127.0.0.1</host>
          <host>localhost</host>
          <host>10.0.0.0/16</host>
        </remote> 
      

      2.2 Change the

      Unable to find source-code formatter for language: jolokia-access.xml. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
       
      <cors>
          <!-- Allow cross origin access only within localhost-->
          <allow-origin>http*://<serverFDQN>:*</allow-origin>
      

      3. This bug problem is in #2.1 when <host> is using a FQDN, it won't work.

      Unable to find source-code formatter for language: jolokia-access.xml. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
       
       <remote>
          <host>myclient.mycompany.com</host>
        </remote> 
      

      It only works when it is an IP address or an IP range.

            jcliffor@redhat.com John Clifford
            jbyrne@redhat.com John Byrne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: