logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabien Sanglard <fsangl...@timeplay.com>
Subject Issue with Tomcat auto-redeploy on Windows.
Date Wed, 17 Apr 2013 20:28:37 GMT
It seems there is an issue with log4j 2 not closing the core JAR handle 
on Windows.
It prevents Tomcat from auto redeploying an app.

Upon updating an hypothetical DiscoveryService.war in the 'webapps' 
folder, the redeploy will fail:

SEVERE: [C:\Program 
Files\apache-tomcat-7.0.39\webapps\DiscoveryService\WEB-INF\lib] could 
not be completely deleted. The presence of the remaining files may cause 
problems

Upon inspection it looks like:

C:\Program 
Files\apache-tomcat-7.0.39\webapps\DiscoveryService\WEB-INF\lib\log4j-core-2.0-beta4.jar

Cannot be deleted :/ ! Is there anything special to do so log4j 2 close 
the JAR handle ?

Fab

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


Mime
View raw message