Sam,

Thanks for the response. I understand that I am circumventing apache by
using localhost:8080, but it was useful in proving that tomcat was alive.

And you are correct that I was not using 8080 to get the jsp pages to work!

Which confused me entirely, because clearly tomcat knows what it is doing,
Apache knows what to do with jsp references but the basic servlet bit
failed!

By the time I received your response I was just editing the
worker.properties file having downloaded mod_jk.so - and it works!

I had in the meantime downloaded the special mod_jserv for linux tomcat but
that failed as well.

I've read every stitch of doc I can find!

Anyway, I am running now (examples at least - now I have to make my real job
work!) thanks again for the clues.

Gerry

----- Original Message -----
From: "Sam Newman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 12:57 PM
Subject: Re: Very Basic question about Apache-Tomcat configuration


> 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
> >
>

Reply via email to