title: Jenkins Deploy Error Tomcat 6.x
body: <p>Im trying to use jenkins to build and deploy the war file to a tomcat present in different server and im getting the following error -</p>
  
  <pre><code>Deploying /var/lib/jenkins/jobs/ura_Web/workspace/ura-1.0.war to container Tomcat 6.x Remote
  ERROR: Publisher hudson.plugins.deploy.DeployPublisher aborted due to exception
  org.codehaus.cargo.container.ContainerException: Failed to redeploy [/var/lib/jenkins/jobs/ura_Web/workspace/ura-1.0.war]
  at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:195)
  at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:64)
  at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:90)
  at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:77)
  at hudson.FilePath.act(FilePath.java:905)
  at hudson.FilePath.act(FilePath.java:878)
  at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:77)
  at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:47)
  at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
  at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
  at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
  at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:969)
  at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
  at hudson.model.Run.execute(Run.java:1618)
  at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:491)
  at hudson.model.ResourceController.execute(ResourceController.java:88)
  at hudson.model.Executor.run(Executor.java:247)
  Caused by: java.io.FileNotFoundException: http://192.168.2.X/manager/list
  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401)
  at org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke(TomcatManager.java:504)
  at org.codehaus.cargo.container.tomcat.internal.TomcatManager.list(TomcatManager.java:622)
  at org.codehaus.cargo.container.tomcat.internal.TomcatManager.getStatus(TomcatManager.java:635)
  at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:176)
  ... 16 more &lt;/code&gt;
  </code></pre>
  
  <p>Can anyone tell me what is wrong?</p>