0 Replies Latest reply on Dec 21, 2006 1:00 PM by Yu Li

    How to prevent JBoss from deleting temporary files when shut

    Yu Li Newbie

      We are running a JBoss instance as a Windows service, and sometimes cannot shutdown the service normally. The problem is that Windows service management gives a service 20 seconds to shutdown, and our JBoss sometimes takes more than that. When we profile it, we find half of the shutdown time is used by JBoss to delete temporary files (expanded war/sar files, etc.). Is there a way to configure JBoss not to do that? The next time you starts the temp files will come back anyway, so there is no real need to delete them everytime you shutdown (on UNIX this is not an issue, because deleting stuff is lightening fast but unfortunately on Windows it is different story.