Bookmark Topic Watch Topic
  • New Topic

404-for context

 
Praful Thakare
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • 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
 
N Nanda
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • 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.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please continue any discussion of this topic here.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!