Cargo can't deploy to Tomcat integrated into Eclipse

45 views Asked by At

When I try to use the Maven Cargo plugin to deploy to Tomcat embedded in Eclipse, the deployment fails with a 404 Not Found.

1

There are 1 answers

1
Dan R. On

This is because Eclipse does not include Tomcat's "host-manager" webapp, which is what Cargo uses to deploy remotely. In other words, if your pom.xml configures Cargo with <type>remote</type>, then Tomcat has to run host-manager.

The standard stand-alone Tomcat installation includes host-manager, but Eclipse doesn't deploy any webapps except the ones you tell it to deploy.