aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes ant list error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ant list error" Watch "ant list error" New topic
Author

ant list error

Najib Ait Rahou
Greenhorn

Joined: Mar 23, 2008
Posts: 4
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

Joined: Oct 12, 2001
Posts: 1179

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??


Regards, Rene Larsen
Dropbox Invite
Najib Ait Rahou
Greenhorn

Joined: Mar 23, 2008
Posts: 4
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

Joined: Mar 23, 2008
Posts: 4
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

Joined: Jul 25, 2002
Posts: 11
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

Joined: May 14, 2008
Posts: 5842
    
    7

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.


JBoss In Action
Shahar Muky
Greenhorn

Joined: May 19, 2011
Posts: 7
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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ant list error