Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9921

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • None
    • fuse-7.0
    • Hawtio
    • None
    • Medium
    • % %
    • Hide

      Use IP address or IP address range and not FQDN

      Show
      Use IP address or IP address range and not FQDN

      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.

        1. getRemote.zip
          12.50 MB
        2. getRemote-fix.zip
          12.60 MB

            rhn-support-tasato Tadayoshi Sato
            rhn-support-whui Roger Hui
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: