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

Managed server can't be :stop :removed within a batch

    XMLWordPrintable

Details

    Description

      Hava a running managed server in domain mode

      [domain@localhost:9999 server-config=blabla] batch
      [domain@localhost:9999 server-config=blabla #] :stop
      #1 /host=master/server-config=blabla:stop
      [domain@localhost:9999 server-config=blabla #] :remove
      #2 /host=master/server-config=blabla:remove
      [domain@localhost:9999 server-config=blabla #] run-batch
      Failed to execute batch: JBAS014654: Composite operation was rolled back

      If you do those :stop , :remove operations outside of a batch it works

      [domain@localhost:9999 server-config=blabla] :stop
      {
      "outcome" => "success",
      "result" => "STOPPING"
      }
      [domain@localhost:9999 server-config=blabla] :remove
      {
      "outcome" => "success",
      "result" =>

      {"outcome" => "success"}

      ,
      "server-groups" => undefined
      }

      Attachments

        Activity

          People

            emuckenhuber_jira Emanuel Muckenhuber (Inactive)
            pilhuhn Heiko Rupp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: