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

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

    XMLWordPrintable

Details

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

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

      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 OSGI bundle (see https://docs.jboss.org/author/display/AS7/Helloworld+OSGi+quickstart )
    • Low

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              lzoubek Libor Zoubek (Inactive)
              lzoubek Libor Zoubek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: