Does someone succeed to run Apache 2.0.48 / mod_jk2 (2.0.2) /Tomcat 4 on Solaris 9?
Does someone manage to make this work with a mod_jk2 (2.0.2)? I just get
a lot of "Can't find child ... in scoreboard" (looks like
<http://issues.apache.org/bugzilla/show_bug.cgi?id=19044>). It seems to
me that Apache launches its children processes and its modules
concurrently; I once got a child process finish to configure after
mod_jk2, and it went recognized (in the log: first a bunch of
"jk2_init() Can't find child 20363 in scoreboard; workerEnv.init() ok
/usr/local/httpd-2.0.48/conf/workers2.properties; mod_jk child init 1
-2" for child processes that had finished their loading before mod_jk2,
then "Apache/2.0.48 (Unix) mod_jk2/2.0.2 configured -- resuming normal
operations", then the last child finishing and resulting in a "Found
child ..." from mod_jk2).
I then tried compiling Apache with a "worker" MGM (instead of the
default "prefork") and changing the StartServers parameter to 0 so that
child processes are started after Apache's modules configuration, but it
doesn't work either.
I compiled Apache with gcc3:
../configure --prefix="$HTTPD_DIR" --enable-module=most
--enable-shared=most --without-gdbm --without-berkeley-db --with-mpm=worker
(the "without"s are mostly for avoiding to compile some things present
on a dev machine but not on the deployment one).
And mod_jk2 with:
# I first modified jk_ws.m4 which seems bugged in JK_WS_INCDIR (3 params
# expected, 2 used by configure.in.
# configure.in needed some rework too, by replacing a if ! ${TEST} by
# if ${TEST} !
sh buildconf.sh
# --target=NONE to force subscripts to use the configure-detected system
../configure --with-apache2-include="$HTTPD_DIR/include"
--with-apache2-lib="$HTTPD_DIR/lib" --with-apxs2="$HTTPD_DIR/bin/apxs"
--with-tomcat41="$TOMCAT_DIR" --target=NONE
Thanks!