You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jonathan Pierce <Jo...@seagram.com> on 2000/04/18 17:09:14 UTC

Re[2]: IIS ISAPI / Tomcat Problem - Help

The version of the dll was part of the problem, but now I am getting a different
symptom. 

Why isn't the IIS dll build part of the 3.1 distribution build process?

When I serve the URL with the new version of the dll, it looks like Tomcat can't
find the file,
but it works on the 8080 port.

http://localhost:8080/examples/servlet/HelloWorldExample

works fine,

but

http://localhost:80/examples/servlet/HelloWorldExample

still generates a 404 for a different reason now.

Do you have any idea why this is failing? Is this working for anyone else? 



The isapi.log contents are as follows:

[jk_uri_worker_map.c (150)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (183)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (197)]: jk_uri_worker_map_t::uri_worker_map_open, rule map
size is 2
[jk_uri_worker_map.c (253)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /servlet/=ajp12 was added
[jk_uri_worker_map.c (253)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /examples/=ajp12 was added
[jk_uri_worker_map.c (282)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 2 rules
[jk_uri_worker_map.c (303)]: jk_uri_worker_map_t::uri_worker_map_open, done
[jk_worker.c (100)]: Into wc_open
[jk_worker.c (219)]: Into build_worker_map, creating 1 workers
[jk_worker.c (225)]: build_worker_map, creating worker ajp12
[jk_worker.c (156)]: Into wc_create_worker
[jk_worker.c (170)]: wc_create_worker, about to create instance ajp12 of ajp12
[jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
[jk_worker.c (179)]: wc_create_worker, about to validate and init ajp12
[jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
[jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact is
localhost:8007
[jk_worker.c (189)]: wc_create_worker, done
[jk_worker.c (235)]: build_worker_map, removing old ajp12 worker 
[jk_worker.c (247)]: build_worker_map, done
[jk_worker.c (120)]: wc_open, done
[jk_worker.c (141)]: Into wc_get_worker_for_name ajp12
[jk_worker.c (145)]: wc_get_worker_for_name, done  found a worker
[jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
[jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
[jk_connect.c (107)]: Into jk_open_socket
[jk_connect.c (114)]: jk_open_socket, try to connect socket = 1084
[jk_connect.c (123)]: jk_open_socket, after connect ret = 0
[jk_connect.c (131)]: jk_open_socket, set TCP_NODELAY to on
[jk_connect.c (139)]: jk_open_socket, return, sd = 1084
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 1084
[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 (395)]: ajpv12_handle_request, sending the headers
[jk_ajp12_worker.c (414)]: ajpv12_handle_request, sending the terminating mark
[jk_ajp12_worker.c (454)]: ajpv12_handle_request done
[jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
[jk_ajp12_worker.c (470)]: Into ajpv12_handle_response
[jk_ajp12_worker.c (484)]: ajpv12_handle_response, read Status: 404 Not Found
[jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Status=404 Not Found
[jk_ajp12_worker.c (484)]: ajpv12_handle_response, read Date: Tue, 18 Apr 2000
14:21:08 GMT
[jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Date=Tue, 18 Apr 2000
14:21:08 GMT
[jk_ajp12_worker.c (524)]: ajpv12_handle_response, allocating header arrays
[jk_ajp12_worker.c (484)]: ajpv12_handle_response, read Servlet-Engine: Tomcat
Web Server/3.2 dev (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 4.0 x86;
java.vendor=Sun Microsystems Inc.)
[jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Servlet-Engine=Tomcat
Web Server/3.2 dev (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 4.0 x86;
java.vendor=Sun Microsystems Inc.)
[jk_ajp12_worker.c (484)]: ajpv12_handle_response, read Content-Language: en
[jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Content-Language=en
[jk_ajp12_worker.c (484)]: ajpv12_handle_response, read Content-Type: text/html
[jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Content-Type=text/html
[jk_ajp12_worker.c (484)]: ajpv12_handle_response, read Status: 404
[jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Status=404
[jk_ajp12_worker.c (484)]: ajpv12_handle_response, read 
[jk_ajp12_worker.c (486)]: ajpv12_handle_response, headers are done
[jk_ajp12_worker.c (545)]: ajpv12_handle_response, starting response
[jk_ajp12_worker.c (556)]: ajpv12_handle_response, reading response body
[jk_ajp12_worker.c (572)]: ajpv12_handle_response, response body is done
[jk_ajp12_worker.c (584)]: ajpv12_handle_response done
[jk_ajp12_worker.c (163)]: Into jk_endp



____________________Reply Separator____________________
Subject:    Re: IIS ISAPI / Tomcat Problem - Help
Author: tomcat-dev@jakarta.apache.org
Date:       4/18/00 10:53 AM


 Jonathan,

I can think of two reasons:
1. The pre built dlls available for download are not in sync with the
CVS/V3.1_rc*
   So if you use Tomcat V3.1_rc1 (or a privately built CVS checkout) you
should d/l 
   the updated plugins from :
  
http://jakarta.apache.org/builds/tomcat/release/v3.1_rc1/bin/win32/i386/
2. I know that this may sound silly, but did you start tomcat prior to
accessing it?
   IIS (or any other Web Server) will not start tomcat for you.

        Gal Shachor

Jonathan Pierce wrote:
> 
> I installed the Tomcat isapi_redirect.dll according to the instructions, and I
> build the Tomcat dist but cannot get Tomcat to serve the example context on
port
> 80 with the dll. What am I doing wrong?
> 
> I'm running the latest Tomcat3.1 dist from today on NT4, SP6.  Tomcat works
fine
> on port 8080.
> 
> The DLL loads fine, and I get the expected green arrow, but the URL:
> http://localhost:80/examples/servlet/HelloWorldExample
> returns a 404 page not found error.
> 
> Here is the contents of my isapi.log file in debug mode:
> 
> [jk_uri_worker_map.c (111)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
> [jk_uri_worker_map.c (144)]: Into jk_uri_worker_map_t::uri_worker_map_open
> [jk_uri_worker_map.c (158)]: jk_uri_worker_map_t::uri_worker_map_open, rule
map
> size is 2
> [jk_uri_worker_map.c (214)]: Into jk_uri_worker_map_t::uri_worker_map_open,
> match rule /servlet/=ajp12 was added
> [jk_uri_worker_map.c (214)]: Into jk_uri_worker_map_t::uri_worker_map_open,
> match rule /examples/=ajp12 was added
> [jk_uri_worker_map.c (243)]: Into jk_uri_worker_map_t::uri_worker_map_open,
> there are 2 rules
> [jk_uri_worker_map.c (264)]: jk_uri_worker_map_t::uri_worker_map_open, done
> [jk_worker.c (98)]: Into wc_open
> [jk_worker.c (217)]: Into build_worker_map, creating 1 workers
> [jk_worker.c (223)]: build_worker_map, creating worker ajp12
> [jk_worker.c (154)]: Into wc_create_worker
> [jk_worker.c (168)]: wc_create_worker, about to create instance ajp12 of ajp12
> [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
> [jk_worker.c (177)]: wc_create_worker, about to validate and init ajp12
> [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
> [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact
is
> localhost:8007
> [jk_worker.c (187)]: wc_create_worker, done
> [jk_worker.c (233)]: build_worker_map, removing old ajp12 worker
> [jk_worker.c (245)]: build_worker_map, done
> [jk_worker.c (118)]: wc_open, done
> [jk_worker.c (139)]: Into wc_get_worker_for_name ajp12
> [jk_worker.c (143)]: wc_get_worker_for_name, done  found a worker
> [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
> [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
> [jk_connect.c (107)]: Into jk_open_socket
> [jk_connect.c (114)]: jk_open_socket, try to connect socket = 1048
> [jk_connect.c (123)]: jk_open_socket, after connect ret = 0
> [jk_connect.c (131)]: jk_open_socket, set TCP_NODELAY to on
> [jk_connect.c (139)]: jk_open_socket, return, sd = 1048
> [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 1048
> [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 (393)]: ajpv12_handle_request, sending the headers
> [jk_ajp12_worker.c (412)]: ajpv12_handle_request, sending the terminating mark
> [jk_ajp12_worker.c (452)]: ajpv12_handle_request done
> [jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
> [jk_ajp12_worker.c (468)]: Into ajpv12_handle_response
> [jk_worker.c (139)]: Into wc_get_worker_for_name ajp12
> [jk_worker.c (143)]: wc_get_worker_for_name, done  found a worker
> [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
> [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
> [jk_connect.c (107)]: Into jk_open_socket
> [jk_connect.c (114)]: jk_open_socket, try to connect socket = 1040
> [jk_connect.c (123)]: jk_open_socket, after connect ret = 0
> [jk_connect.c (131)]: jk_open_socket, set TCP_NODELAY to on
> [jk_connect.c (139)]: jk_open_socket, return, sd = 1040
> [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 1040
> [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 (393)]: ajpv12_handle_request, sending the headers
> [jk_ajp12_worker.c (412)]: ajpv12_handle_request, sending the terminating mark
> [jk_ajp12_worker.c (452)]: ajpv12_handle_request done
> [jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
> [jk_ajp12_worker.c (468)]: Into ajpv12_handle_response
> [jk_worker.c (139)]: Into wc_get_worker_for_name ajp12
> [jk_worker.c (143)]: wc_get_worker_for_name, done  found a worker
> [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
> [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
> [jk_connect.c (107)]: Into jk_open_socket
> [jk_connect.c (114)]: jk_open_socket, try to connect socket = 184
> [jk_connect.c (123)]: jk_open_socket, after connect ret = 0
> [jk_connect.c (131)]: jk_open_socket, set TCP_NODELAY to on
> [jk_connect.c (139)]: jk_open_socket, return, sd = 184
> [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 184
> [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 (393)]: ajpv12_handle_request, sending the headers
> [jk_ajp12_worker.c (412)]: ajpv12_handle_request, sending the terminating mark
> [jk_ajp12_worker.c (452)]: ajpv12_handle_request done
> [jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
> [jk_ajp12_worker.c (468)]: Into ajpv12_handle_response
> [jk_uri_worker_map.c (127)]: Into jk_uri_worker_map_t::uri_worker_map_free
> [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_close
> [jk_uri_worker_map.c (278)]: jk_uri_worker_map_t::uri_worker_map_close, NULL
> parameter
> [jk_uri_worker_map.c (134)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL
> parameters
> [jk_worker.c (125)]: Into wc_close
> [jk_worker.c (127)]: wc_close, done
> 
> Jonathan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org