Hi, I'm running into an issue of a new install of Tomcat and the Connector to integrate with an existing apache site.
RHEL4 httpd-2.0.55-2 tomcat5-5.5.17-6jpp_2rh Mod_jk-1.2.19 built from source The error that I'm seeing is I get a 400 status code for any page I'm trying to serve - looking at the mod_jk.log file, I see a "no host matches server name server.domain.fqdn". I've tried many things to try and resolve this, but am unable to. Do anyone have any info please? Please find attached the mod_jk.log extract Thanks, Matthew _______________________ Httpd.conf extract LoadModule jk_module modules/mod_jk.so JkWorkersFile /etc/httpd/conf/worker.properties JkLogFile /var/log/httpd/mod_jk.log JkLogLevel debug JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat "%w %V %T" JkMount /*.jsp worker1 _________________________________ /etc/httpd/conf/worker.properties # Define 1 real worker using ajp13 worker.list=worker1 # Set properties for worker1 (ajp13) worker.worker1.type=ajp13 worker.worker1.host=localhost 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 _______________________
map_uri_to_worker::jk_uri_worker_map.c (513): Attempting to map URI '/~dickinsonmg/test.jsp' from 1 maps map_uri_to_worker::jk_uri_worker_map.c (525): Attempting to map context URI '/*.jsp' map_uri_to_worker::jk_uri_worker_map.c (539): Found a wildchar match worker1 -> /*.jsp jk_handler::mod_jk.c (1920): Into handler jakarta-servlet worker=worker1 r->proxyreq=0 wc_get_worker_for_name::jk_worker.c (111): found a worker worker1 wc_maintain::jk_worker.c (318): Maintaining worker worker1 wc_get_name_for_type::jk_worker.c (287): Found worker type 'ajp13' init_ws_service::mod_jk.c (568): Service protocol=HTTP/1.1 method=GET host=dhcp.server.fqdn addr=128.xxx.xxx.xx name=babbage.server.fqdn port= 80 auth=(null) user=(null) laddr=128.xxx.xxx.xxx raddr=128.xxx.xxx.xxx ajp_get_endpoint::jk_ajp_common.c (2251): acquired connection pool slot=0 ajp_marshal_into_msgb::jk_ajp_common.c (547): ajp marshaling done ajp_service::jk_ajp_common.c (1734): processing worker1 with 2 retries jk_open_socket::jk_connect.c (334): socket TCP_NODELAY set to On jk_open_socket::jk_connect.c (347): socket SO_KEEPALIVE set to On jk_open_socket::jk_connect.c (397): timeout 300 set for socket=16 jk_open_socket::jk_connect.c (432): trying to connect socket 16 to 127.0.0.1:8009 jk_open_socket::jk_connect.c (458): socket 16 connected to 127.0.0.1:8009 ajp_connect_to_endpoint::jk_ajp_common.c (846): Connected socket 16 to (127.0.0.1:8009) ajp_connection_tcp_send_message::jk_ajp_common.c (892): sending to ajp13 pos=4 len=507 max=8192 ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0000 12 34 01 F7 02 02 00 08 48 54 54 50 2F 31 2E 31 - .4......HTTP/1.1 ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0010 00 00 16 2F 7E 64 69 63 6B 69 6E 73 6F 6E 6D 67 - .../~dickinsonmg ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0020 2F 74 65 73 74 2E 6A 73 70 00 00 0E 31 32 - /test.jsp... ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - xxxxxxxxx ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - xxxxxxx ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - xxxxbabba ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - ge.server.fqdn ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0070 00 00 00 00 50 00 00 0A A0 0B 00 17 62 61 62 62 - ....P.......babb ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0080 61 67 65 2E 63 73 2E 6D 69 73 73 6F 75 72 69 2E - age.cs.missouri. ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0090 65 64 75 00 A0 0E 00 6E 4D 6F 7A 69 6C 6C 61 2F - edu....nMozilla/ ajp_connection_tcp_send_message::jk_ajp_common.c (892): 00a0 35 2E 30 20 28 57 69 6E 64 6F 77 73 3B 20 55 3B - 5.0.(Windows;.U; ajp_connection_tcp_send_message::jk_ajp_common.c (892): 00b0 20 57 69 6E 64 6F 77 73 20 4E 54 20 35 2E 31 3B - .Windows.NT.5.1; ajp_connection_tcp_send_message::jk_ajp_common.c (892): 00c0 20 65 6E 2D 55 53 3B 20 72 76 3A 31 2E 38 2E 30 - .en-US;.rv:1.8.0 ajp_connection_tcp_send_message::jk_ajp_common.c (892): 00d0 2E 35 29 20 47 65 63 6B 6F 2F 32 30 30 36 30 37 - .5).Gecko/200607 ajp_connection_tcp_send_message::jk_ajp_common.c (892): 00e0 32 31 20 4D 75 6C 74 69 5A 69 6C 6C 61 2F 31 2E - 21.MultiZilla/1. ajp_connection_tcp_send_message::jk_ajp_common.c (892): 00f0 38 2E 32 2E 30 69 20 53 65 61 4D 6F 6E 6B 65 79 - 8.2.0i.SeaMonkey ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0100 2F 31 2E 30 2E 33 00 A0 01 00 63 74 65 78 74 2F - /1.0.3....ctext/ ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0110 78 6D 6C 2C 61 70 70 6C 69 63 61 74 69 6F 6E 2F - xml,application/ ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0120 78 6D 6C 2C 61 70 70 6C 69 63 61 74 69 6F 6E 2F - xml,application/ ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0130 78 68 74 6D 6C 2B 78 6D 6C 2C 74 65 78 74 2F 68 - xhtml+xml,text/h ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0140 74 6D 6C 3B 71 3D 30 2E 39 2C 74 65 78 74 2F 70 - tml;q=0.9,text/p ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0150 6C 61 69 6E 3B 71 3D 30 2E 38 2C 69 6D 61 67 65 - lain;q=0.8,image ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0160 2F 70 6E 67 2C 2A 2F 2A 3B 71 3D 30 2E 35 00 A0 - /png,*/*;q=0.5.. ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0170 04 00 0E 65 6E 2D 75 73 2C 65 6E 3B 71 3D 30 2E - ...en-us,en;q=0. ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0180 35 00 A0 03 00 0C 67 7A 69 70 2C 64 65 66 6C 61 - 5.....gzip,defla ajp_connection_tcp_send_message::jk_ajp_common.c (892): 0190 74 65 00 A0 02 00 1E 49 53 4F 2D 38 38 35 39 2D - te.....ISO-8859- ajp_connection_tcp_send_message::jk_ajp_common.c (892): 01a0 31 2C 75 74 66 2D 38 3B 71 3D 30 2E 37 2C 2A 3B - 1,utf-8;q=0.7,*; ajp_connection_tcp_send_message::jk_ajp_common.c (892): 01b0 71 3D 30 2E 37 00 00 0A 4B 65 65 70 2D 41 6C 69 - q=0.7...Keep-Ali ajp_connection_tcp_send_message::jk_ajp_common.c (892): 01c0 76 65 00 00 03 33 30 30 00 A0 06 00 0A 6B 65 65 - ve...300.....kee ajp_connection_tcp_send_message::jk_ajp_common.c (892): 01d0 70 2D 61 6C 69 76 65 00 00 0D 43 61 63 68 65 2D - p-alive...Cache- ajp_connection_tcp_send_message::jk_ajp_common.c (892): 01e0 43 6F 6E 74 72 6F 6C 00 00 09 6D 61 78 2D 61 67 - Control...max-ag ajp_connection_tcp_send_message::jk_ajp_common.c (892): 01f0 65 3D 30 00 A0 08 00 01 30 00 FF 00 00 00 00 00 - e=0.....0....... ajp_send_request::jk_ajp_common.c (1261): request body to send 0 - request body to resend 0 ajp_connection_tcp_get_message::jk_ajp_common.c (1028): received from ajp13 pos=0 len=59 max=8192 ajp_connection_tcp_get_message::jk_ajp_common.c (1028): 0000 04 01 90 00 33 4E 6F 20 48 6F 73 74 20 6D 61 74 - ....3No.Host.mat ajp_connection_tcp_get_message::jk_ajp_common.c (1028): 0010 63 68 65 73 20 73 65 72 76 65 72 20 6E 61 6D 65 - ches.server.name ajp_connection_tcp_get_message::jk_ajp_common.c (1028): 0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - .server.fqdn ajp_connection_tcp_get_message::jk_ajp_common.c (1028): 0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - ............. ajp_unmarshal_response::jk_ajp_common.c (602): status = 400 ajp_unmarshal_response::jk_ajp_common.c (609): Number of headers is = 0 ajp_connection_tcp_get_message::jk_ajp_common.c (1028): received from ajp13 pos=0 len=2 max=8192 ajp_connection_tcp_get_message::jk_ajp_common.c (1028): 0000 05 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - ................ ajp_done::jk_ajp_common.c (2194): recycling connection pool slot=0 for worker worker1 worker1 babbage.cs.server.fqdn 0.220412 jk_handler::mod_jk.c (2047): Service finished with status=400 for worker=worker1
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]