• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ant list error

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>
 
Your mother was a hamster and your father was a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic