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

Doesn't work to define {EXT} command with parameters.

XMLWordPrintable

      Doesn't work to define

      {EXT} command with parameters.
      For {CMD} is everything OK.

      You can try it by this command (you must replace path to some real file).
      /subsystem=elytron/credential-store=CredStore011:add(uri="cr-store://test/cs999.jceks", credential-reference={type=COMMAND, clear-text="{EXT}

      /real/path/to/script/pass-ely.sh par011"})

      Result is this error msg:

      {
          "outcome" => "failed",
          "failure-description" => {
              "WFLYCTL0080: Failed services" => {"org.wildfly.security.credential-store.CredStore011" => "org.jboss.msc.service.StartException in service org.wildfly.security.credential-store.CredStore011: WFLYELY00004: Unable to start the service.
          Caused by: java.io.IOException: Cannot run program \"/real/path/to/script/pass-ely.sh par011\": error=2, No such file or directory
          Caused by: java.io.IOException: error=2, No such file or directory"},
              "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.credential-store.CredStore011"],
              "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
          },
          "rolled-back" => true
      }
      

              pskopek@redhat.com Peter Skopek
              hsvabek_jira Hynek Švábek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: