Re: log4j2.properties file locked in Tomcat 8.0

2017-08-11 Thread Remko Popma
Also, what is your Log4j2 configuration? Some file appender configurations result in file locking. (Shameless plug) Every java main() method deserves http://picocli.info > On Aug 11, 2017, at 17:36, Bogdan wrote: > > Hello again, > > I have tested with the latest version

Re: log4j2.properties file locked in Tomcat 8.0

2017-08-11 Thread Remko Popma
Is this on Windows? Have you tried to find what file exactly is being locked with a tool like Process Explorer from SysExternals (now Microsoft): https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer (Shameless plug) Every java main() method deserves http://picocli.info > On

Re: log4j2.properties file locked in Tomcat 8.0

2017-08-11 Thread Bogdan
Hello again, I have tested with the latest version of log4j2, 2.8.2 and it seems that this is still happening. Any ideea on how could i work around this? We have a release today and apparently this bug is forcing us to revert to log4j1. Thank you! Bogdan On Thu, Aug 10, 2017 at 8:42 PM, Bogdan

Re: log4j2.properties file locked in Tomcat 8.0

2017-08-10 Thread Bogdan
I will do this tomorrow. Thanks! > On 10 Aug 2017, at 19:28, Gary Gregory wrote: > > Can you update to 2.8.2 so we can compare to the current codebase? > > Gary > >> On Aug 10, 2017 09:37, "Bogdan" wrote: >> >> Hello, >> >> When undeploying my

Re: log4j2.properties file locked in Tomcat 8.0

2017-08-10 Thread Gary Gregory
Can you update to 2.8.2 so we can compare to the current codebase? Gary On Aug 10, 2017 09:37, "Bogdan" wrote: > Hello, > > When undeploying my webapp in tomcat i get the following error: > > FAIL - Unable to delete [web-app-name]. The continued presence of this > file may