You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Jean-Noel Charpin (JIRA)" <ji...@apache.org> on 2016/08/12 12:47:20 UTC

[jira] [Created] (LOG4J2-1513) Configuration properties file is locked

Jean-Noel Charpin created LOG4J2-1513:
-----------------------------------------

             Summary: Configuration properties file is locked
                 Key: LOG4J2-1513
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1513
             Project: Log4j 2
          Issue Type: Bug
          Components: Configurators
    Affects Versions: 2.6.2
            Reporter: Jean-Noel Charpin
            Priority: Minor


Context: on a windows environment within a junit test suite this is not possible to delete the configuration file on tear down,  LogManager.shutdown() is done.

It works fine for an XMLConfiguration.

"The process cannot access the file because it is being used by another process."

Could it be related to an unclosed stream on the properties configuration file ? Possibly handled by PropertiesConfigurationFactory.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org