Fwd: catalina ant deploy task problem...
Jacob Kjome <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Everyone,
I posted this to the Tomcat list and got zero response. Anyone have an
answer for this one? I'm trying to enabled the catalina-deploy task for
Barracuda. I made a new target to build the .war file and I changed the
existing catalina-deploy to look like this...
<catalina-deploy
url="${manager.url}"
username="${manager.username}"
password="${manager.password}"
path="${app.path}"
war="${app.war}" />
catalina-install works just fine as do all of the other Ant Catalina
tasks. It is just catalina-deploy that is failing. Has anyone gotten this
to work? I'm using Tomcat-4.1.19.
Jake
>Date: Sat, 18 Jan 2003 03:27:59 -0600
>To: "Tomcat Users List" <[email protected]>
>From: Jacob Kjome <[email protected]>
>Subject: 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