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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

404-for context

 
Ranch Hand
Posts: 645
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi,
Sorry to post it here,but did recive any response from tomcat forum...and it kinda urgent..will delete it as soon as I get the ans
I have created and dir called restart in tomcat4/webapps/
which has web-inf/classes/*.class and web-inf/web.xml.
I have following entry in conf/server.xml
<Context path="/restart" docBase="restart" debug="0"
reloadable="true" crossContext="true"/>
Still after giving this url http://localhost:8080/restart I end up with
following error:-
404
The requested resource (/restart) is not available.
kindly layme know what did I miss....
Cheers
Praful
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
have you given web-inf in all capitals (like WEB-INF)?? better do one thing, copy some existing WEB-INF and its subfolders and copy it into your restart folder.
next check for your <Context .... /> line. it should not come within any existing Context. it should be outside other contexts.
 
Sheriff
Posts: 67752
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please continue any discussion of this topic here.
 
Heroic work plunger man. Please allow me to introduce you to this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
    Bookmark Topic Watch Topic
  • New Topic