wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes /build.xml:372: java.net.UnknownHostException: root +ant Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "/build.xml:372: java.net.UnknownHostException: root +ant " Watch "/build.xml:372: java.net.UnknownHostException: root +ant " New topic
Author

/build.xml:372: java.net.UnknownHostException: root +ant

Vas Miriyala
Ranch Hand

Joined: Sep 14, 2009
Posts: 114

Hi friends i am deploying webapplication into tomcat using ant with eclipse environment..got the script some where and changed necessary modifications to ant script,then targets like clean,all,compile,dist,javadoc are worked fine and when i try to deploy application using deploy taget got the error message which says
ERROR
/root/workspace/myapp/build.xml:372: java.net.UnknownHostException: root
i did necessary changes to managet.xml file also and I am using Eclipse-Galileo,Apache Ant-1.7.1,jdk1.6.0_15,Tomcat-5.5.27.
Here is build.xml

Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3816

i did necessary changes to managet.xml file

What is that ? where it is used? And are you able to access the manager console through the browser ?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Vas Miriyala
Ranch Hand

Joined: Sep 14, 2009
Posts: 114

when i started tomcat using command line ,then i can able to logon to managet,when i start tomcat in eclipse,i can not able to see the manager and not even tomcat welcome page,can you tell me what is the problem
Vas Miriyala
Ranch Hand

Joined: Sep 14, 2009
Posts: 114

problem solved and I changed the path like this war="file:${dist.home}/${path}.war" works without making any errors and now i can able to logon to tomcat-manager with in eclipse
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

srinivas, build scripts are much easier to read if you use the code tags, which I added to your post.
And thank you for posting the solution for your problem, that will benefit future ranchers with similar issues.


JBoss In Action
Vas Miriyala
Ranch Hand

Joined: Sep 14, 2009
Posts: 114

thanks for your reply and Now everything is working fine
 
 
subject: /build.xml:372: java.net.UnknownHostException: root +ant
 
Similar Threads
Spring Testing woes
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
Ant list -- Build Failed
Regarding Ant issue.
exception wile running build.xml