You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by du...@pg.com on 2001/09/13 19:37:09 UTC

Help with IIS and Tomcat.

Hi.
     I'm trying to get Tomcat to work in our server environment.  I've
downloaded and installed Tomcat to our server.  I've followed both the Tomcat
IIS howto and the Minimalistic UG instructions to the best of my knowledge.

     Please help!  We have a team lined up to start JSP programming on Monday
9/17.

     Thanks!

     Kevin Dugan
     CompuCom System, Inc.
     Data Management Team, Procter & Gamble.

  Environment:
NT4.0 service pack 6
IIS 4.0
Sun JDK 1.3.1 installed to D:\opt\jdk1.3.1
Tomcat 3.2.3 installed to D:\opt\jakarta-tomcat-3.2.3\
     All the \conf\ files were combed for Java_home and Tomcat_home variables
and correctly set.
     All registry keys have been triple checked for accuracy according to the
"Tomcat IIS how to".
     IIS ISAPI filter has the green UP arrow.


  Problem:
Redirection via ISAPI_REDIRECT.DLL does not seem to be working correctly.
According to the log below, it almost appears it's forwarding the url
"/jakarta/isapi_redirect" to the ajp12 process instead of
"/exampes/jsp/index.html".

  Symptoms:
a) Browser pointed to "http://go-datamgt001.na.pg.com/default.asp serves up asp
pages just fine.
b) Browser pointed to "
http://go-datamgt001.na.pg.com:8080/examples/jsp/index.html" works just fine.
c) Browser pointed to "http://go-datamgt001.na.pg.com/examples/jsp/index.html"
gives the following error:
    NOT FOUND 404
   Original request: /jakarta/isapi_redirect.dll
   Not found request: /jakarta/isapi_redirect.dll

   Logs:
W3SVC\in010913.log shows no activity for the /examples requests.  In case 'b'
this is expected because we're calling Tomcat directly.
In case 'c' this is not expected because of what the "Tomcat IIS How To"
document indicates about viewing the error.  I've tried changing the log format
from IS to NCSA standard and still only seems to log successful requests.


Below is the text from the ISAPI.LOG file.

[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /examples/jsp/index.html
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (407)]: jk_uri_worker_map_t::map_uri_to_worker, Found a match ajp12
[jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index.html] is a servlet url - should redirect to ajp12
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/examples/jsp/index.html] is points to the web-inf directory
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /jakarta/isapi_redirect.dll
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (435)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/jakarta/isapi_redirect.dll] is not a servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/jakarta/isapi_redirect.dll] is points to the web-inf directory
[jk_isapi_plugin.c (517)]: HttpExtensionProc started
[jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
[jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
[jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12
[jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
[jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
[jk_connect.c (108)]: Into jk_open_socket
[jk_connect.c (115)]: jk_open_socket, try to connect socket = 1332
[jk_connect.c (124)]: jk_open_socket, after connect ret = 0
[jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
[jk_connect.c (140)]: jk_open_socket, return, sd = 1332
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 1332
[jk_ajp12_worker.c (357)]: Into ajpv12_handle_request
[jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12 start sequence
[jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers
[jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the terminating mark
[jk_ajp12_worker.c (477)]: ajpv12_handle_request done
[jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
[jk_ajp12_worker.c (493)]: Into ajpv12_handle_response
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Status: 404 Not Found
[jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Status=404 Not Found
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Content-Type: text/html
[jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Content-Type=text/html
[jk_ajp12_worker.c (547)]: ajpv12_handle_response, allocating header arrays
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Content-Length: 201
[jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Content-Length=201
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Servlet-Engine: Tomcat Web Server/3.2.3 (JSP 1.1; Servlet 2.2; Java 1.3.1; Windows NT 4.0 x86;
java.vendor=Sun Microsystems Inc.)
[jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Servlet-Engine=Tomcat Web Server/3.2.3 (JSP 1.1; Servlet 2.2; Java 1.3.1; Windows NT 4.0 x86;
java.vendor=Sun Microsystems Inc.)
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read
[jk_ajp12_worker.c (509)]: ajpv12_handle_response, headers are done
[jk_ajp12_worker.c (568)]: ajpv12_handle_response, starting response
[jk_isapi_plugin.c (201)]: Into jk_ws_service_t::start_response
[jk_ajp12_worker.c (579)]: ajpv12_handle_response, reading response body
[jk_isapi_plugin.c (335)]: Into jk_ws_service_t::write
[jk_ajp12_worker.c (595)]: ajpv12_handle_response, response body is done
[jk_ajp12_worker.c (607)]: ajpv12_handle_response done
[jk_isapi_plugin.c (551)]: HttpExtensionProc service() returned OK
[jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done