Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10010

[GSS](7.1.0) Improve error message when subsystem is missing

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate Issue
    • Affects Version/s: 7.1.0.DR15
    • Fix Version/s: 7.1.0.DR17
    • Component/s: Clustering
    • Labels:
      None
    • Target Release:
    • Steps to Reproduce:
      Hide

      In domain mode configure following protocols in the jgroups subsystem without the elytron subsystem being configured (or simply port an EAP 7.0.x config with the referenced protocols)
      <encrypt-protocol type="ASYM_ENCRYPT"..> ...
      <protocol type="AUTH"> ...

      Show
      In domain mode configure following protocols in the jgroups subsystem without the elytron subsystem being configured (or simply port an EAP 7.0.x config with the referenced protocols) <encrypt-protocol type="ASYM_ENCRYPT"..> ... <protocol type="AUTH"> ...

      Description

      Can the error message be improved to recognise that not only is there no operation registered at the address, but there is no subsystem registered with that name.

      Example: If ASYM_ENCRYPT is configured, without the elytron subsystem being present, there is a runtime error which doesn't make it obvious how to address the problem.
      Customers porting EAP 7.0.x domain config to EAP 7.1.0 with fix for CVE-2016-2141 will see this

      Runtime Error:
      [Host Controller] 16:21:35,148 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
      [Host Controller] ("profile" => "full-ha"),
      [Host Controller] ("subsystem" => "jgroups"),
      [Host Controller] ("stack" => "tcpping"),
      [Host Controller] ("protocol" => "ASYM_ENCRYPT")
      [Host Controller] ]) - failure description: "WFLYCLJG0026: No add operation registered at /profile=full-ha/subsystem=elytron/key-store=jgroups-tcpping"
      [Host Controller] 16:21:35,164 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0034: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.
      [Host Controller] 16:21:35,170 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0178: Aborting with exit code 99

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pferraro Paul Ferraro
                  Reporter:
                  lakagwu Lami Akagwu
                  Tester:
                  Richard Janik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: