Niell,

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


Regards,

Carl

---
Carl Johnston
Systems Administrator
BiziWorks [http://www.biziworks.com.au]
[EMAIL PROTECTED]

> -----Original Message-----
> From: Neill Laney [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 27 December 2000 3:36 PM
> To: [EMAIL PROTECTED]
> 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.
>

Reply via email to