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

Runtime modifications in static files of exploded WARs of exploded EARs aren't reflected.

    XMLWordPrintable

Details

    • Hide

      To test it, you can do this in a clean install of Wildfly:

      cd $WILDFLY/standalone/deployments/
      mkdir -p test.ear/test-war.war/
      vim test.ear/test-war.war/index.html
      <Write some arbitrary content>
      touch test.ear.dodeploy

      Once it's deployed, visit the page "index.html" from the Web browser and check that the content is there. Now modify it:

      vim test.ear/test-war.war/index.html
      <Change the content of the file>

      If you reload the page, it stays with the old content.

      Show
      To test it, you can do this in a clean install of Wildfly: cd $WILDFLY/standalone/deployments/ mkdir -p test.ear/test-war.war/ vim test.ear/test-war.war/index.html <Write some arbitrary content> touch test.ear.dodeploy Once it's deployed, visit the page "index.html" from the Web browser and check that the content is there. Now modify it: vim test.ear/test-war.war/index.html <Change the content of the file> If you reload the page, it stays with the old content.

    Description

      If you put a exploded WAR in $WILDFLY/standalone/deployments/ and modify a static file once the application is deployed and running, such as an HTML or JPEG file, the changes are reflected in the output to the client. However, if the exploded WAR is contained at the same time in a exploded EAR, they aren't.

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              negora negora negora
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: