You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Gery Kahn <ge...@newmail.net> on 2002/12/30 08:25:10 UTC

How to configure jni?

Well.
I have Apapche 1.3.27 compiled w/ REENTRANT,
Tomcat 4.1.17(from rpm) and mod_jk2, compiled
w/ Apache1.3 and apr-0.9.1. Also jdk 1.4.1_01.
All that running under RedHat 7.3
Configured to use jni worker.

When i am starting apache have follows errors in jk2.log:

(error ) [jk_workerEnv.c (239)]  workerEnv.initChannel() init failed for 
channel.jni:jni

which to be comming (closest i got) from 
jk/native2/server/aoache13/jk_service_apache13.c
jk2_init_ws_service()

where
	workerEnv->childId = r->connection->child_num;

cause of that at jk2_channel_jni_init()
from (jk/native2/common/jk_channel_jni.c)

if (wEnv->childId != 0) {
	if( jniW->worker != NULL )
		jniW->worker->mbean->disabled=JK_TRUE;
	return JK_ERR;
}

So , please tell me what is childId ? How i can fix it? Patch?
Thank you. I already spend a week with it. Please help.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>