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

[GSS](7.0.z) Bindings of most binding-types can not be created in naming subsystem configuration in Web Console

XMLWordPrintable

    • EAP 7.0.8

      When adding bindings in naming subsystem configuration of Web Console, the Add form has wrong mandatory fields. Mandatory fields for bindings are dependent on binding type.

      On the other hand, some binding types do not have attributes that the Add form will try to send to the interface, resulting in user being unable to add any binding type besides external context (for example, adding a simple or lookup binding will result in Unknown error due to simple binding type not being able to have 'cache' attribute).

      For example, /subsystem=naming/binding=java\:global\/a:add(binding-type=simple, type=int, value=100) would be a legal simple binding inserted through the JBoss CLI:

      {"outcome" => "success"}

      Adding this same following binding will produce the following error output in Web Console:

      Unknown error

      Unexpected HTTP response: 500

      Request

      {
          "name" => "java:global/a",
          "binding-type" => "simple",
          "cache" => false,
          "class" => undefined,
          "environment" => undefined,
          "lookup" => undefined,
          "module" => undefined,
          "type" => "int",
          "value" => "100",
          "operation" => "add",
          "address" => [
              ("subsystem" => "naming"),
              ("binding" => "java:global/a")
          ]
      }

      Response

      Internal Server Error

      {
          "outcome" => "failed",
          "failure-description" => "WFLYNAM0061: Binding type simple can not take a 'cache' attribute",
          "rolled-back" => true
      }

              thofman Tomas Hofman
              rhn-support-bmaxwell Brad Maxwell
              Jiří Bílek Jiří Bílek (Inactive)
              Jiří Bílek Jiří Bílek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified