Every time I redeploy a previously-deployed ear file to a running instance of JBoss, a new directory gets created in server/myserver/tmp/deploy/server/myserver/deploy/myear.ear. They look like
53.myear.ear-contents
54.myear.ear-contents
55.myear.ear-contents
56.myear.ear-contents
etc.
My ear file is fairly big (14 MB), and this tmp directory gets up to 1 GB after about 60 redeployments. It seems like JBoss should be cleaning up after itself and deleting the directories from old deployments, but it's not. Is this a bug? Is there some configuration setting I should change to make it clean up? Any advice would be appreciated. Thanks.