You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "David A. Frischknecht" <fi...@yahoo.com> on 2004/07/13 20:13:26 UTC
Problem configuring Tomcat 5 to work with Apache 2.0.50 using JK2
Hello,
I'm trying to get Tomcat 5 to work with Apache 2.0.50 on a Win2K Pro
box. Tomcat works fine by itself, and so does Apache. However, when I
follow the steps in the JK2 documentation and then try to test it, I get
an HTTP error 500. I've included the appropriate lines from the Apache
error log file. I've also included the lines from my jk2.properties,
workers2.properties, and server.xml files. Any help would be appreciated
Dave
--jk2.properties--
# list of needed handlers.
handler.list=apr,channelSocket,request
# Override the default port for the channelSocket
channelSocket.port=8009
--server.xml--
<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
<Connector port="8009"
enableLookups="false" redirectPort="8443" debug="0"
protocol="AJP/1.3" />
--workers2.properties--
[shm]
file=${serverRoot}/logs/shm.file
size=1048576
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
[uri:/servlets-examples/*]
worker=ajp13:localhost:8009
--error.log--
[Tue Jul 13 13:55:58 2004] [error] channelApr.open() attempt to connect
to 127.0.0.1:8009 (127.0.0.1) failed 730061
[Tue Jul 13 13:55:58 2004] [error] ajp13.connect() failed
ajp13:localhost:8009
[Tue Jul 13 13:55:59 2004] [error] ajp13.service() failed to connect
endpoint errno=0 No error
[Tue Jul 13 13:55:59 2004] [error] ajp13.service() Error forwarding
ajp13:localhost:8009 1 1
[Tue Jul 13 13:55:59 2004] [error] mod_jk2.handler() Error connecting to
tomcat 120000, status 0
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org