tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcelo Demestri" <kausa...@hotmail.com>
Subject Re: mod_jk with Tomcat4
Date Mon, 21 Jan 2002 19:27:17 GMT
    In order to integrate Apache-Tomcat by means of the connector mod_jk you
need:
- mod_jk.dll (to place it in the folder " you modulate " of apache).
- to modify the file " server.xml " of TC, qualifying the Ajp13 connector
and commenting the part of " mod_webapp "
- to modify the file " httpd.conf " of Apache, adding to him the JkMount
parameters.
- to append the file "workers.properties" in the folder "conf" of the TC
directory.

    I send you (by attachments) these configuration files.
    This work for me.  I have Win2k pro, Apache 1.3.22, Tomcat 4.0.1 and JDK
1.3.1

    Read carefully these files for undertand it.  It's not complicated but
you will need patience and dedicate time
    Good Luck.

            Marcelo


----- Original Message -----
From: "Oli Gauti Gudmundsson" <oli.gauti@vyre.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Saturday, January 19, 2002 6:46 AM
Subject: mod_jk with Tomcat4


> Hi.
> Has anyone managed to get Apache and Tomcat 4.01 working together with
> mod_jk?
> If you have, could you please share with me how you configured Tomcat
(send
> me the server.xml file).
>
> If you had any problems, could you please share how you solved them.
>
> I'm pretty sure that I have configured Apache correctly (since it starts
> without errors), and I have configured an AJP13 connector in server.xml. I
> have also created a workers.properties where the properties are set for
the
> ajp13 worker. Apache and Tomcat both start without errors, but when a
> request is made, it just times out.
>
> The following error appears in catalina.log:
>
> java.lang.NoSuchMethodError: java.net.Socket: method setKeepAlive(Z)V not
> found
> at org.apache.ajp.tomcat4.Ajp13Connector.run(Compiled Code)
> at java.lang.Thread.run(Thread.java:479)
>
> Thanks for your help.
> -OGG
>

Mime
View raw message