From owner-freebsd-current@FreeBSD.ORG Fri Apr 16 08:58:26 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E1D716A4CE for ; Fri, 16 Apr 2004 08:58:26 -0700 (PDT) Received: from www.kukulies.org (www.kukulies.org [213.146.112.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BCEF43D45 for ; Fri, 16 Apr 2004 08:58:25 -0700 (PDT) (envelope-from kuku@www.kukulies.org) Received: from www.kukulies.org (localhost [127.0.0.1]) by www.kukulies.org (8.12.10/8.12.10) with ESMTP id i3GFwMqj005654 for ; Fri, 16 Apr 2004 17:58:23 +0200 (CEST) (envelope-from kuku@www.kukulies.org) Received: (from kuku@localhost) by www.kukulies.org (8.12.10/8.12.10/Submit) id i3GFwM9T005653 for freebsd-current@freebsd.org; Fri, 16 Apr 2004 17:58:22 +0200 (CEST) (envelope-from kuku) Date: Fri, 16 Apr 2004 17:58:21 +0200 From: "Christoph P. Kukulies" To: freebsd-current@freebsd.org Message-ID: <20040416155821.GA5542@gilberto.physik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: mod_jk problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 15:58:26 -0000 I'm trying to get tomcat 5 and apache 1.3 working under FreeBSD 5.2.1. I installed mod_jk from ports. I'm getting the following message (error) in http-error.log: [Fri Apr 16 17:09:45 2004] [info] mod_unique_id: using ip addr 192.168.1.119 [Fri Apr 16 17:09:46 2004] [info] (2)No such file or directory: make_sock: for p ort 80, setsockopt: (SO_ACCEPTFILTER) [Fri Apr 16 17:09:46 2004] [error] (2)No such file or directory: Error while ope ning the workers, jk will not work [Fri Apr 16 17:09:46 2004] [info] mod_unique_id: using ip addr 192.168.1.119 [Fri Apr 16 17:09:47 2004] [notice] Apache/1.3.29 (Unix) mod_jk/1.2.5 configured -- resuming normal operations [Fri Apr 16 17:09:47 2004] [info] Server built: Mar 16 2004 19:10:32 [Fri Apr 16 17:09:47 2004] [notice] Accept mutex: flock (Default: flock) make_sock is in apache/src/main/http_main.c: if (setsockopt(s, SOL_SOCKET, SO_ACCEPTFILTER, &af, sizeof(af)) < 0) { if (errno == ENOPROTOOPT) { ap_log_error(APLOG_MARK, APLOG_INFO | APLOG_NOERRNO, server_conf , "socket option SO_ACCEPTFILTER unkown on this machine. Continuing."); } else { ap_log_error(APLOG_MARK, APLOG_WARNING | APLOG_INFO, server_conf , "make_sock: for %s, setsockopt: (SO_ACCEPTFILTER)", add r); } } } I can't get mod_jk working. Later I'm getting the following in jk.log: [Fri Apr 16 17:22:23 2004] [jk_uri_worker_map.c (524)]: jk_uri_worker_map_t::ma p_uri_to_worker, Found a context match worker2 -> /servlets/ [Fri Apr 16 17:22:23 2004] [jk_worker.c (132)]: Into wc_get_worker_for_name wor ker2 [Fri Apr 16 17:22:23 2004] [jk_worker.c (136)]: wc_get_worker_for_name, done di d not found a worker [Fri Apr 16 17:28:03 2004] [jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_ t::map_uri_to_worker [Fri Apr 16 17:28:03 2004] [jk_uri_worker_map.c (500)]: Attempting to map URI ' /servlets-examples' [Fri Apr 16 17:28:03 2004] [jk_uri_worker_map.c (514)]: jk_uri_worker_map_t::ma p_uri_to_worker, Found an exact match worker2 -> /servlets-examples [Fri Apr 16 17:28:03 2004] [jk_worker.c (132)]: Into wc_get_worker_for_name wor ker2 [Fri Apr 16 17:28:03 2004] [jk_worker.c (136)]: wc_get_worker_for_name, done di d not found a worker (For my own reputation: "did not found" is not my english :-) -- Chris Christoph P. U. Kukulies kuku_at_physik.rwth-aachen.de