Scenario: trying to deploy app to tomcat using org.codehaus.mojo plugin
Error: getting authorization error, how do pass/specify the tomcat manger
username/pwd
[INFO] [tomcat:deploy]
[INFO] Deploying war to http://localhost:8080/webtop-1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot invoke Tomcat manager
Embedded error: Server returned HTTP response code: 401 for URL:
http://localhos
t:8080/manager/deploy?path=%2Fwebtop-1.0-SNAPSHOT&war=
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot invoke Tomcat
man
ager
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:488)
--
View this message in context:
http://www.nabble.com/authorization-error-deploying-to-tomcat-tf2155282.html#a5953887
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]