I check the URL.. plus all other tasks
(install/uninstall) work fine.
Note: forwarded message attached.
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
--- Begin Message ---
This kind of question is better addressed to the TOMCAT-USER mailing list.
On Sat, 13 Jul 2002, Sam Ewing wrote:
> Date: Sat, 13 Jul 2002 15:45:45 -0700 (PDT)
> From: Sam Ewing <[EMAIL PROTECTED]>
> Reply-To: Tomcat Developers List <[EMAIL PROTECTED]>
> To: Tomcat Developers List <[EMAIL PROTECTED]>
> Subject: deploy manager task in ant
>
> I have my deploy target in build.xml as:
>
> <!-- build target results in a myapp.jar file -->
> <target name="deploy" depends="build">
> <deploy url="${url}" username="${username}"
> password="${password}"
> path="${path}"
> war="file://${build}/myapp.war"/>
> </target>
>
> I get back an error from the ant script:
>
> file:C:/users/sam/build.xml:78:
> java.net.UnknownHostException: D
>
It's likely that the URL you are passing in as the "${url}" parameter
includes a name not recognized by your DNS server. Another common
possibility is that you've forgotten to actually specify an Ant property
replacement value for it -- you can check for that by sticking something
like:
<echo message="URL is ${url}"/>
immediately before the <deploy> task. The value should be the URL of the
manager webapp, typically something like "http://localhost:8080/manager".
> (Line #78 is the line that has the path= and war=
> lines)
>
> Any help appreciated!
>
Craig
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--- End Message ---
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>