Webapp suddenly not available

2005-08-15 Thread Vsevolod (Simon) Ilyushchenko
Hi, I'm a relative Tomcat newbie. I have built an application with ant and was using it under Tomcat 5.5.9 for several weeks, and then it suddenly broke. All request to JSP pages now display the 404 error (the requested resource is not available). I was making only very minor changes to the

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

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

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

Different JDBC sources?

2005-09-13 Thread Vsevolod (Simon) Ilyushchenko
Hi, As a relative Tomcat newbie, I can't find anything about how to use two different JDBC sources with the same codebase. I'd like to have two different URLs that use the same classes and JSP pages, but reference two different databases (test and production). Is there a standard way of

Re: Different JDBC sources?

2005-09-13 Thread Vsevolod (Simon) Ilyushchenko
Allistair Crossley wrote on 09/13/2005 11:49 AM: The standard way is 2 servers running their own Tomcat. Each Tomcat is then configured with the datasource with differing connection strings. Allistair, And then I would publish my code into two places? (Or alternatively I can have two

Re: Different JDBC sources?

2005-09-13 Thread Vsevolod (Simon) Ilyushchenko
Hassan Schroeder wrote on 09/13/2005 12:33 PM: Vsevolod (Simon) Ilyushchenko wrote: As a relative Tomcat newbie, I can't find anything about how to use two different JDBC sources with the same codebase. I'd like to have two different URLs that use the same classes and JSP pages

How to define contexts?

2005-09-14 Thread Vsevolod (Simon) Ilyushchenko
Hassan, Well, maybe I misunderstood the original question :-) No, it's just me unfamiliar with the idea of contexts. So far I've figured out that there is a file context.xml that can define extra parameters for an application, but I'm not sure about: 1) Whether it's possible to direct two