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.
- is cloned by
-
JBIDE-9206 AS7 Adapter : Deployment of zipped projects fails if the temporary folder doesn't exist
- Closed
- is related to
-
JBIDE-9709 osgi deployments fails
- Closed
- relates to
-
JBIDE-9133 Utility projects are not zipped inside WEB-INF/lib when deploying to AS7
- Closed