Yes the ajp13 connector is in server.xml  like this

        <Connector className="org.apache.tomcat.service.PoolTcpConnector">
           <Parameter name="handler"
value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/>
           <Parameter name="port" value="8009"/>
         </Connector>

I did a netstat -a and I got
 *.8009               *.*                0      0     0      0 LISTEN

These are my mount commands in a file that I include in httpd.conf  (The
file is a copy of the auto-Conf from tomcat)
#
# Root context mounts for Tomcat
#
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
JkMount /buy/* ajp12
JkMount /olympics/*  ajp12
JkMount /sloc2002/* ajp12
JkMount /maintenance/* ajp12
JkMount /xml/* ajp12

There are no errors in mod_jk.log or in my httpd_error.log

the 8080 gets the same thing which is the 404 error

(Again thank you to everyone for your help...I am extreemly stuck here)

-----Original Message-----
From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 4:44 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Help!! Apache won't redirect to tomcat


Hi again,

Ok, does http://localhost:8080/buy/MLBEventInfo work?

Have you added the ajp13 connector in server.xml?  It is not there by
default?

        <Connector className="org.apache.tomcat.service.PoolTcpConnector">
            <Parameter
name="handler"
value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/>
            <Parameter name="port" value="8009"/>
        </Connector>

Have you updated workers.properties to reflect your environment?

I think this has already be answered - mod_jk.log - its empty you
say?

I think the first two might hold the answer.

cheesr
dim

On Thu, 26 Jul 2001, Andrew Inggs wrote:

> Nance, Michael wrote:
> > The page I am requestiong is 
> > 
> > http://localhost/buy/MLBEventInfo
> > 
> > I include a file tomcat-mod_jk-apache.conf by using include 
> > ... in my httpd
> > file
> > in there I have  these mounts
> > JkMount /buy/* ajp13
> > JkMount /olympics/*  ajp13
> > JkMount /sloc2002/* ajp13
> > JkMount /maintenance/* ajp13
> > JkMount /xml/* ajp13
> 
> Since your original post, the above has changed (ajp12 to ajp13).
> What does your mod_jk.log now have?
> 
> Also try "netstat -a" after starting Tomcat to check that it is
> listening on port 8009 (where ajp13 listens).  If it is not,
> then your server.xml isn't correctly configured for ajp13, in
> which case cut and paste the relevant section and post it here
> -- someone might spot something you've missed.
> 
> Also check workers.properties -- make sure ajp13 is listed on
> the worker.list line and there are a few lines starting
> worker.ajp13...  (this should all be fine by default, but it
> doesn't hurt to check).
> 
> -- Andrew
> 


Reply via email to