Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8851

AS7 server adapter: "Could not delete war" error when swtiching from exploded to compressed war and publishing afterwards

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 3.3.0.M3
    • 3.3.0.M1
    • server
    • None
    • Hide

      1) make sure you have a dynamic web project to publish
      2) make sure you have a running (started) server adapter for a JBoss AS7
      3) open up the server adapter and uncheck "Deploy projects as compressed archives"
      4) add your project to the server adapter and wait until its published
      5) open the server adapter, check "Deploy projects as compressed archives", but DONT SAVE
      6) change a artifact in your dynamic web project (ex. a html file) and save the editor (html-editor, java editor) you use to do the change

      Result:
      Error pops up that tells you that the project could not be published. The publisher actually tried to delete the war-file and could not since you published the war as exploded war and it's therefore still present as directory on AS.

      Expected:
      No error pops up. Actually the publisher should try to delete the folder and not the war-file (since we did not save the editor!!)

      Show
      1) make sure you have a dynamic web project to publish 2) make sure you have a running (started) server adapter for a JBoss AS7 3) open up the server adapter and uncheck "Deploy projects as compressed archives" 4) add your project to the server adapter and wait until its published 5) open the server adapter, check "Deploy projects as compressed archives", but DONT SAVE 6) change a artifact in your dynamic web project (ex. a html file) and save the editor (html-editor, java editor) you use to do the change Result: Error pops up that tells you that the project could not be published. The publisher actually tried to delete the war-file and could not since you published the war as exploded war and it's therefore still present as directory on AS. Expected: No error pops up. Actually the publisher should try to delete the folder and not the war-file (since we did not save the editor!!)

          rob.stryker Rob Stryker (Inactive)
          adietish@redhat.com André Dietisheim
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

            Created:
            Updated:
            Resolved: