Status: Closed (View Workflow)
Affects Version/s: 3.3.0.M3
Fix Version/s: 3.3.0.M4
Steps to Reproduce:
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)
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.