It also could be a permissions problem. What platform is the server? I know on OpenVMS that if you use the manager application to deploy an application and then try to undeploy it, the permissions on the directory are not correct and thus it cannot delete the directories. (There is a logical to change this behavior for OpenVMS). So I would suggest to check your permissions before you try to undeploy and make sure you have delete privileges.
HTH On 6/6/06, Peter Hubbard <[EMAIL PROTECTED]> wrote:
On Mon, 2006-06-05 at 23:40 -0700, Venkatesh Babu wrote: > Hello All, > > I'm using Tomcat 4.1 and trying to deploy/undeploy > application using ant targets. > > Earlier I posted a mail on deploy task not working due > to some protocol error. Got the solution for that :-) > > But right now undeploy task is not working. It is > giving an error saying: > > FAIL - Cannot remove document base for path /app1 I found this often happened to me if there were open database connections in the webapp, and I tried to undeploy it before stopping it. -- Peter Hubbard <[EMAIL PROTECTED]> --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Marc Farrow