Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-7161

Improve deployment message on duplicate runtime name

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 28.0.0.Beta4, 28.0.0.Final
    • None
    • Server
    • None

      Duplicating deployment of different DUs with same runtimeName produce confusing message. This is not the case in domain mode:

      Reproduce:

      ./bin/jboss-cli.sh --connect --command="deploy /home/baranowb/redhat/git/quickstart/helloworld/target/helloworld-1.0.war --runtime-name=MyApp --force"
      ./bin/jboss-cli.sh --connect --command="deploy /home/baranowb/redhat/git/quickstart/helloworld/target/helloworld-1.1.war --runtime-name=MyApp --force"
      {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" =>

      {"Operation step-2" => "WFLYSRV0205: There is already a deployment called helloworld-1.1.war with the same runtime name MyApp"}

      }

              rhn-cservice-bbaranow Bartosz Baranowski
              rhn-cservice-bbaranow Bartosz Baranowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: