Hello, I was wondering if there was anything special I need to do in order to deploy my Maven-generated WAR file to a remote tomcat instance (on another server). The following config (substiture remote URL with http://localhost:8080/manager) works fine on my local desktop with a local tomcat instance: mvn tomcat:deploy
<build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <configuration> <warFile> ${project.build.directory}/${project.build.finalName}.war </warFile> <update>true</update> <path>/appPath</path> <url>http://server:38080/manager</url> <username>adminUser</username> <password>adminPassword</password> </configuration> </plugin> </plugins> </build> But fails when I try to deploy remotely with the following error: [INFO] Deploying war to http://server:38080/appPath [TASKS] Scipping maven reporter: there is already a result available. [HUDSON] Archiving ...pom.xml to .../pom.xml [HUDSON] Archiving ....war to ....war [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot invoke Tomcat manager Embedded error: Server returned HTTP response code: 401 for URL: http://server:38080/manager/deploy?path=%2FappPath&war=&update=true Any ideas? Is there an additional configuration step I have to incorporate? Thanks, Leo -- View this message in context: http://www.nabble.com/Deploy-to-Remote-Tomcat-Instance-tp19516536p19516536.html Sent from the mojo - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email