You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jacob Kjome <ho...@visi.com> on 2003/01/18 10:27:59 UTC

catalina ant deploy task problem...

I have always used the "install" task, so I haven't run into this issue 
until now.  I have a .war file which I want to deploy to Tomcat.  The path 
is correct because I've tried the same file:/// URL to do an "install" from 
the manager web GUI and that was successful.  I also use the same path, 
username, and password as the install task.  However, I am getting the 
following error:

catalina-deploy:
      [echo] 
file:///D:/myclasses/Repository/Enhydra/BarracudaMVC_2003-01-15/Barracuda/Barracuda.war

BUILD FAILED
file:./catalina-tasks.incl:50: java.io.IOException: Server returned HTTP 
respons
e code: 403 for URL: http://localhost:8080/manager/deploy?path=%2FBarracuda

Anyone know why this might be?  I am logged in as administrator so it 
shouldn't be a file/directory permissions problem.  What the heck?

Jake


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: catalina ant deploy task problem... (solved - Tomcat-4.1.19 bug)

Posted by Jacob Kjome <ho...@visi.com>.
I figured out the problem and it is a bug in Tomcat-4.1.19.  Actually, it 
is more of an oversight.  The servlet-mapping "/deploy" wasn't specified in 
the manager's web.xml.  See details about it here.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16243

Hopefully, this can be fixed by the next release (4.1.20?).

Jake

At 03:27 AM 1/18/2003 -0600, you wrote:

>I have always used the "install" task, so I haven't run into this issue 
>until now.  I have a .war file which I want to deploy to Tomcat.  The path 
>is correct because I've tried the same file:/// URL to do an "install" 
>from the manager web GUI and that was successful.  I also use the same 
>path, username, and password as the install task.  However, I am getting 
>the following error:
>
>catalina-deploy:
>      [echo] 
> file:///D:/myclasses/Repository/Enhydra/BarracudaMVC_2003-01-15/Barracuda/Barracuda.war
>
>BUILD FAILED
>file:./catalina-tasks.incl:50: java.io.IOException: Server returned HTTP 
>respons
>e code: 403 for URL: http://localhost:8080/manager/deploy?path=%2FBarracuda
>
>Anyone know why this might be?  I am logged in as administrator so it 
>shouldn't be a file/directory permissions problem.  What the heck?
>
>Jake
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>