This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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

 
Ranch Hand
Posts: 114
Hibernate Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Bartender
Posts: 4107
72
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 ?
 
Vas Miriyala
Ranch Hand
Posts: 114
Hibernate Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 114
Hibernate Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Vas Miriyala
Ranch Hand
Posts: 114
Hibernate Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your reply and Now everything is working fine
 
These are the worst of times and these are the best of times. And this is the best tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic