You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gary Fidler <ga...@exantehealth.com> on 2000/08/12 01:05:16 UTC

IIS with Tomcat

I am trying to run the IIS web server with Tomcat.  I read the "Tomcat IIS
HowTo" and followed all instructions to the letter.  The isapi.dll is
installed and the windows registry properly messed with.

I have a WinNT4/SP5 server running IIS 4.0 and Tomcat 3.1.

Tomcat works fine and can find the example JSPs on port 8080.

IIS also works fine and finds static files properly.

The jakarta filter shows a green arrow.

I have used the default properties files so I can test connectivity between
IIS and Tomcat and see the example JSPs.  I cannot see them on port 80.  The
link to the example JSPs return: "HTTP 500" or "HTTP 404" errors.

The servers have been restarted properly.

Can anyone give me some idea as to why the two server processes are not
communicating?

Below is a sample of what I am seeing in the isapi.log file.

[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_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /examples
[jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open, done
with NULL
[jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /test
[jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open, done
with NULL
[jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /oac
[jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open, done
with NULL

LATER...

[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 = 348
[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 = 348
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 348
[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: Wed, 09 Aug
2000 21:29:28 GMT
[jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Date=Wed, 09 Aug
2000 21:29:28 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.1 (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.1 (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_endpoint_t::done

THEN...

[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 = 320
[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 = 320
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 320
[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: Wed, 09 Aug
2000 21:29:31 GMT
[jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Date=Wed, 09 Aug
2000 21:29:31 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.1 (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.1 (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_endpoint_t::done
[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


Thanks

Gary Fidler
Gary.Fidler@exantehealth.com


RE: IIS with Tomcat - More

Posted by Greg Nieman <gn...@zoomtown.com>.
Yep, probably should have included that info as well.  Directory is there,
set with script and exe permissions.  Thanks for asking, though.

gn

-----Original Message-----
From: Powel Crosley [mailto:pcrosley@crosley.co.nz]
Sent: Sunday, August 13, 2000 10:33 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: IIS with Tomcat - More


Greg,

Be sure you have a virtual directory under your website (in IIS Managment
Consle) pointing to the directory where isapi_redirect is located!

I went nuts trying to figure out what was wrong with Tomcat until I noticed
the
brief sentence in the IIS-HowTo that mentioned that!

Instant results.

Greg Nieman wrote:

> I have something very similar going on.  I've been running fine using
Tomcat
> standalone, but when I try to run with IIS, no go.  The arrow is green in
> the ISAPI filter tab, but I can't seem to hit it through the IIS 80 port.
> Rebooting did nada for me.
>
> I am running a little ahead of the curve.  I'm using Windows 2000 Pro, but
> I'm not sure that is the issue, especially with NT4 people getting similar
> behaviors.  I've also tried rolling back from jdk 1.3 to 1.2.2, but with
the
> same results.  All the files in the \conf dir are the defaults.  For the
reg
> settings I created a .reg file so I could just cut and paste values out of
> the How To document.  About the only thing I changed was putting the dll
in
> bin\iis instead of \bin\iis\i386.  My registry entries are below:
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
> Redirector\1.0]
> "extension_uri"="/jakarta/isapi_redirect.dll"
> "log_file"="d:\\tomcat\\isapi.log"
> "log_level"="error"
> "worker_file"="d:\\tomcat\\conf\\workers.properties"
> "worker_mount_file"="d:\\tomcat\\conf\\uriworkermap.properties"
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
> Manager\Environment]
> "JAVA_HOME"="C:\\JAVA\\JDK1.3"
> "TOMCAT_HOME"="D:\\TOMCAT"
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters]
> "Filter DLLs"="d:\\tomcat\\bin\\iis\\isapi_redirect.dll"
>
> And the log file that gets created when I restart IIS with an log level of
> error( and this happens on the stop of the server, not the start ), looks
> like:
>
> [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
>
> This tends to worry me, since something signaled as an error with the
worker
> mappings seems to have the potential to hose me up when I submit a page.
> Anyone know what is going on here?
>
> And if I put it on debug:
>
> [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 /test/=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_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
>
> And just to make sure that I'm not calling the stupid thing wrong, here is
> the url I am using:
>
> http://localhost/jakarta/examples/jsp/index.html
>
> which works fine if I use
>
> http://localhost:8080/examples/jsp/index.html
>
> in standalone mode.
>
> It seems like I've got to be missing something small here.  I'm going to
> keep plugging at it, but if anyone sees something that jumps out, I'd
> appreciate the input.
>
> gn
>
> -----Original Message-----
> From: Toby Piper [mailto:tpiper@CompCraft.com]
> Sent: Sunday, August 13, 2000 4:29 PM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: IIS with Tomcat
>
> If you haven't already, try re-booting. I found that IIS wouldn't pick it
up
> otherwise. Just starting and stopping the IIS services didn't seem to do
it.
>
> I spent a lot of time fooling around with it until I did that.
>
> Also make sure that you spelled everything right when you put in the
> registry
> entries. I messed up mine and didn't catch it until I had looked at them
> about
> four times.
>
> > -----Original Message-----
> > From: Gary Fidler [mailto:gary.fidler@exantehealth.com]
> > Sent: Friday, August 11, 2000 4:05 PM
> > To: Tomcat-User
> > Subject: IIS with Tomcat
> >
> >
> > I am trying to run the IIS web server with Tomcat.  I read the "Tomcat
IIS
> > HowTo" and followed all instructions to the letter.  The isapi.dll is
> > installed and the windows registry properly messed with.
> >
> > I have a WinNT4/SP5 server running IIS 4.0 and Tomcat 3.1.
> >
> > Tomcat works fine and can find the example JSPs on port 8080.
> >
> > IIS also works fine and finds static files properly.
> >
> > The jakarta filter shows a green arrow.
> >
> > I have used the default properties files so I can test connectivity
> between
> > IIS and Tomcat and see the example JSPs.  I cannot see them on port 80.
> The
> > link to the example JSPs return: "HTTP 500" or "HTTP 404" errors.
> >
> > The servers have been restarted properly.
> >
> > Can anyone give me some idea as to why the two server processes are not
> > communicating?
> >
> > Below is a sample of what I am seeing in the isapi.log file.
> >
> > [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_isapi_plugin.c (385)]: In HttpFilterProc test redirection of
/examples
> > [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
> > [jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open,
> done
> > with NULL
> > [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /test
> > [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
> > [jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open,
> done
> > with NULL
> > [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /oac
> > [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
> > [jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open,
> done
> > with NULL
> >
> > LATER...
> >
> > [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 = 348
> > [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 = 348
> > [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 348
> > [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: Wed, 09
Aug
> > 2000 21:29:28 GMT
> > [jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Date=Wed, 09 Aug
> > 2000 21:29:28 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.1 (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.1 (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_endpoint_t::done
> >
> > THEN...
> >
> > [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 = 320
> > [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 = 320
> > [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 320
> > [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: Wed, 09
Aug
> > 2000 21:29:31 GMT
> > [jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Date=Wed, 09 Aug
> > 2000 21:29:31 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.1 (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.1 (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_endpoint_t::done
> > [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
> >
> >
> > Thanks
> >
> > Gary Fidler
> > Gary.Fidler@exantehealth.com
> >
> >

--
Regards,
Powel Crosley

Crosley Consultants
PO Box 846
Dunedin

pcrosley@crosley.co.nz
+64 (03) 477 3596
+64 (03) 477 3597 Facsimile





Re: IIS with Tomcat - More

Posted by Powel Crosley <pc...@crosley.co.nz>.
Greg,

Be sure you have a virtual directory under your website (in IIS Managment
Consle) pointing to the directory where isapi_redirect is located!

I went nuts trying to figure out what was wrong with Tomcat until I noticed the
brief sentence in the IIS-HowTo that mentioned that!

Instant results.

Greg Nieman wrote:

> I have something very similar going on.  I've been running fine using Tomcat
> standalone, but when I try to run with IIS, no go.  The arrow is green in
> the ISAPI filter tab, but I can't seem to hit it through the IIS 80 port.
> Rebooting did nada for me.
>
> I am running a little ahead of the curve.  I'm using Windows 2000 Pro, but
> I'm not sure that is the issue, especially with NT4 people getting similar
> behaviors.  I've also tried rolling back from jdk 1.3 to 1.2.2, but with the
> same results.  All the files in the \conf dir are the defaults.  For the reg
> settings I created a .reg file so I could just cut and paste values out of
> the How To document.  About the only thing I changed was putting the dll in
> bin\iis instead of \bin\iis\i386.  My registry entries are below:
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
> Redirector\1.0]
> "extension_uri"="/jakarta/isapi_redirect.dll"
> "log_file"="d:\\tomcat\\isapi.log"
> "log_level"="error"
> "worker_file"="d:\\tomcat\\conf\\workers.properties"
> "worker_mount_file"="d:\\tomcat\\conf\\uriworkermap.properties"
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
> Manager\Environment]
> "JAVA_HOME"="C:\\JAVA\\JDK1.3"
> "TOMCAT_HOME"="D:\\TOMCAT"
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters]
> "Filter DLLs"="d:\\tomcat\\bin\\iis\\isapi_redirect.dll"
>
> And the log file that gets created when I restart IIS with an log level of
> error( and this happens on the stop of the server, not the start ), looks
> like:
>
> [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
>
> This tends to worry me, since something signaled as an error with the worker
> mappings seems to have the potential to hose me up when I submit a page.
> Anyone know what is going on here?
>
> And if I put it on debug:
>
> [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 /test/=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_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
>
> And just to make sure that I'm not calling the stupid thing wrong, here is
> the url I am using:
>
> http://localhost/jakarta/examples/jsp/index.html
>
> which works fine if I use
>
> http://localhost:8080/examples/jsp/index.html
>
> in standalone mode.
>
> It seems like I've got to be missing something small here.  I'm going to
> keep plugging at it, but if anyone sees something that jumps out, I'd
> appreciate the input.
>
> gn
>
> -----Original Message-----
> From: Toby Piper [mailto:tpiper@CompCraft.com]
> Sent: Sunday, August 13, 2000 4:29 PM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: IIS with Tomcat
>
> If you haven't already, try re-booting. I found that IIS wouldn't pick it up
> otherwise. Just starting and stopping the IIS services didn't seem to do it.
>
> I spent a lot of time fooling around with it until I did that.
>
> Also make sure that you spelled everything right when you put in the
> registry
> entries. I messed up mine and didn't catch it until I had looked at them
> about
> four times.
>
> > -----Original Message-----
> > From: Gary Fidler [mailto:gary.fidler@exantehealth.com]
> > Sent: Friday, August 11, 2000 4:05 PM
> > To: Tomcat-User
> > Subject: IIS with Tomcat
> >
> >
> > I am trying to run the IIS web server with Tomcat.  I read the "Tomcat IIS
> > HowTo" and followed all instructions to the letter.  The isapi.dll is
> > installed and the windows registry properly messed with.
> >
> > I have a WinNT4/SP5 server running IIS 4.0 and Tomcat 3.1.
> >
> > Tomcat works fine and can find the example JSPs on port 8080.
> >
> > IIS also works fine and finds static files properly.
> >
> > The jakarta filter shows a green arrow.
> >
> > I have used the default properties files so I can test connectivity
> between
> > IIS and Tomcat and see the example JSPs.  I cannot see them on port 80.
> The
> > link to the example JSPs return: "HTTP 500" or "HTTP 404" errors.
> >
> > The servers have been restarted properly.
> >
> > Can anyone give me some idea as to why the two server processes are not
> > communicating?
> >
> > Below is a sample of what I am seeing in the isapi.log file.
> >
> > [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_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /examples
> > [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
> > [jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open,
> done
> > with NULL
> > [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /test
> > [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
> > [jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open,
> done
> > with NULL
> > [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /oac
> > [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
> > [jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open,
> done
> > with NULL
> >
> > LATER...
> >
> > [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 = 348
> > [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 = 348
> > [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 348
> > [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: Wed, 09 Aug
> > 2000 21:29:28 GMT
> > [jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Date=Wed, 09 Aug
> > 2000 21:29:28 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.1 (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.1 (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_endpoint_t::done
> >
> > THEN...
> >
> > [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 = 320
> > [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 = 320
> > [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 320
> > [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: Wed, 09 Aug
> > 2000 21:29:31 GMT
> > [jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Date=Wed, 09 Aug
> > 2000 21:29:31 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.1 (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.1 (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_endpoint_t::done
> > [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
> >
> >
> > Thanks
> >
> > Gary Fidler
> > Gary.Fidler@exantehealth.com
> >
> >

--
Regards,
Powel Crosley

Crosley Consultants
PO Box 846
Dunedin

pcrosley@crosley.co.nz
+64 (03) 477 3596
+64 (03) 477 3597 Facsimile



RE: IIS with Tomcat - More

Posted by Greg Nieman <gn...@zoomtown.com>.
I have something very similar going on.  I've been running fine using Tomcat
standalone, but when I try to run with IIS, no go.  The arrow is green in
the ISAPI filter tab, but I can't seem to hit it through the IIS 80 port.
Rebooting did nada for me.

I am running a little ahead of the curve.  I'm using Windows 2000 Pro, but
I'm not sure that is the issue, especially with NT4 people getting similar
behaviors.  I've also tried rolling back from jdk 1.3 to 1.2.2, but with the
same results.  All the files in the \conf dir are the defaults.  For the reg
settings I created a .reg file so I could just cut and paste values out of
the How To document.  About the only thing I changed was putting the dll in
bin\iis instead of \bin\iis\i386.  My registry entries are below:

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0]
"extension_uri"="/jakarta/isapi_redirect.dll"
"log_file"="d:\\tomcat\\isapi.log"
"log_level"="error"
"worker_file"="d:\\tomcat\\conf\\workers.properties"
"worker_mount_file"="d:\\tomcat\\conf\\uriworkermap.properties"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment]
"JAVA_HOME"="C:\\JAVA\\JDK1.3"
"TOMCAT_HOME"="D:\\TOMCAT"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters]
"Filter DLLs"="d:\\tomcat\\bin\\iis\\isapi_redirect.dll"

And the log file that gets created when I restart IIS with an log level of
error( and this happens on the stop of the server, not the start ), looks
like:

[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

This tends to worry me, since something signaled as an error with the worker
mappings seems to have the potential to hose me up when I submit a page.
Anyone know what is going on here?

And if I put it on debug:

[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 /test/=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_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

And just to make sure that I'm not calling the stupid thing wrong, here is
the url I am using:

http://localhost/jakarta/examples/jsp/index.html

which works fine if I use

http://localhost:8080/examples/jsp/index.html

in standalone mode.

It seems like I've got to be missing something small here.  I'm going to
keep plugging at it, but if anyone sees something that jumps out, I'd
appreciate the input.

gn





-----Original Message-----
From: Toby Piper [mailto:tpiper@CompCraft.com]
Sent: Sunday, August 13, 2000 4:29 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: IIS with Tomcat


If you haven't already, try re-booting. I found that IIS wouldn't pick it up
otherwise. Just starting and stopping the IIS services didn't seem to do it.

I spent a lot of time fooling around with it until I did that.

Also make sure that you spelled everything right when you put in the
registry
entries. I messed up mine and didn't catch it until I had looked at them
about
four times.

> -----Original Message-----
> From: Gary Fidler [mailto:gary.fidler@exantehealth.com]
> Sent: Friday, August 11, 2000 4:05 PM
> To: Tomcat-User
> Subject: IIS with Tomcat
>
>
> I am trying to run the IIS web server with Tomcat.  I read the "Tomcat IIS
> HowTo" and followed all instructions to the letter.  The isapi.dll is
> installed and the windows registry properly messed with.
>
> I have a WinNT4/SP5 server running IIS 4.0 and Tomcat 3.1.
>
> Tomcat works fine and can find the example JSPs on port 8080.
>
> IIS also works fine and finds static files properly.
>
> The jakarta filter shows a green arrow.
>
> I have used the default properties files so I can test connectivity
between
> IIS and Tomcat and see the example JSPs.  I cannot see them on port 80.
The
> link to the example JSPs return: "HTTP 500" or "HTTP 404" errors.
>
> The servers have been restarted properly.
>
> Can anyone give me some idea as to why the two server processes are not
> communicating?
>
> Below is a sample of what I am seeing in the isapi.log file.
>
> [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_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /examples
> [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
> [jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open,
done
> with NULL
> [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /test
> [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
> [jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open,
done
> with NULL
> [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /oac
> [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
> [jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open,
done
> with NULL
>
> LATER...
>
> [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 = 348
> [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 = 348
> [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 348
> [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: Wed, 09 Aug
> 2000 21:29:28 GMT
> [jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Date=Wed, 09 Aug
> 2000 21:29:28 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.1 (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.1 (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_endpoint_t::done
>
> THEN...
>
> [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 = 320
> [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 = 320
> [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 320
> [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: Wed, 09 Aug
> 2000 21:29:31 GMT
> [jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Date=Wed, 09 Aug
> 2000 21:29:31 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.1 (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.1 (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_endpoint_t::done
> [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
>
>
> Thanks
>
> Gary Fidler
> Gary.Fidler@exantehealth.com
>
>



RE: IIS with Tomcat

Posted by Toby Piper <tp...@CompCraft.com>.
If you haven't already, try re-booting. I found that IIS wouldn't pick it up
otherwise. Just starting and stopping the IIS services didn't seem to do it.

I spent a lot of time fooling around with it until I did that.

Also make sure that you spelled everything right when you put in the registry
entries. I messed up mine and didn't catch it until I had looked at them about
four times.

> -----Original Message-----
> From: Gary Fidler [mailto:gary.fidler@exantehealth.com]
> Sent: Friday, August 11, 2000 4:05 PM
> To: Tomcat-User
> Subject: IIS with Tomcat
>
>
> I am trying to run the IIS web server with Tomcat.  I read the "Tomcat IIS
> HowTo" and followed all instructions to the letter.  The isapi.dll is
> installed and the windows registry properly messed with.
>
> I have a WinNT4/SP5 server running IIS 4.0 and Tomcat 3.1.
>
> Tomcat works fine and can find the example JSPs on port 8080.
>
> IIS also works fine and finds static files properly.
>
> The jakarta filter shows a green arrow.
>
> I have used the default properties files so I can test connectivity between
> IIS and Tomcat and see the example JSPs.  I cannot see them on port 80.  The
> link to the example JSPs return: "HTTP 500" or "HTTP 404" errors.
>
> The servers have been restarted properly.
>
> Can anyone give me some idea as to why the two server processes are not
> communicating?
>
> Below is a sample of what I am seeing in the isapi.log file.
>
> [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_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /examples
> [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
> [jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open, done
> with NULL
> [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /test
> [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
> [jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open, done
> with NULL
> [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /oac
> [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
> [jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open, done
> with NULL
>
> LATER...
>
> [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 = 348
> [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 = 348
> [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 348
> [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: Wed, 09 Aug
> 2000 21:29:28 GMT
> [jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Date=Wed, 09 Aug
> 2000 21:29:28 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.1 (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.1 (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_endpoint_t::done
>
> THEN...
>
> [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 = 320
> [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 = 320
> [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 320
> [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: Wed, 09 Aug
> 2000 21:29:31 GMT
> [jk_ajp12_worker.c (512)]: ajpv12_handle_response, read Date=Wed, 09 Aug
> 2000 21:29:31 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.1 (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.1 (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_endpoint_t::done
> [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
>
>
> Thanks
>
> Gary Fidler
> Gary.Fidler@exantehealth.com
>
>