-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike,
On 10/22/2011 7:38 AM, Mike wrote: > The logfile is created within the application deployed to the > webapps directory of tomcat (and there within > "[applicationName]\resources\log"). > > I am not trying to delete it. However, when issuing the redeploy > command with maven the problem appears ("The continued presence of > this file may cause problems.") and the application cannot be > redeployed. Even when trying to undeploy the application via the > tomcat manager (via the manager gui button "undeploy") it cannot be > undeployed completely. Only the war file and all application files > except the log file are removed. Only when stopping tomcat can the > application be completely removed. After starting tomcat again I > can deploy again successfully. Sounds like you aren't properly shutting-down your logging system when your webapp undeploys. That would result in the file staying open and thus being unavailable for delete. I agree with Pid that putting application log files into the deployment directory is a bad idea in general: they'll get deleted when you redeploy :) - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6lsaQACgkQ9CaO5/Lv0PA5QwCdGy2ousZ4bZ0aWvX2Pg7zB0ht 0tUAoLmUQDD2Ee0u1O6R3XDsHL/Y8jUp =4GME -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org