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

deployed marker is not removed if I change web.xml to something invalid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • No Release
    • 7.0.0.Beta3
    • Server
    • None
    • Hide
      1. make sure you have an as7 running in standalone mode
      2. copy an artifact in exploded manner to the deployment folder (ex. bogus.war - deployed as a folder)
      3. make sure it's started by checking if there's a .deployed (ex. bogus.war.deployed) marker
      4. change the web.xml to something invalid (I added an "!" to the closing tag of <display-name>
      5. trigger it's restart by creating a .dodeploy marker (ex. bogus.war.dodeploy)
      6. Accessing your app by browser (http://localhost:8080/bogus) shows you that the deployment was stopped.

      Result:
      You still have a .deployed marker in the deployment folder. (the .dodeploy marker was removed by the scanner)

      In the upcoming steps things get even more weird:

      1. change the web.xml to something valid again
      2. trigger its redeployment by creating a .dodeploy marker
      3. make sure you can access your app by browser

      Result:
      The deployment folder now has a .failed marker even though the deployment seems to be running.

      Show
      make sure you have an as7 running in standalone mode copy an artifact in exploded manner to the deployment folder (ex. bogus.war - deployed as a folder) make sure it's started by checking if there's a .deployed (ex. bogus.war.deployed) marker change the web.xml to something invalid (I added an "!" to the closing tag of <display-name> trigger it's restart by creating a .dodeploy marker (ex. bogus.war.dodeploy) Accessing your app by browser ( http://localhost:8080/bogus ) shows you that the deployment was stopped. Result: You still have a .deployed marker in the deployment folder. (the .dodeploy marker was removed by the scanner) In the upcoming steps things get even more weird: change the web.xml to something valid again trigger its redeployment by creating a .dodeploy marker make sure you can access your app by browser Result: The deployment folder now has a .failed marker even though the deployment seems to be running.

          Unassigned Unassigned
          adietish@redhat.com André Dietisheim
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: