Hi, I have configured Apache 1.3 with mod_jk on SuSE Linux SLES8 on a zSeries.
mod_jk will only connect to tomcat on the localhost. <detail> One Linux instance runs the Web Server and one runs Tomcat 4.1.27 In order to test the config I installed tomcat on the web server machine and mapped the application /examples/ to forward to the local tomcat. this works fine. However when changing the config to point to a remote machine (see config below) I always get an error in the apache error log. I have used tcpdump -i any 'dst port 8009' (see output below) and this always indicates that mod_jk is trying to connect to the localhost whatever I put in th workers.properties file. To test network connectivity I have used telnet <ip address> 8009 and I can connect to tomcat and see the connection occur in the remote tomcat log files. I have also included a tcpdump of this below. Has anyone seen anything sinmilar. Best Rgds Peter <config> mod_jk configured (workers.properties) as follows: worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.host=192.168.13.10 worker.worker1.port=8009 worker.worker1.lbfactor=50 worker.worker1.cachesize=10 worker.worker1.cache_timeout=600 worker.worker1.socket_keepalive=1 worker.worker1.socket_timeout=300 worker.worker1.local_worker=0 ############################################################################ apache mount points are configured in httpd.conf JkWorkersFile /etc/httpd/conf/workers.properties JkLogFile /var/log/mod_jk.log JkLogLevel error JkMount /examples/* worker1 JkMount /examples/*.jsp worker1 ########################################################### tcpdump while accessing the /examples/ www02:/etc # tcpdump -n -i any 'dst port 8009' 16:19:21.496621 127.0.0.1.33194 > 127.0.0.1.8009: S 3501290459:3501290459(0) win 32767 <mss 16396,sa ckOK,timestamp 9268978 0,nop,wscale 0> (DF) 16:19:21.497287 127.0.0.1.33195 > 127.0.0.1.8009: S 3497571144:3497571144(0) win 32767 <mss 16396,sa ckOK,timestamp 9268978 0,nop,wscale 0> (DF) 16:19:21.497733 127.0.0.1.33196 > 127.0.0.1.8009: S 3498859603:3498859603(0) win 32767 <mss 16396,sa ckOK,timestamp 9268978 0,nop,wscale 0> (DF) telnet 192.168.13.10 8009 www02:/etc # tcpdump -n -i any 'dst port 8009' tcpdump: WARNING: Promiscuous mode not supported on the "any" device tcpdump: listening on any 16:19:07.631821 192.168.12.11.33193 > 192.168.13.10.8009: S 3495439382:3495439382(0) win 5840 <mss 1 460,sackOK,timestamp 9267591 0,nop,wscale 0> (DF) [tos 0x10] 16:19:07.635099 192.168.12.11.33193 > 192.168.13.10.8009: . ack 3495439509 win 5840 <nop,nop,timesta mp 9267592 9396807> (DF) [tos 0x10] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]