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

[Hawtio] Error when we change the hostname in bootstrap.xml of the management console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • AMQ 7.2.1.GA
    • console, management
    • None
    • Hide

      1. vi /etc/hosts (Add fabric1.example.com as hostname for 127.0.0.1)

      127.0.0.1 localhost.localdomain localhost fabric1.example.com
      ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

      2. vi bootstrap.xml (Edit bootstrap.xml and replace localhost by fabric1.example.com)

         <web bind="http://fabric1.example.com:8161" path="web">
      

      3. Run the management console

      Show
      1. vi /etc/hosts (Add fabric1.example.com as hostname for 127.0.0.1) 127.0.0.1 localhost.localdomain localhost fabric1.example.com ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 2. vi bootstrap.xml (Edit bootstrap.xml and replace localhost by fabric1.example.com) <web bind= "http: //fabric1.example.com:8161" path= "web" > 3. Run the management console

      When we change the hostname in bootstrap.xml of the management console, we got the following error:

      [ARTEMIS] plugin running [object Object]
      [ARTEMIS] *************creating Artemis Console************
      [RHBranding] Red Hat theme loaded
      [QDR] *************creating Dispatch Console************
      [QDR] curPath is /
      [Core] Management Console started
      [Core] Operation unknown failed due to: java.lang.Exception : Origin http://fabric1.example.com:8161 is not allowed to call this agent
      [Core] Operation unknown failed due to: java.lang.Exception : Origin http://fabric1.example.com:8161 is not allowed to call this agent
      [Window] Uncaught TypeError: Cannot read property 'apply' of undefined 
      

              rh-ee-ataylor Andy Taylor
              rhn-support-aboucham Abel Bouchama
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: