nacho 02/05/28 17:50:50 Modified: jk/native2/server/isapi jk_isapi_plugin.c Log: * default win32 native logger needs to be inited before first use, to make the needed registry changes. XXX Need a way to undone this registry mods? Revision Changes Path 1.21 +5 -3 jakarta-tomcat-connectors/jk/native2/server/isapi/jk_isapi_plugin.c Index: jk_isapi_plugin.c =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/isapi/jk_isapi_plugin.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- jk_isapi_plugin.c 29 May 2002 00:10:18 -0000 1.20 +++ jk_isapi_plugin.c 29 May 2002 00:50:49 -0000 1.21 @@ -60,7 +60,7 @@ * Author: Gal Shachor <[EMAIL PROTECTED]> * * Author: Larry Isaacs <[EMAIL PROTECTED]> * * Author: Ignacio J. Ortega <[EMAIL PROTECTED]> * - * Version: $Revision: 1.20 $ * + * Version: $Revision: 1.21 $ * ***************************************************************************/ // This define is needed to include wincrypt,h, needed to get client certificates @@ -728,8 +728,8 @@ l = jkb->object; env->l=l; - env->soName=env->globalPool->calloc(env, env->globalPool, strlen(file_name)+1); + env->l->init(env,env->l); if( env->soName == NULL ){ env->l->jkLog(env, env->l, JK_LOG_ERROR, "Error creating env->soName\n"); @@ -762,11 +762,13 @@ jk_env_t *env; if( workerEnv==NULL ) { env = jk2_create_workerEnv(); + env->l->jkLog(env, env->l, JK_LOG_ERROR, "JK2 Config Created"); } else { env = workerEnv->globalEnv->getEnv( workerEnv->globalEnv ); + env->l->jkLog(env, env->l, JK_LOG_ERROR, "JK2 Config Reused"); } - env->l->jkLog(env, env->l, JK_LOG_ERROR, "JK2 Config Created"); + return env; }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>