Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4282

deploy ignores unrecognized arguments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.2.Final (EAP)
    • 7.1.1.Final
    • CLI
    • None

      Runtime name won't get set when deploying from CLI. It does work from web console.

      deploy  C:\as7trunk\as7jsf\hackedwar\mojarra2.0-notbundled.war  --name=foo  --runtime_name=bar.war
      {
          "outcome" => "success",
          "result" => {
              "step-1" => {"outcome" => "success"},
              "step-2" => {"outcome" => "success"}
          }
      }
      
      /deployment=foo/:read-resource
      {
          "outcome" => "success",
          "result" => {
              "content" => [{"hash" => bytes {
                  0x48, 0x05, 0xe8, 0x32, 0xf8, 0x17, 0xea, 0xa0,
                  0x93, 0x55, 0x2f, 0x89, 0xdb, 0xed, 0xf3, 0x56,
                  0xde, 0x78, 0xe9, 0x1d
              }}],
              "enabled" => true,
              "name" => "foo",
              "persistent" => true,
              "runtime-name" => "foo",
              "subdeployment" => undefined,
              "subsystem" => undefined
          }
      }
      

              olubyans@redhat.com Alexey Loubyansky
              ssilvert@redhat.com Stan Silvert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: