You must specify user and password because the manager application is
protected by default.

Jeff


On Jan 11, 2008 1:27 PM, Thomas Chang <[EMAIL PROTECTED]> wrote:

> Hi all,
>
> I try to deploy a WAR to Tomcat using "
> mvn tomcat:deploy -Dmaven.tomcat.url=http://localhost:8585/manager";. But I
> got error as follow. What's wrong?
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot invoke Tomcat manager
>
> Embedded error: Server returned HTTP response code: 401 for URL:
> http://localhos
> t:8585/manager/deploy?path=%2FTestWeb&war=
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Fri Jan 11 13:19:55 CET 2008
> [INFO] Final Memory: 6M/11M
> [INFO]
> ------------------------------------------------------------------------
>
> C:\Projects\eclipse_workspace\TestWeb>
>
>
> ---------------------------------
> Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s
> mit dem  neuen Yahoo! Mail.
>



-- 
La mélancolie c'est communiste
Tout le monde y a droit de temps en temps
La mélancolie n'est pas capitaliste
C'est même gratuit pour les perdants
La mélancolie c'est pacifiste
On ne lui rentre jamais dedans
La mélancolie oh tu sais ça existe
Elle se prend même avec des gants
La mélancolie c'est pour les syndicalistes
Il faut juste sa carte de permanent

Miossec (2006)

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com

Reply via email to