Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-148

After redeploy an application to a domain the old content is not removed at slave host

    XMLWordPrintable

Details

    • Hide

      Setup a domain with two instances.
      use host-master for the master
      and host-slave (server-two can be removed) as slave
      use
      deploy app.ear --server-groups=main-server-group
      deploy app.ear --force # the app.ear must have a different content b/c SHA1

      master is correct with only one content
      slave contains both

      Show
      Setup a domain with two instances. use host-master for the master and host-slave (server-two can be removed) as slave use deploy app.ear --server-groups=main-server-group deploy app.ear --force # the app.ear must have a different content b/c SHA1 master is correct with only one content slave contains both

    Description

      If an application deployed on a domain slave HC the content is not removed if a new version of the application is deployed with 'deploy xxx --force'

      The logfile looks correct and shows:
      JBAS018565: Replaced deployment "appone.ear" with deployment "appone.ear"
      JBAS014901: Content removed from location /.../domain/servers/server-one/data/content/5e/c06cd5b58b1b6578188d822b351a14f974804c/content

      If the folder is checked the file still exists.

      An undeploy remove the files correct with the same log messages.

      Attachments

        Activity

          People

            emuckenhuber_jira Emanuel Muckenhuber (Inactive)
            rhn-support-wfink Wolf Fink
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: