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

NoSuchElementException when running rebind operation without binding-type specified

XMLWordPrintable

      [standalone@localhost:9990 /] /subsystem=naming/binding="java:/hello":add(binding-type=simple, value=hello)
      {"outcome" => "success"}
      [standalone@localhost:9990 /] /subsystem=naming/binding="java:/hello":rebind    
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0158: Operation handler failed: java.util.NoSuchElementException: No child 'binding-type' exists",
          "rolled-back" => true
      }
      

      When I forget the binding-type parameter, the error message should be more informative.

              chaowan@redhat.com Chao Wang
              jmartisk@redhat.com Jan Martiska
              Michal Jurc Michal Jurc
              Michal Jurc Michal Jurc
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: