Can you show us your build.xml? Mine is

<deploy url="http://remotehost/manager"; username="${username}"
password="${password}" path="/${your.app.name}" war="${war.url}"/>

username: manager
your.app.name: context name
linux host: file:${war.dir}/${war.file}
win32 host: file:/${war.dir}/${war.file}

-----Original Message-----
From: Steven Woody [mailto:[EMAIL PROTECTED] 
Sent: November 6, 2003 8:39 PM
To: Tomcat Users List
Subject: Re: ant deploy

I heard the 'install' task can only communicate  to local server :-(  but I
want to deploy to a remove tomcat.


----- Original Message ----- 
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 06, 2003 9:52 PM
Subject: RE: ant deploy



Howdy,
You want to use the install task instead of deploy most likely.
Needless to say, the host name should be a valid one that you can
ping/lookup ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Steven Woody [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 06, 2003 12:47 AM
>To: [EMAIL PROTECTED]
>Subject: ant deploy
>
>Hi,
>
>I wanna use ant deploy task to deploy a war onto Tomcat, but always got
a
>UnknownHostName exception.  What's wrong here?  Did anyone used the
><deploy> task with sucessful?
>
>
>Regards.
>
>--
>Steven Woody



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to