https://issues.apache.org/bugzilla/show_bug.cgi?id=48588
Summary: DOMConfigurator does not close input stream when
configured based on URL
Product: Log4j
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Configurator
AssignedTo: [email protected]
ReportedBy: [email protected]
DOMConfigurator.doConfigure(final URL url, LoggerRepository repository) opens
the configuration file using the equivalent of
url.openConnection().getInputStream()). However, that input stream is never
closed.
In some situations, when DOMConfigurator.configure(URL) is invoked multiple
times, it leads to
java.io.FileNotFoundException: log4j.xml (Too many open files (errno:24))
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]