mturk 2002/07/02 05:06:46 Modified: jk/native2/common jk_worker_jni.c Log: Disable the call ro the DestoryJavaVM. This call should be invoked when the TomcatStarter or something else signals that there will be no more calls. Revision Changes Path 1.23 +7 -2 jakarta-tomcat-connectors/jk/native2/common/jk_worker_jni.c Index: jk_worker_jni.c =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_jni.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- jk_worker_jni.c 1 Jul 2002 23:11:42 -0000 1.22 +++ jk_worker_jni.c 2 Jul 2002 12:06:46 -0000 1.23 @@ -378,13 +378,18 @@ env->l->jkLog(env, env->l, JK_LOG_INFO, "jni.destroy() calling main()...\n"); - + (*jniEnv)->CallStaticVoidMethod(jniEnv, jniWorker->jk_java_bridge_class, jniWorker->jk_main_method, jargs,stdout_name,stderr_name); - +#if 0 + /* XXX Need to fix the TomcatStarter not calling jkSetAttribute + * and call the destroy JVM on that event. + * Perhaps the DestroyJavaVM is not needed at all. + */ vm->destroy(env, vm); +#endif } env->l->jkLog(env, env->l, JK_LOG_INFO, "jni.destroy() done\n");
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>