Hi,

I'm having difficulty setting up Tomcat 3.2.3 with Apache 1.3.20 on Solaris
7. I've installed Tomcat and all the examples work, Apache works, and I've
compiled mod_jk, mod_jk loads into Apache ok. I've removed the
HttpConnectionHandler from server.xml since Apache will be handling static
requests.

I start Tomcat and it runs fine, I start Apache and I get the above error in
Apache's error_log, nothing is written to mod_jk's log and Apache
terminates. The worker.properties file exists and is readable by the user
and group Apache runs as. My TOMCAT_HOME is correct, as is the path to
JAVA_HOME. Here's my VirtualHost config:

<VirtualHost 10.41.6.51>
        ServerName some.server.name

        DocumentRoot /path/to/htdocs

        LogFormat "%h %l %u %t \"%r\" %>s %b" common
        CustomLog /path/to/logs/apache_log common

        JkLogFile  /path/to/logs/jk.log
        JkWorkersFile /path/to/conf/workers.properties
        JkLogLevel warn
        JkMount /*.jsp ajp12
        JkMount /servlet/* ajp12
        JkMount /examples/* ajp12

</VirtualHost>

I've tried trussing the Apache startup, all I get is a call to stat():

stat("/path/to/workers.properties", 0xFFBEB148) = 0

Shortly after is an open of the jk.log where it writes:

[jk_uri_worker_map.c (296)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 3 rules
[jk_uri_worker_map.c (317)]: jk_uri_worker_map_t::uri_worker_map_open, done

... etc, which looks ok to me. My workers.properties file is as default,
except I've changed the port number (and corresponding entries, a standalone
Tomcat runs perfectly). I'm obviously missing something, but I can't work
out what it is. Any help much appreciated!

Thanks,

Steven.

Reply via email to