You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by lamont <la...@gmail.com> on 2005/10/30 18:16:33 UTC

tomcat deployment...

I'm running tomcat 5.5.9 on Linux. I'm trying to get ant to deploy a 
simple webapp I have in a development directory.

I have the following in my build.xml file:
 <target name="install" depends="compile"
   description="Install application to servlet container">
    <deploy url="${manager.url}"
       username="${manager.username}"
       password="${manager.password}"
           path="${app.path}"
       localWar="file://${build.home}"/>
  </target>

Whenever I type 'ant install' on the command line I get the following 
error message:

[deploy] FAIL - Failed to deploy application at context path /mondialdb

I have defined all the variables in build.properties, as specified in 
the tomcat documentation.

Does anyone know a possible reason why the application won't deploy? My 
directory structure is the same as the Deployment section in the Tomcat 
documentation.

Thanks in advance.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: tomcat deployment...

Posted by rahul <ra...@amsoft.net>.
This might be happening if there is a deployed application already exists.

Add  update="true" attribute in your <deploy> command,
even if this not works then try to manually delete webapps/<yourAppName> as
well as <tomcat_home>/work/<engine>/<yourAppName> directory 
and try again


 -RahulJoshi


> -----Original Message-----
> From: lamont [mailto:lamont.nelson@gmail.com]
> Sent: Sunday, October 30, 2005 10:47 PM
> To: users@tomcat.apache.org
> Subject: tomcat deployment...
> 
> 
> I'm running tomcat 5.5.9 on Linux. I'm trying to get ant to deploy a 
> simple webapp I have in a development directory.
> 
> I have the following in my build.xml file:
>  <target name="install" depends="compile"
>    description="Install application to servlet container">
>     <deploy url="${manager.url}"
>        username="${manager.username}"
>        password="${manager.password}"
>            path="${app.path}"
>        localWar="file://${build.home}"/>
>   </target>
> 
> Whenever I type 'ant install' on the command line I get the following 
> error message:
> 
> [deploy] FAIL - Failed to deploy application at context path /mondialdb
> 
> I have defined all the variables in build.properties, as specified in 
> the tomcat documentation.
> 
> Does anyone know a possible reason why the application won't deploy? My 
> directory structure is the same as the Deployment section in the Tomcat 
> documentation.
> 
> Thanks in advance.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org