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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • AMQ 7.4.4.CR1
    • AMQ 7.2.2.GA
    • 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.

            dbruscin Domenico Francesco Bruscino
            dbruscin Domenico Francesco Bruscino
            Tiago Bueno Tiago Bueno
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: