This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ant list error

 
Najib Ait Rahou
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i am trying this tutorial
i am using tomcat server to deploy my spring project

I have done this : " ant"
and after i tape "ant deploy"
and it works well "build successfull"

but whene i do "ant list"
i have this error

BUILD FAILED

D:\workspace\springapp\build.xml:133: java.io.FileNotFoundException: http://localhost:8080/manager/list

can any body help me please

sorry, my english is .. i don't speak very well
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There must in line 133 of "D:\workspace\springapp\build.xml" in the 'list' target, be some kind of ref. to this web site: "http://localhost:8080/manager/list" - is this server running, and is it possible to call the URL??
 
Najib Ait Rahou
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thinks for you response !!
yes the server is running
but it is impossible to call url
the 404 tomcat erreor is displayed (sorry for this engish)
this is the error :

"La ressource demand´┐Że (/springapp/index.jsp) n'est pas disponible"
for my site home page

and i try this also same thing
La ressource demand´┐Że (/manager/list) n'est pas disponible.
[ March 23, 2008: Message edited by: Najib Ait Rahou ]
 
Najib Ait Rahou
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good ! it work now perfectly
the problem was in the server configuration and the envirement variables path because there wasn't any path pointed to my jdk home and there was also some configurations in tomcat server that i didn't do for first time

my problem was resolved by looking in this quik configuration tutorial
http://www.coreservlets.com/Apache-Tomcat-Tutorial/

thinks

sorry: my english .. i know it bad
 
Suraj Shekar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am new for spring framework and studying the document from http://static.springframework.org/ I have eclipse 3.4 configured with tomcat 6.0 I checked for all the environment variables and they seemed to have correct values. However when I execute ant list command I get the following message. Would you please tell me what changes that you have to make to run the application?

build.xml:133: java.io.FileNotFoundException: http://localhost:8080/manager/list
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suraj, please do not post to old topics. Instead, start a new topic. And when you do, provide the exact command you are using ot run ant, the full ant output, and the target within build.xml that is giving an error. Remember to use the 'code' tags to mark the source code, and use the Preview to check the formatting before posting.
 
Shahar Muky
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
add the word text in the relevant task of build xml:

<target name="list" description="List Tomcat applications">
<list url="${tomcat.manager.url}/text"
username="${tomcat.manager.username}"
password="${tomcat.manager.password}"/>
</target>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic