• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Reload error

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

I had written a build.xml and its working well. When i had installed Oracle 9i in my system, port no 8080 is not working for tomcat. So i have changed the port to 6060. Now when i am trying to reload the application its giving an error like
Buildfile: D:\........\build.xml
prepare:
compile:
reload:

BUILD FAILED
D:\Projects\ncd-admin\source\build.xml:123: java.io.FileNotFoundException: http://localhost:8080/manager/reload?path=%24%7Bapp.absolutepath%7D

Not only for Reload but for Remove operatiion also.

I had written the code for reomve and Reload like this

<target name="reload" depends="compile" description="Reload application on servlet container">
<reload url="${manager.url}" username="${manager.username}" password="${manager.password}" path="${app.path}"/>
</target>

<target name="remove" description="Remove application on servlet container">
<undeploy url="${manager.url}" username="${manager.username}" password="${manager.password}" path="${app.path}"/>
</target>


I couldnt understand what the problem is. Please suggest any changes,
or if there is any correction to be made?
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, the path parameter in the URL doesn't look quite right to me. Looks a little bit like an encoded name of an Ant property, so I'd guess that some property isn't set properly (pun not intended).
 
He does not suffer fools gladly. But this tiny ad does:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic