marcsaeg 00/12/27 14:00:38
Modified: src/native/iis Tag: tomcat_32 jk_isapi_plugin.c
Log:
Now log an error message if either the worker_mount_file or worker_file
can't be read. This should hopefully help people diagnose problems that
cause the isapi_redirect.dll not to load.
Revision Changes Path
No revision
No revision
1.5.2.2 +8 -2 jakarta-tomcat/src/native/iis/Attic/jk_isapi_plugin.c
Index: jk_isapi_plugin.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/native/iis/Attic/jk_isapi_plugin.c,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -u -r1.5.2.1 -r1.5.2.2
--- jk_isapi_plugin.c 2000/12/11 21:18:23 1.5.2.1
+++ jk_isapi_plugin.c 2000/12/27 22:00:35 1.5.2.2
@@ -56,7 +56,7 @@
/***************************************************************************
* Description: ISAPI plugin for IIS/PWS *
* Author: Gal Shachor <[EMAIL PROTECTED]> *
- * Version: $Revision: 1.5.2.1 $ *
+ * Version: $Revision: 1.5.2.2 $ *
***************************************************************************/
#include <httpext.h>
@@ -631,7 +631,10 @@
if(uri_worker_map_alloc(&uw_map, map, logger)) {
rc = JK_TRUE;
}
- }
+ }else{
+ jk_log(logger, JK_LOG_ERROR, "Unable to read worker_mount_file
%s.\n",
+ worker_mount_file);
+ }
map_free(&map);
}
@@ -642,6 +645,9 @@
if(wc_open(map, logger)) {
rc = JK_TRUE;
}
+ }else{
+ jk_log(logger, JK_LOG_ERROR, "Unable to read worker_file
%s.\n",
+ worker_file);
}
map_free(&map);
}