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
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

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: 67756
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic