Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
JBossAS-3.2.6 Final
-
None
Description
SourceForge Submitter: rodburgett .
The org.mortbay.util.RolloverFileOutputStream class
employs a separate thread that is started upon first
RFOS instantiation and that is not stopped until the
JVM is halted.
The attached patch file adds control of the thread to the
class, by interrupting the thread when the number of
rollovers reaches 0. When the final output stream is
closed, the thread will die. When a new output stream
is opened, a new thread will be created. When JBoss
shuts down, this thread will die after the last stream is
closed.