Re: Webapp suddenly not available

2005-08-16 Thread Brian Cook
WOW that looks like a lot lot of unneeded complication. I do not know if this is absolutely correct for every situation. But it is my experience that if you are just doing JSP pages you do not need the web.xml at all. It is only needed if you need to call a servlet, define a resource like

Re: Webapp suddenly not available

2005-08-16 Thread Vsevolod (Simon) Ilyushchenko
Brian Cook wrote on 08/16/2005 10:36 AM: WOW that looks like a lot lot of unneeded complication. I do not know if this is absolutely correct for every situation. But it is my experience that if you are just doing JSP pages you do not need the web.xml at all. It is only needed if you need

Re: Webapp suddenly not available

2005-08-16 Thread Hassan Schroeder
Vsevolod (Simon) Ilyushchenko wrote: The error is from Tomcat - if I go to port 8080, I also see it. My issue is that I can't figure out how to turn debug messages on via log4j - I'm sure I'd see something interesting there. Uh, yeah. Seems like it'd be a good idea to reinstall the orginal

Re: Webapp suddenly not available

2005-08-16 Thread Brian Cook
I would try removing the context.xml file, if there is one, and replace the web.xml with a default one. Then restart Tomcat. If you still get the 404 error when calling just JSP pages and there are no errors in the catalina.out file then the problem is very likely in the syntax of the URL

Re: Webapp suddenly not available

2005-08-15 Thread Sriram N
--- Vsevolod (Simon) Ilyushchenko [EMAIL PROTECTED] wrote: [snip] I'll be grateful for any suggestions. Why all the JSPC entries in this web.xml ? Remove them as the Tomcat defaults should be just OK. The controller entry and the .do mapping seem to be OK. Thanks, Simon -- --

Re: Webapp suddenly not available

2005-08-15 Thread Vsevolod (Simon) Ilyushchenko
Sriram, I've taken them out, as well as the controller entry (which was a sample line that I don't need). No good. Thanks, Simon Sriram N wrote on 08/15/2005 12:39 PM: --- Vsevolod (Simon) Ilyushchenko [EMAIL PROTECTED] wrote: [snip] I'll be grateful for any suggestions. Why all the

Re: Webapp suddenly not available

2005-08-15 Thread Sriram N
--- Vsevolod (Simon) Ilyushchenko [EMAIL PROTECTED] wrote: Sriram, I've taken them out, as well as the controller entry (which was a sample line that I don't need). No good. Hmm... what _do_ you require in this file, if not the controller entry ? Does the sample web application work ?

Re: Webapp suddenly not available

2005-08-15 Thread Vsevolod (Simon) Ilyushchenko
Hmm... what _do_ you require in this file, if not the controller entry ? Those JSPs entries. :) Does the sample web application work ? Yes, it does. Try installing Tomcat again, and then running this web app. Maybe you've messed with some config files by mistake. I definitely have not