tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gery Kahn <geryk...@newmail.net>
Subject How to configure jni?
Date Mon, 30 Dec 2002 07:25:10 GMT
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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message