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

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: 67747
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.
 
You can't expect to wield supreme executive power just because
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
    Bookmark Topic Watch Topic
  • New Topic