Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Vas Miriyala
Ranch Hand
Posts: 114
Hibernate Java Spring
  • 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

 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • 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 Java Spring
  • 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 Java Spring
  • 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
 
Peter Johnson
author
Bartender
Posts: 5852
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 Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your reply and Now everything is working fine
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic