You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ken Cox <ke...@synchronicity.com> on 2003/04/01 21:43:27 UTC

Does mod_jk2 and JNI work with the Apache2 prefork MPM?

I'm stuck trying to use mod_jk2 (2.0.2) to connect Tomcat (4.1.24) to my
prefork Apache (2.0.45) via JNI.  Does anyone know have this type of setup
working?

What I really want is a servlet engine running in Apache's processes,
so that it can make JNI calls back into my (thread unsafe) C++ code.

Thanks,
Ken

-------------- Snippet from error_log -----------------------

[Tue Apr 01 12:37:32 2003] [notice] jk2_init() Found child 25470 in
scoreboard slot 0
[Tue Apr 01 12:37:32 2003] [notice] jk2_init() Found child 25471 in
scoreboard slot 1
[Tue Apr 01 12:37:32 2003] [notice] vm.init(): Jni lib:
/home/synch/build/rel40/src/vendor/java-sdk/java1.4/Linux/jre/lib/i386/cli
ent/libjvm.so
[Tue Apr 01 12:37:32 2003] [notice] vm.init(): Jni lib:
/home/synch/build/rel40/src/vendor/java-sdk/java1.4/Linux/jre/lib/i386/cli
ent/libjvm.so
[Tue Apr 01 12:37:32 2003] [error] jk2_init() Can't find child 25472 in
scoreboard
...
[Tue Apr 01 12:37:32 2003] [notice] vm.open2() done
[Tue Apr 01 12:37:32 2003] [error] workerEnv.initChannel() init failed for
channel.jni:jni
[Tue Apr 01 12:37:32 2003] [notice] workerJni.Init() Skipping initialization
for the 4 25474
[Tue Apr 01 12:37:32 2003] [error] workerEnv.initWorkers() init failed for
worker.jni:onStartup
[Tue Apr 01 12:37:32 2003] [notice] workerJni.Init() Skipping initialization
for the 4 25474
[Tue Apr 01 12:37:32 2003] [error] workerEnv.initWorkers() init failed for
worker.jni:onShutdown


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org