Tomcat is running fine in standalone mode but I'm having difficulty
hooking it up to Apache.

I've configured Tomcat's server.xml file and I have an include file
in Apache's httpd.conf file that points to a copy of the auto
-generated tomcat-apache.conf file (where I've corrected the path to
the mod_jserv.so module).

When surf to www.mydomain.com/appName I get a "Cannot find server"
page (interestingly, not a 404).

If you don't mind, I have a few questions.

1) Fact1: When tomcat runs in standalone mode, its default port is
8080.  Fact2: my auto-generated tomcat-apache.conf file has the line
"ApJServDefaultPort 8007".  Question: Does that mean I have to
manually start Tomcat on 8007 (instead of 8080) in order to handle
the requests from Apache?

2) Does the adaptor, mod_jserv, open up a TCP connection to Tomcat in
order to pass requests?  I guess so.  This sounds inefficient.

3) There is another line in the tomcat-apache.conf file that states
"ApJServManual on", which, according to the manual says this:
"Instruct jserv not to start the Tomcat process. Automatically
starting Tomcat is not implemented yet."   If that is true, how do I
configure Tomcat to start automatically along with Apache?
/etc/inittab for starting during system boot?

My overall goal is to have only *.htm files
(mydomain.com/fileXYZ.htm) handled by Tomcat.

Peter Alvin




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to