-
1. Re: Help! War file is redeployed every time I restart JBoss
juha Sep 10, 2002 9:29 AM (in response to arbie)It's a workaround for the brain dead file locking in windows (a copy of the ear is created every time it is deployed). I don't know why it is not cleaning up temp files, if they're created as such, windows should be able to handle them on its own.
-
2. Re: Help! War file is redeployed every time I restart JBoss
arbie Sep 10, 2002 5:01 PM (in response to arbie)I've never heard of Windows automatically deleting temp files. I thought this was left up to the program. How is Windows supposed to know when a file/folder is no longer needed?
Is there a way to not have the war deployed every time? If the war hasn't changed, there is no reason to redeploy (except of course that temp files are used, and there is no guarantee that they are still there). -
3. Re: Help! War file is redeployed every time I restart JBoss
juha Sep 10, 2002 5:59 PM (in response to arbie)> I've never heard of Windows automatically deleting
> temp files. I thought this was left up to the
> program. How is Windows supposed to know when a
> file/folder is no longer needed?
When the process that created the temp file exits? I don't know, I don't design Windows.
> Is there a way to not have the war deployed every
> time?
What you mean? If the server is restarted and your ear is in deploy directory, it is deployed. -
4. Re: Help! War file is redeployed every time I restart JBoss
juha Sep 10, 2002 6:43 PM (in response to arbie)hmm, maybe we're missing the deleteOnExit() call somewhere, dunno, have to look