tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barry Clarkson <Barry.Clark...@kcom.com>
Subject Apache fails to talk to Tomcat
Date Fri, 28 Jul 2006 08:30:36 GMT


Hi all,

I have just installed Tomcat with mod_jk on the same machine and performed
the necessary configuration with workers.properties, server.xml etc.  I can
connect to the port directly with Tomcat (http://<ip address>:8090/dir) but
if I omit the port and go through Apache the jk.log indicates that "Tomcat
has forced a connection close for socket 17", "Tomcat is down or refused
connection. No response has been sent to the client (yet)" etc...

Any help would be greatly appreciated!

We're running:

Red Hat Linux AS 4
Mod_jk 1.2.18 (binary distribution mod_jk-apache-2.0.49-linux-i686.so)
Apache 2.0.52

workers.properties:

# workers.properties

# Define a worker
worker.list=ajp13

# Set the workers properties
worker.ajp13.port=8091
worker.ajp13.host=127.0.0.1
worker.ajp13.type=ajp13
worker.ajp13.cachesize=10
worker.ajp13.cache_timeout=600
worker.ajp13.socket_keepalive=1
worker.ajp13.socket_timeout=300
worker.ajp13.lbfactor=1

server.xml:

    <!-- Define an AJP 1.3 Connector on port 8091 -->
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8091" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="1"/>

Cheers,

Barry


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 27/07/2006
 

The content of this e-mail and any attachment is private and may be legally
privileged.  If you are not 
the intended recipient, any use, disclosure, copying or forwarding of this
e-mail and/or its 
attachments is unauthorised.  If you have received this e-mail in error
please notify the sender by e-
mail and delete this message and any attachments immediately from this
system.

Kingston Communications (HULL) PLC is a public limited company incorporated
in England and Wales 
with registration number 02150618 and whose registered office is at 37 Carr
Lane, Hull HU1 3RE


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message