That was it!  I had integrated an old version of Tomcat into IIS almost a
year ago, and the isapi_redirect filter was left behind at the web site
level.  

Thank-you so much. I was at my wits end!

-----Original Message-----
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 1:46 PM
To: 'Tomcat Users List'
Subject: RE: Can't get iis_redirect to work witk Tomcat 4.0.1 


The presence of:

"[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/jakarta/isapi_redirect.dll"

in your log indicates the HttpFilterProc is being recursively
called and guarantees failure.  The "jakarta/isapi_redirect.dll"
URL should never be seen in the iis_redirect.log file.

This can occur on Win2k if you manually add the "Filter DLLs"
registry key which is only done for Win98.  It can also
have this happen if the filter is added at multiple levels,
i.e. at the server node and web site.  I'm not sure if there
are other ways.

Hope this helps.

Cheers,
Larry


> -----Original Message-----
> From: Rida Ligurs [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 18, 2002 12:48 PM
> To: Tomcat-User (E-mail)
> Subject: Can't get iis_redirect to work witk Tomcat 4.0.1 
> 
> 
> I've been trying for several days now to integrate Tomcat 
> 4.0.1 with IIS on
> Win2000 Pro.
> 
> I've followed all of the instructions in
> http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt as 
> well as those
> at http://jakarta.apache.org/~hgomez/ajp13-tc4.0/ but I can't get
> iis_redirect.dll to succesfully redirect.
> 
> I've check all of my port numbers, my property files, IIS 
> virtual directory
> and ISAPI filter properties and everything looks good. I've gotten the
> latest versions (jan 14 2002) of jk_nt_service and isapi_redirect from
> http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/b
> in/win32/i386/
> 
> From my log file it looks like it is trying to use AJP12 instead of my
> default worker AJP13?  I haven't got an entry for AJP12 in my 
> server.xml.
> When I run netstat -a,  port 8009 is listed but port 8007 is 
> not. What is
> the difference  between AJP12 and AJP13?  
> 
> I hope someone can help, I've run out of ideas.  I have 
> scoured the web,
> reinstalled several times with the same result each time.
> 
> Here's what I'm getting in my log files :
> 
> IIS log
> ---------
> 
> 17:01:46 127.0.0.1 GET /jakarta/isapi_redirect.dll 500
> 
> isapi_redirect.log
> ------------------------
> [Fri Jan 18 11:59:41 2002]  [jk_isapi_plugin.c (806)]: Using registry.
> [Fri Jan 18 11:59:41 2002]  [jk_isapi_plugin.c (808)]: Using log file
> C:\TomcatServer\logs\iis_redirect.log.
> [Fri Jan 18 11:59:41 2002]  [jk_isapi_plugin.c (809)]: Using 
> log level 0.
> [Fri Jan 18 11:59:41 2002]  [jk_isapi_plugin.c (810)]: Using 
> extension uri
> /jakarta/isapi_redirect.dll.
> [Fri Jan 18 11:59:41 2002]  [jk_isapi_plugin.c (811)]: Using 
> worker file
> C:\TomcatServer\conf\ntiis\workers.properties.
> [Fri Jan 18 11:59:41 2002]  [jk_isapi_plugin.c (812)]: Using 
> worker mount
> file C:\TomcatServer\conf\ntiis\uriworkermap.properties.
> [Fri Jan 18 11:59:42 2002]  [jk_uri_worker_map.c (159)]: Into
> jk_uri_worker_map_t::uri_worker_map_alloc
> [Fri Jan 18 11:59:42 2002]  [jk_uri_worker_map.c (199)]: Into
> jk_uri_worker_map_t::uri_worker_map_open
> [Fri Jan 18 11:59:42 2002]  [jk_uri_worker_map.c (217)]:
> jk_uri_worker_map_t::uri_worker_map_open, rule map size is 3
> [Fri Jan 18 11:59:42 2002]  [jk_uri_worker_map.c (291)]: Into
> jk_uri_worker_map_t::uri_worker_map_open, exact rule 
> /examples=ajp13 was
> added
> [Fri Jan 18 11:59:42 2002]  [jk_uri_worker_map.c (273)]: Into
> jk_uri_worker_map_t::uri_worker_map_open, match rule 
> /examples/=ajp13 was
> added
> [Fri Jan 18 11:59:42 2002]  [jk_uri_worker_map.c (302)]: Into
> jk_uri_worker_map_t::uri_worker_map_open, there are 2 rules
> [Fri Jan 18 11:59:42 2002]  [jk_uri_worker_map.c (324)]:
> jk_uri_worker_map_t::uri_worker_map_open, done
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (82)]: Into wc_open
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (207)]: Into 
> build_worker_map,
> creating 2 workers
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (213)]: 
> build_worker_map, creating
> worker ajp12
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (138)]: Into wc_create_worker
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (152)]: 
> wc_create_worker, about to
> create instance ajp12 of ajp12
> [Fri Jan 18 11:59:42 2002]  [jk_ajp12_worker.c (264)]: Into
> ajp12_worker_factory
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (161)]: 
> wc_create_worker, about to
> validate and init ajp12
> [Fri Jan 18 11:59:42 2002]  [jk_ajp12_worker.c (182)]: Into
> jk_worker_t::validate
> [Fri Jan 18 11:59:42 2002]  [jk_ajp12_worker.c (194)]: In
> jk_worker_t::validate for worker ajp12 contact is localhost:8007
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (177)]: 
> wc_create_worker, done
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (223)]: 
> build_worker_map, removing
> old ajp12 worker 
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (213)]: 
> build_worker_map, creating
> worker ajp13
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (138)]: Into wc_create_worker
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (152)]: 
> wc_create_worker, about to
> create instance ajp13 of ajp13
> [Fri Jan 18 11:59:42 2002]  [jk_ajp13_worker.c (922)]: Into
> ajp13_worker_factory
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (161)]: 
> wc_create_worker, about to
> validate and init ajp13
> [Fri Jan 18 11:59:42 2002]  [jk_ajp13_worker.c (443)]: Into
> jk_worker_t::validate
> [Fri Jan 18 11:59:42 2002]  [jk_ajp13_worker.c (456)]: In
> jk_worker_t::validate for worker ajp13 contact is localhost:8009
> [Fri Jan 18 11:59:42 2002]  [jk_ajp13_worker.c (482)]: Into
> jk_worker_t::init
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (177)]: 
> wc_create_worker, done
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (223)]: 
> build_worker_map, removing
> old ajp13 worker 
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (235)]: 
> build_worker_map, done
> [Fri Jan 18 11:59:42 2002]  [jk_worker.c (102)]: wc_open, done
> [jk_uri_worker_map.c (155)]: Into 
> jk_uri_worker_map_t::uri_worker_map_alloc
> [jk_uri_worker_map.c (195)]: Into 
> jk_uri_worker_map_t::uri_worker_map_open
> [jk_uri_worker_map.c (210)]: 
> jk_uri_worker_map_t::uri_worker_map_open, rule
> map size is 3
> [jk_uri_worker_map.c (284)]: Into 
> jk_uri_worker_map_t::uri_worker_map_open,
> exact rule /examples=ajp13 was added
> [jk_uri_worker_map.c (266)]: Into 
> jk_uri_worker_map_t::uri_worker_map_open,
> match rule /examples/=ajp13 was added
> [jk_uri_worker_map.c (295)]: Into 
> jk_uri_worker_map_t::uri_worker_map_open,
> there are 2 rules
> [jk_uri_worker_map.c (316)]: 
> jk_uri_worker_map_t::uri_worker_map_open, done
> [jk_worker.c (82)]: Into wc_open
> [jk_worker.c (207)]: Into build_worker_map, creating 2 workers
> [jk_worker.c (213)]: build_worker_map, creating worker ajp12
> [jk_worker.c (138)]: Into wc_create_worker
> [jk_worker.c (152)]: wc_create_worker, about to create 
> instance ajp12 of
> ajp12
> [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
> [jk_worker.c (161)]: 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 (177)]: wc_create_worker, done
> [jk_worker.c (223)]: build_worker_map, removing old ajp12 worker 
> [jk_worker.c (213)]: build_worker_map, creating worker ajp13
> [jk_worker.c (138)]: Into wc_create_worker
> [jk_worker.c (152)]: wc_create_worker, about to create 
> instance ajp13 of
> ajp13
> [jk_ajp13_worker.c (708)]: Into ajp23_worker_factory
> [jk_worker.c (161)]: wc_create_worker, about to validate and 
> init ajp13
> [jk_ajp13_worker.c (383)]: Into jk_worker_t::validate
> [jk_ajp13_worker.c (396)]: In jk_worker_t::validate for 
> worker ajp13 contact
> is localhost:8009
> [jk_ajp13_worker.c (422)]: Into jk_worker_t::init
> [jk_worker.c (177)]: wc_create_worker, done
> [jk_worker.c (223)]: build_worker_map, removing old ajp13 worker 
> [jk_worker.c (235)]: build_worker_map, done
> [jk_worker.c (102)]: wc_open, done
> [Fri Jan 18 12:01:43 2002]  [jk_isapi_plugin.c (555)]: HttpFilterProc
> started
> [Fri Jan 18 12:01:43 2002]  [jk_isapi_plugin.c (600)]: In 
> HttpFilterProc
> Virtual Host redirection of /localhost/examples/
> [Fri Jan 18 12:01:43 2002]  [jk_uri_worker_map.c (351)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Fri Jan 18 12:01:43 2002]  [jk_uri_worker_map.c (368)]: 
> Attempting to map
> URI '/localhost/examples/'
> [Fri Jan 18 12:01:43 2002]  [jk_uri_worker_map.c (456)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Fri Jan 18 12:01:43 2002]  [jk_isapi_plugin.c (606)]: In 
> HttpFilterProc
> test Default redirection of /examples/
> [Fri Jan 18 12:01:43 2002]  [jk_uri_worker_map.c (351)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Fri Jan 18 12:01:43 2002]  [jk_uri_worker_map.c (368)]: 
> Attempting to map
> URI '/examples/'
> [Fri Jan 18 12:01:43 2002]  [jk_uri_worker_map.c (391)]:
> jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 ->
> /examples/
> [Fri Jan 18 12:01:43 2002]  [jk_isapi_plugin.c (617)]: HttpFilterProc
> [/examples/] is a servlet url - should redirect to ajp13
> [Fri Jan 18 12:01:43 2002]  [jk_isapi_plugin.c (639)]: 
> HttpFilterProc check
> if [/examples/] 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 (344)]: Into 
> jk_uri_worker_map_t::map_uri_to_worker
> [jk_uri_worker_map.c (434)]: 
> 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
> [Fri Jan 18 12:01:45 2002]  [jk_isapi_plugin.c (814)]: Using registry.
> [Fri Jan 18 12:01:45 2002]  [jk_isapi_plugin.c (816)]: Using log file
> C:\TomcatServer\logs\iis_redirect.log.
> [Fri Jan 18 12:01:45 2002]  [jk_isapi_plugin.c (817)]: Using 
> log level 0.
> [Fri Jan 18 12:01:45 2002]  [jk_isapi_plugin.c (818)]: Using 
> extension uri
> /jakarta/isapi_redirect.dll.
> [Fri Jan 18 12:01:45 2002]  [jk_isapi_plugin.c (819)]: Using 
> worker file
> C:\TomcatServer\conf\ntiis\workers.properties.
> [Fri Jan 18 12:01:45 2002]  [jk_isapi_plugin.c (820)]: Using 
> worker mount
> file C:\TomcatServer\conf\ntiis\uriworkermap.properties.
> [Fri Jan 18 12:01:45 2002]  [jk_uri_worker_map.c (159)]: Into
> jk_uri_worker_map_t::uri_worker_map_alloc
> [Fri Jan 18 12:01:45 2002]  [jk_uri_worker_map.c (199)]: Into
> jk_uri_worker_map_t::uri_worker_map_open
> [Fri Jan 18 12:01:45 2002]  [jk_uri_worker_map.c (217)]:
> jk_uri_worker_map_t::uri_worker_map_open, rule map size is 3
> [Fri Jan 18 12:01:45 2002]  [jk_uri_worker_map.c (291)]: Into
> jk_uri_worker_map_t::uri_worker_map_open, exact rule 
> /examples=ajp13 was
> added
> [Fri Jan 18 12:01:45 2002]  [jk_uri_worker_map.c (273)]: Into
> jk_uri_worker_map_t::uri_worker_map_open, match rule 
> /examples/=ajp13 was
> added
> [Fri Jan 18 12:01:45 2002]  [jk_uri_worker_map.c (302)]: Into
> jk_uri_worker_map_t::uri_worker_map_open, there are 2 rules
> [Fri Jan 18 12:01:45 2002]  [jk_uri_worker_map.c (324)]:
> jk_uri_worker_map_t::uri_worker_map_open, done
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (82)]: Into wc_open
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (207)]: Into 
> build_worker_map,
> creating 2 workers
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (213)]: 
> build_worker_map, creating
> worker ajp12
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (138)]: Into wc_create_worker
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (152)]: 
> wc_create_worker, about to
> create instance ajp12 of ajp12
> [Fri Jan 18 12:01:45 2002]  [jk_ajp12_worker.c (264)]: Into
> ajp12_worker_factory
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (161)]: 
> wc_create_worker, about to
> validate and init ajp12
> [Fri Jan 18 12:01:45 2002]  [jk_ajp12_worker.c (182)]: Into
> jk_worker_t::validate
> [Fri Jan 18 12:01:45 2002]  [jk_ajp12_worker.c (194)]: In
> jk_worker_t::validate for worker ajp12 contact is localhost:8007
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (177)]: 
> wc_create_worker, done
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (223)]: 
> build_worker_map, removing
> old ajp12 worker 
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (213)]: 
> build_worker_map, creating
> worker ajp13
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (138)]: Into wc_create_worker
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (152)]: 
> wc_create_worker, about to
> create instance ajp13 of ajp13
> [Fri Jan 18 12:01:45 2002]  [jk_ajp13_worker.c (922)]: Into
> ajp13_worker_factory
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (161)]: 
> wc_create_worker, about to
> validate and init ajp13
> [Fri Jan 18 12:01:45 2002]  [jk_ajp13_worker.c (443)]: Into
> jk_worker_t::validate
> [Fri Jan 18 12:01:45 2002]  [jk_ajp13_worker.c (456)]: In
> jk_worker_t::validate for worker ajp13 contact is localhost:8009
> [Fri Jan 18 12:01:45 2002]  [jk_ajp13_worker.c (482)]: Into
> jk_worker_t::init
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (177)]: 
> wc_create_worker, done
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (223)]: 
> build_worker_map, removing
> old ajp13 worker 
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (235)]: 
> build_worker_map, done
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (102)]: wc_open, done
> [Fri Jan 18 12:01:45 2002]  [jk_isapi_plugin.c (687)]: 
> HttpExtensionProc
> started
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (123)]: Into 
> wc_get_worker_for_name
> ajp12
> [Fri Jan 18 12:01:45 2002]  [jk_worker.c (127)]: 
> wc_get_worker_for_name,
> done  found a worker
> [Fri Jan 18 12:01:45 2002]  [jk_isapi_plugin.c (709)]: 
> HttpExtensionProc got
> a worker for name ajp12
> [Fri Jan 18 12:01:45 2002]  [jk_ajp12_worker.c (223)]: Into
> jk_worker_t::get_endpoint
> [Fri Jan 18 12:01:45 2002]  [jk_ajp12_worker.c (121)]: Into
> jk_endpoint_t::service
> [Fri Jan 18 12:01:45 2002]  [jk_connect.c (108)]: Into jk_open_socket
> [Fri Jan 18 12:01:45 2002]  [jk_connect.c (115)]: 
> jk_open_socket, try to
> connect socket = 2364
> [Fri Jan 18 12:01:46 2002]  [jk_connect.c (124)]: 
> jk_open_socket, after
> connect ret = -1
> [Fri Jan 18 12:01:46 2002]  [jk_connect.c (143)]: 
> jk_open_socket, connect()
> failed errno = 61
> [Fri Jan 18 12:01:46 2002]  [jk_ajp12_worker.c (134)]: In
> jk_endpoint_t::service, sd = -1
> [Fri Jan 18 12:01:46 2002]  [jk_ajp12_worker.c (152)]: In
> jk_endpoint_t::service, Error sd = -1
> [Fri Jan 18 12:01:46 2002]  [jk_isapi_plugin.c (724)]: 
> HttpExtensionProc
> error, service() failed
> [Fri Jan 18 12:01:46 2002]  [jk_ajp12_worker.c (163)]: Into
> jk_endpoint_t::done
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to