You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jesús Gutiérrez Ramírez <jg...@previtep.com.mx> on 2003/10/10 16:43:15 UTC

Newbie question

Hi,

	I'm new using tomcat (over windows xp) and ANT, I was doing the example
exercise http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html,
using the files included.

	When I want to install my app on the tomcat server using the ANT INSTALL
command I receive the next message.

BUILD FAILED
C:\jspsrc\miapl\build.xml:364: java.net.UnknownHostException: C

Somebody has an idea what could be wrong?
If this is not the correct place to put this question, just let me know it.

TIA

Jesus Gutierrez


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


Re: Newbie question

Posted by Jon Wingfield <jo...@mkodo.com>.
Your windoze path is probably being interpreted as a url without a 
protocol. The drive letter C is being interpreted as a hostname.
Try with something like file:///c:\path\to\war\app.war

HTH,

Jon

Jesús Gutiérrez Ramírez wrote:

> Hi,
> 
> 	I'm new using tomcat (over windows xp) and ANT, I was doing the example
> exercise http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html,
> using the files included.
> 
> 	When I want to install my app on the tomcat server using the ANT INSTALL
> command I receive the next message.
> 
> BUILD FAILED
> C:\jspsrc\miapl\build.xml:364: java.net.UnknownHostException: C
> 
> Somebody has an idea what could be wrong?
> If this is not the correct place to put this question, just let me know it.
> 
> TIA
> 
> Jesus Gutierrez
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 




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