2 Replies Latest reply on Jul 12, 2005 2:37 AM by glacier

    JBoss tmp folder cleanup

    glacier

      Hi,

      I'm new to JBoss and would like to know if I'm missing something. When applications are added and removed from JBoss, fragments remain behind in the tmp and work folders. I don't have a problem with this. My question is: If an application is removed from JBoss, why does JBoss not automatically clean up the tmp and work folders when it undeploys the war or ear files?

      Thanks,
      Grant

        • 1. Re: JBoss tmp folder cleanup
          darranl

          Are you also getting messages in the console saying that files could not be deleted?

          Some of the archives get locked when they are used and as a result can not be deleted until the JVM exists.

          • 2. Re: JBoss tmp folder cleanup
            glacier

            Thanks for the reply,

            Yes, the console does say that the files cannot be deleted. I just find it strange that the lock on the files is not released. For some reason I just thought that when JBoss was done with a particular war, ear, etc. the lock would be released. Guess not then?