Venkatesh,
Tomcat listens for activity on several ports (depending on how you
configure it).  The ports of most concert are:
8080 Http Request Handler 
&
8007 Ajp12 Connection Handler

Depending on the Apache module you use (JServe or mod_JK)will dictate
which port the connection will pass through.  But if you make a request
directly to 8080 it will be Tomcat that answers, not Apache.

Try making the same request on port 80 and see what happens.
If Apache gives you a 404, then I would guess you don't have the Apache
module installed correctly.
Make sure you have either jserve or mod_jk installed in the apache
module directory and that you have added something to the effect of:
        include /usr/local/tomcat/conf/mod_jk.conf 
        or the equivalent for your os and install path.

Hope that helps,
Nathan

-----Original Message-----
From: Venkatesh Sangam [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 4:51 PM
To: [EMAIL PROTECTED]
Subject: Basic Doubt


Hi,
I am using Apache with Tomcat ..
how are the requests shared between apache and Tomcat ..
If I access the servlet as http://Hostname:8080/servlet/Servletname
..will 
the request be served by tomcat or Apache ..

In what cases the request is served by Apache

thnaks
Venkatesh
________________________________________________________________________
_
Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.

Reply via email to