You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jess Holle and Wendy Vidlak <je...@mediaone.net> on 2000/06/03 19:45:32 UTC

IIS 5 and isapi_redirect.dll

As per others I've seen in the archives, Tomcat is working fine for me when
accessed directly, but not when accessed through IIS.

I've checked over and over the registry settings, the jakarta virtual
directory, the ISAPI filter installation, etc.  I still continue to get
errors rather than results when requesting "http://localhost/examples/",
etc, through.

Below is my isapi.log when the log level is set to "debug" for such a failed
request.  Most of this apparently is fine, but when I set the log level to
"error", the two lines containing "NULL parameter(s)" show up so these
apparently indicate a problem.  These are the 3rd and 4th line from the
bottom.

Can anyone point me towards what I did wrong?

My setup is the default "out of the box" Tomcat setup plus the
isapi_redirect.dll and using pooled (with default settings) rather than
simple connections for the ajp12 worker.

[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 (338)]: jk_uri_worker_map_t::uri_worker_map_open, done
with ajp12
[jk_isapi_plugin.c (395)]: In HttpFilterProc /examples/ should redirect to
ajp12
[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.

--
Jess Holle


RE: IIS 5 and isapi_redirect.dll

Posted by Jess Holle and Wendy Vidlak <je...@mediaone.net>.
> No this is not the problem, the problem is that the ISAPI extension part
> of the filter is not getting called.

Ok.  That seems a bit odd since I am getting all this stuff in the
isapi_redirect.dll's log, but I don't claim to understand the internals of
isapi_redirect.dll (else I would have tracked from the error messages
through the sources).

> Can anyone point me towards what I did wrong?
>
> My setup is the default "out of the box" Tomcat setup plus the
> isapi_redirect.dll and using pooled (with default settings) rather than
> simple connections for the ajp12 worker.

> What is the exact error message that you get?

I'll have to install Netscape to tell you, IE gives mangled error messages
that have little relation to the original (I just reformatted and
reinstalled from scratch and thus only have IE).  IE says something about
DNS or server not found, but doesn't say which error code it got much less
which error message or error stream.

> Also, did you configure a jakarta virtual directory that points to the
location
> of the filter DLL? DId you give this directory execution permissions?

Yes and yes.  Also, this DLL is loaded as an ISAPI filter (complete with
green arrow and "High" priority.

I'll install Netscape as soon as I can and get back to you with real error
info.

Thanks.

--
Jess Holle


Re: IIS 5 and isapi_redirect.dll

Posted by Gal Shachor <sh...@il.ibm.com>.

Jess,
> 
> As per others I've seen in the archives, Tomcat is working fine for me when
> accessed directly, but not when accessed through IIS.
> 
> I've checked over and over the registry settings, the jakarta virtual
> directory, the ISAPI filter installation, etc.  I still continue to get
> errors rather than results when requesting "http://localhost/examples/",
> etc, through.
> 
> Below is my isapi.log when the log level is set to "debug" for such a failed
> request.  Most of this apparently is fine, but when I set the log level to
> "error", the two lines containing "NULL parameter(s)" show up so these
> apparently indicate a problem.  These are the 3rd and 4th line from the
> bottom.

No this is not the problem, the problem is that the ISAPI extension part
of the filter is not getting called.

> 
> Can anyone point me towards what I did wrong?
> 
> My setup is the default "out of the box" Tomcat setup plus the
> isapi_redirect.dll and using pooled (with default settings) rather than
> simple connections for the ajp12 worker.
> 

What is the exact error message that you get? 
Also, did you configure a jakarta virtual directory that points to the
location
of the filter DLL? DId you give this directory execution permissions?

	Gal Shachor