Log4j.properties locked by tomcat. Cannot undeploy Webapp.
0 posts in topic
Flat View  Flat View

Posted By:   N_AP
Posted On:   Wednesday, July 1, 2009 04:50 AM


Hi all,

I am running log4j in a webapplication. But when I try to undeploy the app, the application does not get undeployed completely and cleanly. The log4j.properties file stays on the server, all other files are deleted from the webapp's folder.
How do I ensure that this file is released when the webapp is undeployed. LogManager.shutdown() in the method contextDestroyed(ServletContextEvent sce) does not seem to stop the logging.

About | Sitemap | Contact