Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2004 17:58:21 +0200
From:      "Christoph P. Kukulies" <kuku@kukulies.org>
To:        freebsd-current@freebsd.org
Subject:   mod_jk problem
Message-ID:  <20040416155821.GA5542@gilberto.physik.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040416155821.GA5542>