Uploaded image for project: 'AMQ Interconnect'
  1. AMQ Interconnect
  2. ENTMQIC-2240

Default configuration uses the deprecated entity 'httpRoot'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 1.5.0.GA
    • 1.4.1.GA
    • Qpid Dispatch Router
    • None
    • Compatibility/Configuration
    • IC-2019-07

      Default configuration (/etc/qpid-dispatch/qdrouterd.conf) provided in rpm includes:

      listener {
          host: 0.0.0.0
          port: 8672
          authenticatePeer: no
          http: yes
          httpRoot: /usr/share/qpid-dispatch/console
      }
      

      When is router started:

      qdrouterd
      2019-05-25 04:42:40.540804 -0400 AGENT (warning) Attribute 'httpRoot' of entity 'listener' has been deprecated. Use 'httpRootDir' instead
      2019-05-25 04:42:40.588361 -0400 SERVER (info) Container Name: Standalone_TK5ftYQJdV7dwkk
      2019-05-25 04:42:40.588483 -0400 ROUTER (info) Router started in Standalone mode
      2019-05-25 04:42:40.588490 -0400 ROUTER (info) Version: Red Hat AMQ Interconnect 1.4.1 (qpid-dispatch 1.7.0)
      2019-05-25 04:42:40.589030 -0400 ROUTER (info) Core module present but disabled: edge_router
      2019-05-25 04:42:40.589062 -0400 ROUTER (info) Core module present but disabled: core_test_hooks
      2019-05-25 04:42:40.589082 -0400 ROUTER (info) Core module present but disabled: edge_addr_tracking
      2019-05-25 04:42:40.589089 -0400 ROUTER (info) Core module present but disabled: address_lookup_server
      2019-05-25 04:42:40.589100 -0400 ROUTER (info) Core module enabled: address_lookup_client
      2019-05-25 04:42:40.589107 -0400 ROUTER (info) Router Core thread running. 0/Standalone_TK5ftYQJdV7dwkk
      2019-05-25 04:42:40.589115 -0400 ROUTER (info) In-process subscription M/$management
      2019-05-25 04:42:40.596811 -0400 AGENT (info) Activating management agent on $_management_internal
      2019-05-25 04:42:40.597036 -0400 ROUTER (info) In-process subscription L/$management
      2019-05-25 04:42:40.597074 -0400 ROUTER (info) In-process subscription L/$_management_internal
      2019-05-25 04:42:40.597369 -0400 POLICY (info) Policy configured maxConnections: 65535, policyDir: '',access rules enabled: 'false', use hostname patterns: 'false'
      2019-05-25 04:42:40.598101 -0400 POLICY (info) Policy fallback defaultVhost is defined: '$default'
      2019-05-25 04:42:40.598385 -0400 CONN_MGR (info) Configured Listener: 0.0.0.0:amqp proto=any, role=normal
      2019-05-25 04:42:40.599633 -0400 CONN_MGR (info) Configured Listener: 0.0.0.0:8672 proto=any, role=normal, http
      2019-05-25 04:42:40.599775 -0400 SERVER (info) HTTP server thread running
      2019-05-25 04:42:40.599881 -0400 SERVER (notice) Listening for HTTP on 0.0.0.0:8672
      2019-05-25 04:42:40.602553 -0400 SERVER (notice) Operational, 4 Threads Running (process ID 13084)
      2019-05-25 04:42:40.603213 -0400 SERVER (notice) Listening on 0.0.0.0:amqp
      

      The solution is to replace deprecated "httpRoot" to the new 'httpRootDir'.

              mcressma@redhat.com Michael Cressman (Inactive)
              dlenoch@redhat.com Dominik Lenosi (Inactive)
              Dominik Lenosi Dominik Lenosi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: