I can't get Tomcat to work correctly with IIS in the
in-process mode.
I successfully installed Tomcat with the ISAPI redirector
(isapi_redirect.dll) & the JNI adapter (jni_connect.dll), following the
instructions of the in-process-howto.html & tomcat-iis-howto.html
files.
Globally, Tomcat is working well in this configuration, but I
often get errors from the redirector. These errors are not fatals to Tomcat, but
they make my web application to crash. Here are the two types or errors I get,
traced in isapi_redirect.log :
1)
[jk_jnicb.c (352)]: Into
JNIConnectionHandler::startReasponse
[jk_jnicb.c (360)]: In JNIConnectionHandler::startReasponse, 6 headers follow ---> [jk_jnicb.c (396)]: ---> Expires=Sat, 26 May 2001 08:24:42 GMT [jk_jnicb.c (396)]: ---> Content-Type=image/gif [jk_jnicb.c (396)]: ---> Cache-Control=max-age=1296000 [jk_jnicb.c (396)]: ---> Last-Modified=Fri, 11 May 2001 08:23:09 GMT [jk_jnicb.c (396)]: ---> Content-Length=796 [jk_jnicb.c (396)]: ---> Servlet-Engine=Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; ava.vendor=Sun Microsystems Inc.) [jk_jnicb.c (400)]: In JNIConnectionHandler::startReasponse. ----- End headers. [jk_isapi_plugin.c (201)]: Into jk_ws_service_t::start_response [jk_isapi_plugin.c (261)]: jk_ws_service_t::start_response, ServerSupportFunction failed [jk_jnicb.c (420)]: In JNIConnectionHandler::startReasponse, servers startReasponse failed [jk_jnicb.c (452)]: Done JNIConnectionHandler::startReasponse. 2)
[jk_isapi_plugin.c (317)]:
jk_ws_service_t::read, ReadClient failed
[jk_jnicb.c (131)]: In JNIConnectionHandler::read, failed to read from web server [jk_jnicb.c (139)]: Done JNIConnectionHandler::read I use Tomcat 3.2.1 with Sun's JDK 1.3.0_02, and
IIS4.0.
I tried to tracks these errors by examinating
Tomcat sources, and I concluded that there is a misunderstanding between IIS and
isapi_connect.dll, during the call of the ServerSupportFunction function. But I
don't know more about this last function and now I'm blocked...
Is there a known issue ?
Thanks,
Yann.
|