tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neill Laney" <>
Subject Re: Linux in-process servlet context configuration
Date Wed, 27 Dec 2000 05:15:31 GMT
Now I can get some sleep. Many thanks!

I installed everything from RPM's and the include statement was added with
the jserv mod. After adding the ApJservMount context statement to
tomcat.conf and restarting TomCat and Apache, the application is running

I meant to give the source of the bookstore application in my previous post.
It is from the Java Servlet tutorial, or

Thanks again!

----- Original Message -----
From: "Carl Johnston" <>
To: <>
Sent: Tuesday, December 26, 2000 11:58 PM
Subject: RE: Linux in-process servlet context configuration


If your 'Include'ing the tomcat-apache.conf (the config that tomcat
automatically generates) then you may just need to restart apache for it to
pick up the new servlet contexts.

If you're not using the tomcat-apache.conf file then you'll probably be
using the tomcat.conf file.  You'll need edit this file to mount the servlet
context within apache (ie/ let apache know that /bookstore is a servlet
context) which can be done by adding something simmilar to this to your
tomcat.conf file:

ApJservMount /bookstore /root



Carl Johnston
Systems Administrator
BiziWorks []

> -----Original Message-----
> From: Neill Laney []
> Sent: Wednesday, 27 December 2000 3:36 PM
> To:
> Subject: Linux in-process servlet context configuration
> Tomcat 3.1, jserv module, and Apache 1.3.14 are installed and running on
> RedHat 7.
> The examples are running with the URL
> http://newhost/examples/servlet/HelloWorldExample and
> http://newhost:8080/examples/servlet/HelloWorldExample
> I have an application called "Bookstore" that was running on a stand-alone
> TomCat installation on NT that was system copied to Linux (isn't Samba
> wonderful). The application will run with the URL
> http://newhost:8080/bookstore/enter but not http://newhost/bookstore/enter
> the error message is:
> Not Found
> The requested URL /bookstore/enter was not found on this server.
> Apache/1.3.14 Server at newhost.localdomain Port 80
> webapps/bookstore/WEB-INF/web.xml is parsed correctly or it
> wouldn't run on
> port 8080. What is wrong?
> Any help will be greatly appreciated.

View raw message