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

Server resources off the host resource allow the removal of deployments

XMLWordPrintable

    • Hide
      1. Deploy and application to a server-group (main-server-group is assumed here).
      2. Remove the deployment from the /host=master/server=server-one/deployment=some.war:remove
      3. Attempt to remove the deployment from /server-group=main-server-group/ or attempt the undeploy CLI command which will end in an NPE.
      Show
      Deploy and application to a server-group (main-server-group is assumed here). Remove the deployment from the /host=master/server=server-one/deployment=some.war:remove Attempt to remove the deployment from /server-group=main-server-group/ or attempt the undeploy CLI command which will end in an NPE.

      The following command succeeds, but leaves the deployment in a state that it can't be undeployed.

      /host=master/server=server-two/deployment=wildfly-helloworld.war:remove
      

      My guess is that operation should fail or further operations to remove the deployment should succeed.

              kwills@redhat.com Ken Wills
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: