tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chong Yu Meng" <>
Subject Re: I'm at the end of my rope!
Date Wed, 26 Apr 2000 06:47:18 GMT
Have you tried adding the context through the Web interface ? (install the
jakarta-tools and go to http://localhost:8080/admin ) I'm not sure if
server.xml has already been obsoleted because the Web Admin utility doesn't
seem to write to server.xml, but my servlets work fine.

Oh, and bear in mind that you need web.xml inside your web app directory as

pascal chong

----- Original Message -----
From: David Clark <>
To: <>
Sent: Wednesday, April 26, 2000 1:59 PM
Subject: I'm at the end of my rope!

> OK, I am getting the dreaded 404 error error when trying to access a
> servlet in a new context that I added:  Here are the details of my
> system and what works and what doesn't.
> System: Linux i586 chip
> Web Server: Apache 1.3.12
> Jakarta-Tomcat 3.1 freshly installed today.
> Apache works fine, and JServ works fine.  I know that Apache and Tomcat
> have no problem communicating as the the "examples" app that is included
> in the Tomcat distro works great, no problems.  I can add any correctly
> written class to the examples/WEB-INF/classes directory and they work
> great.
> I defined a new context in the server.xml file and it seems to write
> forwarding information correctly to the tomcat-apache.conf file.  I
> include the tomcat-apache file in my http.conf file.  This seems to
> redirect requests fine to the new context the I defined (myapp), as it
> will serve out static html files fine.  However, I cannot get any .class
> files to be served out.  None, I get the:
> "Error: 404" message".  This is getting really frustrating.  Any ideas?
> Thanks for your help in advance.
> David Clark
> --------------------------------------------------------------------------
> To unsubscribe, email:
> For additional commmands, email:

View raw message