tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neill Laney" <nmla...@hotmail.com>
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
excellently.

I meant to give the source of the bookstore application in my previous post.
It is from the Java Servlet tutorial,
ftp://ftp.javasoft.com/docs/tut-bookstore-tomcat.zip or
http://web2.java.sun.com/docs/books/tutorial/servlets/

Thanks again!


----- Original Message -----
From: "Carl Johnston" <cjohnston@biziworks.com.au>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, December 26, 2000 11:58 PM
Subject: RE: Linux in-process servlet context configuration


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]
cjohnston@biziworks.com.au

> -----Original Message-----
> From: Neill Laney [mailto:nmlaney@hotmail.com]
> Sent: Wednesday, 27 December 2000 3:36 PM
> To: tomcat-user@jakarta.apache.org
> 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.
>



Mime
View raw message