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

[7.1] Config Guide - Example CLI command to bind external contexts fails

XMLWordPrintable

      The example command under "Binding External Contexts" fails for 7.1 with the following results:

          /subsystem=naming/binding=java\:global\/federation\/ldap\/example:add(binding-type=external-context, cache=true, class=javax.naming.directory.InitialDirContext, environment=[java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, java.naming.provider.url=ldap\:\/\/ldap.example.com\:389, java.naming.security.authentication=simple, java.naming.security.principal=uid\=admin\,ou\=system, java.naming.security.credentials= secret])
      
          {
              "outcome" => "failed",
              "failure-description" => "WFLYCTL0097: Wrong type for 'environment'. Expected [OBJECT] but was LIST",
              "rolled-back" => true,
              "response-headers" => {"process-state" => "reload-required"}
          }
      

            rhn-support-ahoffer Andrea Hoffer
            sgilda_jira Sande Gilda (Inactive)
            Jan Martiska Jan Martiska
            Jan Martiska Jan Martiska
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: