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

AS7 Adapter : Deployment of zipped projects fails if the temporary folder doesn't exist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M3
    • 3.3.0.M2
    • server
    • None
    • Hide

      In order to reproduce, I believe (haven't tried) you can :

      • create an AS7 server
      • delete the temp deployment folder
      • try to deploy a webapp + its utility project jarred in WEB-INF/lib
      Show
      In order to reproduce, I believe (haven't tried) you can : create an AS7 server delete the temp deployment folder try to deploy a webapp + its utility project jarred in WEB-INF/lib
    • Low

      I noticed that, in the context of JBIDE-9133, for the existing broken AS7 server instances the utility projects were not zipped to the deployment area.
      On the other hand, creating a new server instance fixed the issue.

      So it seems the temporary folder is only created at the same time as the server instance.
      It's an issue in the sense that you can not guarantee the temporary folder will exist at deployment time (could have been deleted by the user ...).

      Solution is to call tempdir.mkdirs() right before the actual deployment occurs.

              rob.stryker Rob Stryker (Inactive)
              fbricon@redhat.com Fred Bricon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: