tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Ward" <nrw...@cox.net>
Subject Re: IIS and the isapi_redirect.dll
Date Thu, 24 Jul 2003 12:24:17 GMT
Here's the log files that I meant to include before.

Also, what url did you go to test the configuration? Welcome pages won't be
displayed when accessed via IIS, e.g. http://localhost/examples doesn't work
but http://localhost/examples/servlet/index.html does work.

What is in your workers.properties and uriworkermap.properties files? Please
also send the connector for port 8009 from your server.xml file.

My ISAPI Redirector log file:
[Wed Jul 23 16:18:12 2003]  [jk_isapi_plugin.c (1018)]: Using registry.
[Wed Jul 23 16:18:12 2003]  [jk_isapi_plugin.c (1020)]: Using log file
C:\apps\jakarta-tomcat-4.1.24\logs\iis_redirect.log.
[Wed Jul 23 16:18:12 2003]  [jk_isapi_plugin.c (1021)]: Using log level 0.
[Wed Jul 23 16:18:12 2003]  [jk_isapi_plugin.c (1022)]: Using extension uri
/tomcat/isapi_redirector.dll.
[Wed Jul 23 16:18:12 2003]  [jk_isapi_plugin.c (1023)]: Using worker file
C:\apps\jakarta-tomcat-4.1.24\conf\workers.properties.
[Wed Jul 23 16:18:12 2003]  [jk_isapi_plugin.c (1024)]: Using worker mount
file C:\apps\jakarta-tomcat-4.1.24\conf\uriworkermap.properties.
[Wed Jul 23 16:18:12 2003]  [jk_isapi_plugin.c (1025)]: Using uri select 0.
[Wed Jul 23 16:18:12 2003]  [jk_uri_worker_map.c (172)]: Into
jk_uri_worker_map_t::uri_worker_map_alloc
[Wed Jul 23 16:18:12 2003]  [jk_uri_worker_map.c (375)]: Into
jk_uri_worker_map_t::uri_worker_map_open
[Wed Jul 23 16:18:12 2003]  [jk_uri_worker_map.c (396)]:
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 1
[Wed Jul 23 16:18:12 2003]  [jk_uri_worker_map.c (321)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule /rms/=ajp13Worker was
added
[Wed Jul 23 16:18:12 2003]  [jk_uri_worker_map.c (408)]: Into
jk_uri_worker_map_t::uri_worker_map_open, there are 1 rules
[Wed Jul 23 16:18:12 2003]  [jk_uri_worker_map.c (422)]:
jk_uri_worker_map_t::uri_worker_map_open, done
[Wed Jul 23 16:18:12 2003]  [jk_worker.c (88)]: Into wc_open
[Wed Jul 23 16:18:12 2003]  [jk_worker.c (224)]: Into build_worker_map,
creating 1 workers
[Wed Jul 23 16:18:12 2003]  [jk_worker.c (230)]: build_worker_map, creating
worker ajp13Worker
[Wed Jul 23 16:18:12 2003]  [jk_worker.c (148)]: Into wc_create_worker
[Wed Jul 23 16:18:12 2003]  [jk_worker.c (260)]: Factory :ajp12
[Wed Jul 23 16:18:12 2003]  [jk_worker.c (260)]: Factory :ajp13
[Wed Jul 23 16:18:12 2003]  [jk_worker.c (164)]: wc_create_worker, about to
create instance ajp13Worker of ajp13
[Wed Jul 23 16:18:12 2003]  [jk_ajp13_worker.c (108)]: Into
ajp13_worker_factory
[Wed Jul 23 16:18:12 2003]  [jk_worker.c (173)]: wc_create_worker, about to
validate and init ajp13Worker
[Wed Jul 23 16:18:12 2003]  [jk_ajp_common.c (1206)]: Into
jk_worker_t::validate
[Wed Jul 23 16:18:12 2003]  [jk_ajp_common.c (1226)]: In
jk_worker_t::validate for worker ajp13Worker contact is localhost:8009
[Wed Jul 23 16:18:12 2003]  [jk_ajp_common.c (1254)]: Into jk_worker_t::init
[Wed Jul 23 16:18:12 2003]  [jk_ajp_common.c (1274)]: In jk_worker_t::init,
setting socket timeout to 0
[Wed Jul 23 16:18:12 2003]  [jk_worker.c (189)]: wc_create_worker, done
[Wed Jul 23 16:18:12 2003]  [jk_worker.c (240)]: build_worker_map, removing
old ajp13Worker worker
[Wed Jul 23 16:18:12 2003]  [jk_worker.c (252)]: build_worker_map, done
[Wed Jul 23 16:18:12 2003]  [jk_worker.c (111)]: wc_open, done 1
[Wed Jul 23 16:18:12 2003]  [jk_isapi_plugin.c (655)]: Detected IIS >= 5.0
[Wed Jul 23 16:18:12 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
started
[Wed Jul 23 16:18:12 2003]  [jk_isapi_plugin.c (759)]: In HttpFilterProc
Virtual Host redirection of /localhost/rms/Main.jsp
[Wed Jul 23 16:18:12 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Wed Jul 23 16:18:12 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/localhost/rms/Main.jsp'
[Wed Jul 23 16:18:12 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Wed Jul 23 16:18:12 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc
test Default redirection of /rms/Main.jsp
[Wed Jul 23 16:18:12 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Wed Jul 23 16:18:12 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/rms/Main.jsp'
[Wed Jul 23 16:18:12 2003]  [jk_uri_worker_map.c (502)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13Worker ->
/rms/
[Wed Jul 23 16:18:12 2003]  [jk_isapi_plugin.c (775)]: HttpFilterProc
[/rms/Main.jsp] is a servlet url - should redirect to ajp13Worker
[Wed Jul 23 16:18:12 2003]  [jk_isapi_plugin.c (838)]: HttpFilterProc check
if [/rms/Main.jsp] is points to the web-inf directory

My IIS log file:
#Software: Microsoft Internet Information Services 5.0
#Version: 1.0
#Date: 2003-07-23 17:02:10
#Fields: date time c-ip cs-username s-sitename s-computername s-ip s-port
cs-method cs-uri-stem sc-status
2003-07-23 17:02:10 127.0.0.1 - W3SVC1 NWARDLT 127.0.0.1 80 GET
/jakarta/isapi_redirect.dll 200
2003-07-23 17:02:10 127.0.0.1 - W3SVC1 NWARDLT 127.0.0.1 80 GET
/jakarta/isapi_redirect.dll 200
2003-07-23 17:02:10 127.0.0.1 - W3SVC1 NWARDLT 127.0.0.1 80 GET
/jakarta/isapi_redirect.dll 200
2003-07-23 17:02:10 127.0.0.1 - W3SVC1 NWARDLT 127.0.0.1 80 GET
/jakarta/isapi_redirect.dll 200

----- Original Message -----
From: "Nathan Ward" <nrward@cox.net>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, July 24, 2003 8:17 AM
Subject: Re: IIS and the isapi_redirect.dll


> What does your jk_iis.log file and also your IIS log file (in
> c:\winnt\system32\LogFiles\W3SVC1 directory) show? I'll include a copy of
> mine at the end of this message. The jk_iis.log file should show that it
> accesses the registry and reads the workers.properties and
> uriworkermap.properties files, and also show the urls patterns that it
found
> in uriworkermap.properties. IIS log should indicate that IIS got a 200
> response code from the isapi_redirect.dll. You can also set the debug
level
> on the connector listening on 8009 in server.xml to 5 to get info that
will
> show that the connector is running. That has never helped me very much
> though.
>
> I found that the book "Professional Apache Tomcat" had the best
description
> of configuring IIS/Tomcat including very good troubleshooting tips.
>
> Have you tried configuring IIS on another machine to talk to Tomcat? You
can
> leave Tomcat on one machine and IIS on another by just changing the
> worker.host field in workers.properties to be the ip of the machine
running
> Tomcat.
>
>    Nathan
>
> ----- Original Message -----
> From: <scolson@westpole.com>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Wednesday, July 23, 2003 3:51 PM
> Subject: IIS and the isapi_redirect.dll
>
>
> > Sorry if this was posted twice, my email client was not behaving.
> >
> > Well, here's a topic that has been hashed and rehashed before on this
> list... unfortunately after countless hours of reading the archives and
> googling around, I haven't found an answer as to why IIS won't play nice
> with Tomcat. Here's the skinny:
> >
> > W2k sp3 (5.00.2195)
> > IIS 5
> > Tomcat 4.1.24
> > j2sdk 1.4.2 installed
> > isapi_redirect.dll 1.2.4
> >
> > I have checked the registery settings as well as had coworkers check
them
> multiple times. I have also followed up on the possibility of the
corrupted
> DLL by downloading different versions of the connector on to different
> servers on my network to no avail. Multiple restarts have also ensued. The
> error that is being logged in Component Services is your basic "The data
is
> the error" and the data section of the error window reads:
> > 0000: 02 00 00 00               ....
> >
> > If anyone has any other possibilities, or has fixed this problem before,
> any help would be greatly appriciated. For those that are interested, the
> details on the enviornment are below. Thanks in advance!
> >
> > -s
> >
> >
> > ####
> > Tomcat install:
> > C:\Tomcat4
> >         \isapi\isapi_redirect.dll
> >         \conf\uriworkermap.properties
> >               workers.properties
> >         \logs
> >
> > Registery:
> > [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Group\Jakarta Isapi Redirector\1.0]
> > "extension_uri"="/jakarta/isapi_redirect.dll"
> > "worker_file"="c:\Tomcat4\conf\workers.properties"
> > "worker_mount_file"="c:\Tomcat4\conf\uriworkermap.properties"
> > "log_file"="c:\Tomcat4\logs\jk_iis.log"
> > "log_level"="debug"
> > @="c:\Tomcat4\isapi\isapi_redirect.dll"
> >
> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters]
> > ..
> > "Filter DLLs"="C:\Tomcat4\isapi\isapi_redirect.dll"
> > ..
> >
> > IIS:
> > site root=C:\Inetpub\wwwroot
> > vdir jakarta=C:\Tomcat4\isapi with read and execute set
> >
> > Permissions:
> > All .properties files, the isapi_redirect.dll, and the folders that
house
> them have modify, read & execute, read, write enabled for the everyone
> group.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


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


Mime
View raw message