You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Martin Gainty <mg...@hotmail.com> on 2006/06/05 02:37:38 UTC

Re: Problem while deploying war

Venkatesh-
I am Posting this to ant-users
I did not see deploy task (unless you taskdef'ed in some class somewhere) 
but I did set serverdeploy
http://ant.apache.org/manual/OptionalTasks/serverdeploy.html
HTH
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "Venkatesh Babu" <ve...@yahoo.com>
To: <us...@tomcat.apache.org>
Sent: Sunday, June 04, 2006 10:19 AM
Subject: Problem while deploying war


> Hi all,
>
> I'm using Tomcat 4.1.31.
>
> I have a war file and I'm using the ant target
> "<deploy>" to deploy this war. Here is the code
> snippet of my build.xml :
>
>    <property name="tomcat.server.name"
> value="localhost"/>
>    <property name="tomcat.server.port" value="8080"/>
>    <property name="tomcat.user.name" value="admin"/>
>    <property name="tomcat.user.password"
> value="admin"/>
>
>    <property name="app.deploy.manageurl"
> value="http://${tomcat.server.name}:${tomcat.server.port}/manager"/>
>
>
>    <target name="deployapp" depends="war">
>        <deploy
>               url="${app.deploy.manageurl}"
>               path="/app1"
>        war="${basedir}/app1.war"
>               username="${tomcat.user.name}"
>               password="${tomcat.user.password}"/>
>    </target>
>
> But when I call this target, I'm getting a strange
> error:
>
> BUILD FAILED
> C:\temp\app1\build.xml:33:
> java.net.MalformedURLException: unknown protocol: c
>
> I have taken "catalina-ant.jar" from
> ${TOMCATHOME}/lib/ and placed that in ${ANT_HOME}/lib
> but still having this problem.
>
> Can anybody help me and point out what might be the
> problem?
>
> Thank you,
> Venkatesh
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org