On 22/10/2011 12:38, Mike wrote: > Mark Thomas <markt <at> apache.org> writes: >> >> Where is the log file created? Why are you trying to delete it? >> >> Mark >> > > 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.
Writing the log file (or any file) inside the app isn't such a good idea. Try putting it in the tomcat/logs directory. p
signature.asc
Description: OpenPGP digital signature