Hi Chris/all, Thanks this is solved. Two jars related to deployment catalina-ant.jar and Catalina-deployer.jar. were inside tomcat/common/lib directory where other server related jars are there.I saperated these two from that location. It works :).
Thanks and Regards - Shreekanta Prasad -----Original Message----- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 7:08 PM To: Tomcat Users List Subject: Re: tomcat deployment error -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Shreekanta, Shreekanta Prasad wrote: | I am using tomcat 5.5. Using deployer utility of tomcat to | do hot deployment to the server. But it is giving error error like | | \build.xml:98: java.io.IOException: | | Server returned HTTP response code: 403 for URL: | http://localhost:8080/manager/deploy?path=%2Fdmi&update=true 403 is "Forbidden" which generally means that your username and password are wrong. | My build file has target called deploy it passes url,username,pwd I am | passing same parameters those defined in tomcat-users.xml in conf | directory of tomcat Try connecting to the manager application using a web browser and entering your username and password. Once you are sure that works, make sure that your ant build file contains the correct username and password values. | role as manager. Also observe the error line my context path is dmi it | is taking path as '%2Fdmi' why is it? Because "/" must be escaped in order to pass it as a parameter value. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkg1dzAACgkQ9CaO5/Lv0PBXAACgnxKRqRJh5MJcURb7PejPdPy1 0GkAn1A8T/odZwS1UJC59xXjQ2RBKXfq =xY2k -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]