Hi, I am using cargo to deploy the war in both local and remote tomcat containers. I have hardcoded the catalina home, cargo.remote.url, cargo.remote.username, cargo.remote.password inside the pom.xml file. I am trying to move these details from POM to settings.xml file. I tried using properties, profile, server tags in the settings.xml file. Unfortunately it didn't work. I even tried with cargo 1.1.0-SNAPSHOT version with maven2 and maven3. I am getting error saying 401 response code. Can anybody help me how to work out this.
Thanks in advance. Here is the stacktrace [cargo:deployer] [WARNING] [mcat6xRemoteDeployer] The property cargo.tomcat.manager.url has been deprecated, please use cargo.remote.uri instead. ------------------------------------------------------------------------ [ERROR]FATAL ERROR ------------------------------------------------------------------------ Failed to redeploy Server returned HTTP response code: 401 for URL: http://...:8080/manager/list ------------------------------------------------------------------------ Trace org.codehaus.cargo.container.ContainerException: Failed to redeploy at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:191) at org.codehaus.cargo.maven2.DeployerRedeployMojo.performDeployerActionOnSingleDeployable(DeployerRedeployMojo.java:40) -- View this message in context: http://maven.40175.n5.nabble.com/cargo-tomcat-configurations-in-settings-xml-tp4376528p4376528.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org