If you deploy as a war archive, JBoss copies it
to a temporary directory. This is then deleted at
You can make a directory structure that looks like
a war in the deploy directory. From JBoss2.4.4 this
is deployed as is, so your changes won't get deleted
Thanks for the reply. I actually tried this, and it didn't work. It throws a 500 error. But then I did a search and found you need to have .war as an extension to your directory you deploy it in.
For instance if you want to deploy an application to http://localhost:8080/blah/
then you need a blah.war directory in your deploy directory rather than a blah directory.
Thanks again, your reply was key in getting this to work for me.
I've a similar problem: when my app is undeployed the temporary folder is not deleted and after a few days it is full of neste*.jar, ... (tmp on an AIX machine).
Any idea about the reason those files are not cleared?
Thanks in advance,