You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2008/09/27 19:37:57 UTC
svn commit: r699698 -
/tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c
Author: rjung
Date: Sat Sep 27 10:37:57 2008
New Revision: 699698
URL: http://svn.apache.org/viewvc?rev=699698&view=rev
Log:
Don't return error codes from GetLastError in init_jk,
since JK_TRUE or JK_FALSE is expected.
We shouldn't fail if watchdog thread could not be created,
to keep behaviour consistent with mod_jk in Apache httpd.
But increase log level of error to EMERG and log GetLastError.
Modified:
tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c
Modified: tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c?rev=699698&r1=699697&r2=699698&view=diff
==============================================================================
--- tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c (original)
+++ tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c Sat Sep 27 10:37:57 2008
@@ -1869,9 +1869,8 @@
watchdog_handle = CreateThread(NULL, 0, watchdog_thread,
NULL, 0, &wi);
if (!watchdog_handle) {
- rc = GetLastError();
- jk_log(logger, JK_LOG_ERROR, "Error creating Watchdog thread");
- return rc;
+ jk_log(logger, JK_LOG_EMERG, "Error %d (0x%08x) creating Watchdog thread",
+ GetLastError(), GetLastError());
}
}
jk_log(logger, JK_LOG_INFO, "%s initialized", (VERSION_STRING));
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org