Sorry figured out the error.
It is working now.
Thanks,
Jayaram
From: GOKULAM Jayaram
Sent: Wednesday, April 20, 2005 4:58 PM
To: 'Maven Users List'; [EMAIL PROTECTED]
Subject: tomcat deployment problem
Hi all,
I have set the properties for tomcat deployment as follows in my
project.properties file
maven.tomcat.host=127.0.0.1
maven.tomcat.port=8080
#maven.tomcat.username=admin
#maven.tomcat.password=admin
maven.tomcat.home=d:/Tomcat
maven.tomcat.war.context=new
When I call my tomcat:deploy goal, I get exceptions
I believe this is a problem due to the war context, so I tried applying
a forward slash which again failed, then a backward slash which also
failed. Why is not the tomcat plug-in understanding a slash?
Or am I doing something wrong.
Any help on this would be appreciated.
Thanks in advance,
Jayaram
Exception:
BUILD FAILED
File.. C:\Documents and
Settings\JGokulam\.maven\cache\maven-tomcat-plugin-1.1\plugin.jelly
Element... deploy
Line.. 112
Column 68
java.io.IOException: Server returned HTTP response code: 401 for URL:
http://127.0.0.1:8080/man
ager/deploy?path=new
Total time: 13 seconds
Finished at: Wed Apr 20 16:54:25 IST 2005
Confidentiality Statement:
This message is intended only for the individual or entity to which it is
addressed. It may contain privileged, confidential information which is exempt
from disclosure under applicable laws. If you are not the intended recipient,
please note that you are strictly prohibited from disseminating or distributing
this information (other than to the intended recipient) or copying this
information. If you have received this communication in error, please notify us
immediately by return email.