You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by rahul <ra...@amsoft.net> on 2005/09/12 14:04:19 UTC

problem with tomcat manager's deploy command

Hi all,

I am trying to use Tomcat Manager's deploy command using Ant script to
deploy a web application.
The command doesn't work in case there is an entry in tomcat
configuration file "server.xml" for my application like
<context path="/myAppName" .....>
...
...
</context>

which I am using for connection pooling purpose.
on running tomcat manager's deploy command using ant,
I get an error saying "Application already exists at path /myAppName"
even when there is no application folder in webapps

If I remove this context tag from "server.xml" then the deploy
command works fine.

But I want to keep this information in "server.xml" and at
the same time use tomcat manager's deploy command from ant script

I am using tomcat-5.5.7 with ant-1.6.5

Can anyone help?

Thanks in advance
RahulJoshi