[jboss-user] [Installation, Configuration & Deployment] - How to prevent JBoss from deleting temporary files when shut

liyufx do-not-reply at jboss.com
Thu Dec 21 13:00:35 EST 2006


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995683#3995683

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995683



More information about the jboss-user mailing list