If you access file://localhost:8080/examples you are completely circumventing Apache and going straight to tomcat. Assuming this is not what your doing to get the jsp's to work, I'd hazard a guess that your web context defined in server.xml under tomcat isn't correctly set. I would suggest you try temporarily removing the use of JServ, and instead look at using mod_jk. Tomcat automatically creates a configuration file for inclusion in httpd.conf which configires apache to use Tomcat in line with the server.xml file. As a minimum on a clean tomcat install, this will automatically let you access the example servlets via apache with the minimum effort. I take it you have consulted the Apache-tomcat howto? sam ----- Original Message ----- From: "Gerry Duhig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 18, 2001 12:11 PM Subject: Very Basic question about Apache-Tomcat configuration > Help please! > > I have Apache running with ApacheJServ and working fine! > > I want to test tomcat and consider it as a replacement for JServ. > > I downloaded Tomcat and edited the Apache httpd.conf to include the > apache-tomcat.conf file, instead of the JServ file. > > I start tomcat and I start Apache, Apache serves static html as expected, it > passes jsp requests to tomcat fine (the examples work), but it doesn't pass > servlet requests through at all. > > I can test the servlet examples by using file://localhost:8080/examples, but > I cannot make Apache pass the requests across unless that port number is > explicitly used. > > Am I supposed to find and use a special mod_jserv.so? > > Am I supposed to create zone property files as in ApacheJserv? > > What am I supposed to do? > > Gerry >
