I don't think you have to have one. Here's a minimal one:
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app/> > -----Original Message----- > From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 9:47 AM > To: Tomcat Users List > Subject: Re: Status 404 - resource not available > > > New info: I don't have a web.xml for this context. In > Tomcat 4.0.5 it was > not a problem. Is this something they changed for 4.1.18 > that you must have > one defined? If so, what would be the minimal web.xml that I > could get by > with? Thanks, > Kenny > > ----- Original Message ----- > From: "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Friday, February 07, 2003 9:29 AM > Subject: Status 404 - resource not available > > > > I just reloaded my development box and I can't get my servlet to be > > recognized; I get a Status 404 error - resource not > available. I'm not > sure > > where to start diagnosing the problem. My context (named "kcmria") > > works...ie if I put in http://192.168.1.61/kcmria I get the > directory > > listing of $CATALINA_HOME/webapps/kcmria which is what I > would expect. > But > > I can't get anything in > $CATALINA_HOME/webapps/kcmria/WEB-INF/classes to > be > > recognized. > > > > I tried copying HelloWorldExample over to my servlet > directory but can't > see > > it either. I think it must be something with my context. > Here is what > I've > > defined in server.xml: > > > > <Context path="/kcmria" docBase="kcmria" debug="0" reloadable="true" > > crossContext="true"> > > <Logger className="org.apache.catalina.logger.FileLogger" > > prefix="localhost_kcmria_log." > > suffix=".txt" timestamp="true" /> > > </Context> > > > > My mod_jk.conf looks like this: > > > > JkMount /kcmria ajp13 > > JkMount /kcmria/* ajp13 > > > > Any ideas where I should start looking? Thanks, > > Kenny > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]