I tried to ping a webapp deployed by cargo to check if it was deployed successfull. Cargo downloads and setups a Tomcat. The webapp requires basic HTTP authentication so I used the following pingURL:
http://<user>:<password>@localhost:8001/webdav/ping.html which works fine if I use the browser but the maven build fails due to an error (org.codehaus.cargo.container.ContainerException: Deployable http://<user>:<passoword>@localhost:8001/webapp/ping.html failed to finish deploying within the timeout period . The Deployable state is thus unknown.).
Tomcat's access log says 127.0.0.1 - - [27/Jul/2010:13:31:21 +0200] "GET /webapp/ping.html HTTP/1.1" 401 990 or each try - no HTTP 200 was found inside the logs.
It would be fine if Cargo provides http authentication for pingUrl, too.