I'm trying to integrate
tomcat 5.5 and
apache 2.2.3 on windows xP (have to use it) . I've download the latest
mod_jk.so and placed in into
modules folder of apache.
Following additions/changes were made to
ServerName localhost:8160 Listen 8160 #load module LoadModule jk_module modules/mod_jk.so <IfModule jk_module> JkWorkersFile conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel debug JkShmFile logs/mod_jk.shm JkWatchdogInterval 60 JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkMount /jsp-examples/*.jsp worker1 JkMount /servlets-examples/* worker1 </IfModule>
workers.properties which contains:
worker.list=worker1 # Set properties for worker1 (ajp13) worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8165
<Connector port="8165" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" />
To begin i was trying to load the default webapps that ship with tomcat 5.5.
http://localhost:8165/servlets-examples/ works fine ,
localhost:8160 shows "It works!" but trying 'http://localhost:8160/servlets-examples/' gives me a long wait and then
Bad Gateway The proxy server received an invalid response from an upstream server.
The requested URL /jsp-examples was not found on this server.
Here's the link to
mod_jk.log : http://pastie.org/2766089
anyone see what i've done wrong?