RE: isapi_redirect dll location
Yes, the install creates the folders, copies the configuration files and the dll, modifies the registry and adds the isapi filter to IIS. It does NOT add the dll to the Windows 2003 / IIS6 Web Extensions, though. I am not sure whether this is necessary. Tracy -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Saturday, September 03, 2005 7:47 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: isapi_redirect dll location First off - thank you. Second there is a isapi_redirect-1.2.14.exe file also - does this do a complete install of the dll? Thanks - dave David Thielen 303-499-2544 www.windwardreports.com -Original Message- From: Steve Ochani [mailto:[EMAIL PROTECTED] Sent: Saturday, September 03, 2005 4:12 PM To: tomcat-user@jakarta.apache.org Subject: isapi_redirect dll location To whomever was looking for isapi_redirect dll: As much as I hate to promote IIS: isapi_redirect dll can be found here http://apache.towardex.com/jakarta/tomcat-connectors/jk/binaries/win32/jk-1. 2.14 «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤» Education is what remains after one has forgotten everything he learned in school. -Albert Einstein Steve O. http://www.steveo.us New pics: B17G and B24 http://www.steveo.us/B17-B24/ B17G WWII Bomber Yankee Lady Flight I took http://www.steveo.us/b17ride SUNY NCC Physical Sciences Dept. Network Admin SUNY NCC MATH/COMPUTER Unix Admin http://www.matcmp.ncc.edu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
isapi_redirect dll location
To whomever was looking for isapi_redirect dll: As much as I hate to promote IIS: isapi_redirect dll can be found here http://apache.towardex.com/jakarta/tomcat-connectors/jk/binaries/win32/jk-1.2.14 «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤» Education is what remains after one has forgotten everything he learned in school. -Albert Einstein Steve O. http://www.steveo.us New pics: B17G and B24 http://www.steveo.us/B17-B24/ B17G WWII Bomber Yankee Lady Flight I took http://www.steveo.us/b17ride SUNY NCC Physical Sciences Dept. Network Admin SUNY NCC MATH/COMPUTER Unix Admin http://www.matcmp.ncc.edu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: isapi_redirect dll location
First off - thank you. Second there is a isapi_redirect-1.2.14.exe file also - does this do a complete install of the dll? Thanks - dave David Thielen 303-499-2544 www.windwardreports.com -Original Message- From: Steve Ochani [mailto:[EMAIL PROTECTED] Sent: Saturday, September 03, 2005 4:12 PM To: tomcat-user@jakarta.apache.org Subject: isapi_redirect dll location To whomever was looking for isapi_redirect dll: As much as I hate to promote IIS: isapi_redirect dll can be found here http://apache.towardex.com/jakarta/tomcat-connectors/jk/binaries/win32/jk-1. 2.14 «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤» Education is what remains after one has forgotten everything he learned in school. -Albert Einstein Steve O. http://www.steveo.us New pics: B17G and B24 http://www.steveo.us/B17-B24/ B17G WWII Bomber Yankee Lady Flight I took http://www.steveo.us/b17ride SUNY NCC Physical Sciences Dept. Network Admin SUNY NCC MATH/COMPUTER Unix Admin http://www.matcmp.ncc.edu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: isapi_redirect performance issues
I did the packet trace and here is some more information: There are more packets with IIS as compared to Apache with IIS the response body is in a separate packet than the packet containing the Status Code 200 and also I see HTTP/1.1 100 Continue messages sent by server to the client. In Apache the response body is in the same packed at the Status Code 200 packet and there are no HTTP/1.1 100 Continue packets. Any help/suggestions/ideas would be appreciated. Thanks Ahmed - Original Message - From: [EMAIL PROTECTED] Date: Monday, May 23, 2005 3:19 pm Subject: isapi_redirect performance issues We are using Tomcat 5.5.9 with IIS on the front end. IIS is serving all the static content and forwards the servlet requests to Tomcat using the latest version of isapi_redirect.dll and ajp13 protocol. After deploying the aplication over a server and accessing it through the internet I am noticing 8x to 10x performance slowdown when connecting to the application via port 80 as opposed to the direct port 8080. I tried using Apache WebServer in front instead of IIS and that works great the performance problem is ONLY when using IIS in the front. Unfortunately my application has to be deployed with IIS and only port 80 open in the firewall. I have been able to reproduce this problem by generating a small 250 characters html page in response to the GET request. With Apache or connecting to Tomcat directly it takes about 20ms for the test client to get the page. Connecting through IIS it takes about 173ms. Has anybody been successfully using the IIS/Tomcat integration over the internet? Is there anything that can be done to improve the performance? IIS is also serving the static pages with good performance so its not a problem with standalone IIS either. Any idea/suggestions? Thanks Ahmed --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: isapi_redirect performance issues
I'm not certain if setting keep-alive will speed things up, but since you have a firewall you should probably use it. From the documentation: socket_keepalive False This directive should be used when you have a firewall between your webserver and the Tomcat engine, who tend to drop inactive connections. This flag will told Operating System to send KEEP_ALIVE message on inactive connections (interval depend on global OS settings, generally 120ms), and thus prevent the firewall to cut the connection. To enable keepalive set this property value to the number greater then 0. The problem with Firewall cutting inactive connections is that sometimes, neither webserver or tomcat have information about the cut and couldn't handle it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 12:12 PM To: Tomcat Users List Subject: Re: isapi_redirect performance issues I did the packet trace and here is some more information: There are more packets with IIS as compared to Apache with IIS the response body is in a separate packet than the packet containing the Status Code 200 and also I see HTTP/1.1 100 Continue messages sent by server to the client. In Apache the response body is in the same packed at the Status Code 200 packet and there are no HTTP/1.1 100 Continue packets. Any help/suggestions/ideas would be appreciated. Thanks Ahmed - Original Message - From: [EMAIL PROTECTED] Date: Monday, May 23, 2005 3:19 pm Subject: isapi_redirect performance issues We are using Tomcat 5.5.9 with IIS on the front end. IIS is serving all the static content and forwards the servlet requests to Tomcat using the latest version of isapi_redirect.dll and ajp13 protocol. After deploying the aplication over a server and accessing it through the internet I am noticing 8x to 10x performance slowdown when connecting to the application via port 80 as opposed to the direct port 8080. I tried using Apache WebServer in front instead of IIS and that works great the performance problem is ONLY when using IIS in the front. Unfortunately my application has to be deployed with IIS and only port 80 open in the firewall. I have been able to reproduce this problem by generating a small 250 characters html page in response to the GET request. With Apache or connecting to Tomcat directly it takes about 20ms for the test client to get the page. Connecting through IIS it takes about 173ms. Has anybody been successfully using the IIS/Tomcat integration over the internet? Is there anything that can be done to improve the performance? IIS is also serving the static pages with good performance so its not a problem with standalone IIS either. Any idea/suggestions? Thanks Ahmed --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
isapi_redirect performance issues
We are using Tomcat 5.5.9 with IIS on the front end. IIS is serving all the static content and forwards the servlet requests to Tomcat using the latest version of isapi_redirect.dll and ajp13 protocol. After deploying the aplication over a server and accessing it through the internet I am noticing 8x to 10x performance slowdown when connecting to the application via port 80 as opposed to the direct port 8080. I tried using Apache WebServer in front instead of IIS and that works great the performance problem is ONLY when using IIS in the front. Unfortunately my application has to be deployed with IIS and only port 80 open in the firewall. I have been able to reproduce this problem by generating a small 250 characters html page in response to the GET request. With Apache or connecting to Tomcat directly it takes about 20ms for the test client to get the page. Connecting through IIS it takes about 173ms. Has anybody been successfully using the IIS/Tomcat integration over the internet? Is there anything that can be done to improve the performance? IIS is also serving the static pages with good performance so its not a problem with standalone IIS either. Any idea/suggestions? Thanks Ahmed - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
hi Tony, That is weird, I would have thought IIS should throw some other error message (not the File not found), something like 401 (not authorized). But at least you solved your problem so congratulations. Do you have any references to this from microsoft ? bye -reynir Tony Nakamura wrote: Hi Reynir, I got it working. I put isapi dll in the /bin directory, but IIS was rejecting because there were many batches and exe files in the same directory. Since the jakarta virtual directory is given execute permission for both scripts and executables, it was throwing 404 error because it's a security risk to execute such files locally on the server. So I simply created another folder with just the dll in it and had virtual directory point to the directory. Thank you for your help! Tony - Original Message - From: reynir [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, April 27, 2005 8:57 AM Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT well, the fact that you are getting 404 error from IIS really means that IIS is receiving the request, and forwarding it to /jakarta/isapi_redirect.dll, that is a virtual folder mapped on to the folder that the DLL is positioned in. If the 404 is coming from IIS (as it seems) it's obviously not finding this path. you should be able to see it by viewing the accesslog of IIS it should show this path /jakarta/isapi_redirect.dll and the error code 404 if it's not found but 200 or something else if it's there. check again if this part of the setup is correct, sometimes the difference is the name of the dll, some name it isapi_redirector.dll but not isapi_redirect.dll and since the registry entry specifies the full name of the dll this must be correct. again, hope it helps. -reynir Tony Nakamura wrote: Hi Reynir, I checked the server.xml, and it does have 8009 setting for listner ports uncommented. I have /jakarta virtual folder in IIS. I'm really confused as to what could be wrong... Thank you, Tony - Original Message - From: reynir [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, April 27, 2005 4:47 AM Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT hi, do you have the connector on port 8009 in your tomcat ? do you have the /jakarta virtual folder in IIS ? hope it helps -reynir Tony Nakamura wrote: Hi Reynir, Yes, the tomcat is on localhost, and I'm trying to access directly from the server right now. I can access the site with: http://localhost:8080/test/login.jsp but not without specifying 8080 port. 404 is from IIS log, and it seems to have changed from 404:03 to 404:02. Just for kicks, I also tried to replace localhost with an ip address, but it was the same result. Thanks, Tony - Original Message - From: reynir [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, April 26, 2005 11:48 AM Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT Hi, Looks like the isapi_redirector is forwarding the request to the localhost host of your tomcat setup. is it there ? Check the access logs on the tomcat application. See if it's receiving the request. your error message, the 404, is it from tomcat (the blue one) or is it from IIS ? hope it helps, - reynir Tony Nakamura wrote: Hi, I uninstalled the exe version of isapi_redirect and decided to manually configure them. As a result, I got the green arrow, and I'm able to see output in the log file given isapi_redirect runs in debug mode. The log looks like the following. This log from when I'm trying to run the IIS in 5.0 isolation mode. There is no output in the log file when I set the log level to error, but I still get 404 File Not Found error when I try to access http://localhost/test/login.jsp Thanks! Tony == [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1040): Using registry. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1043): Using log file c:\tomcat5.0.28\conf\isapi.log. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1044): Using log level 1. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1045): Using extension uri /jakarta/isapi_redirect.dll. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1046): Using worker file C:\tomcat5.0.28\conf\workers.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1047
Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
hi, do you have the connector on port 8009 in your tomcat ? do you have the /jakarta virtual folder in IIS ? hope it helps -reynir Tony Nakamura wrote: Hi Reynir, Yes, the tomcat is on localhost, and I'm trying to access directly from the server right now. I can access the site with: http://localhost:8080/test/login.jsp but not without specifying 8080 port. 404 is from IIS log, and it seems to have changed from 404:03 to 404:02. Just for kicks, I also tried to replace localhost with an ip address, but it was the same result. Thanks, Tony - Original Message - From: reynir [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, April 26, 2005 11:48 AM Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT Hi, Looks like the isapi_redirector is forwarding the request to the localhost host of your tomcat setup. is it there ? Check the access logs on the tomcat application. See if it's receiving the request. your error message, the 404, is it from tomcat (the blue one) or is it from IIS ? hope it helps, - reynir Tony Nakamura wrote: Hi, I uninstalled the exe version of isapi_redirect and decided to manually configure them. As a result, I got the green arrow, and I'm able to see output in the log file given isapi_redirect runs in debug mode. The log looks like the following. This log from when I'm trying to run the IIS in 5.0 isolation mode. There is no output in the log file when I set the log level to error, but I still get 404 File Not Found error when I try to access http://localhost/test/login.jsp Thanks! Tony == [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1040): Using registry. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1043): Using log file c:\tomcat5.0.28\conf\isapi.log. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1044): Using log level 1. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1045): Using extension uri /jakarta/isapi_redirect.dll. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1046): Using worker file C:\tomcat5.0.28\conf\workers.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1047): Using worker mount file C:\tomcat5.0.28\conf\uriworkermap.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1049): Using uri select 0. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule /*jsp=main was added [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules [Tue Apr 26 10:27:20 2005] [3616:816] [debug] build_worker_map::jk_worker.c (196): creating worker main [Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c (120): about to create instance main of ajp13 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c (133): about to validate and init main [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_validate::jk_ajp_common.c (1721): worker main contact is localhost:8009 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1767): setting socket keepalive to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1806): setting socket timeout to -1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1810): setting connection recycle timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1814): setting cache timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1818): setting connect timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1822): setting reply timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1826): setting prepost timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1830): setting recovery opts to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1834): setting number of retries to 3 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1854): setting connection cache size to 1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] build_worker_map::jk_worker.c (208): removing old main worker [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS = 5.0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (687): Filter started [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection of /localhost/test/login.jsp [Tue Apr 26 10:27:20 2005] [3616:816] [debug] map_uri_to_worker
Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
Hi Reynir, I checked the server.xml, and it does have 8009 setting for listner ports uncommented. I have /jakarta virtual folder in IIS. I'm really confused as to what could be wrong... Thank you, Tony - Original Message - From: reynir [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, April 27, 2005 4:47 AM Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT hi, do you have the connector on port 8009 in your tomcat ? do you have the /jakarta virtual folder in IIS ? hope it helps -reynir Tony Nakamura wrote: Hi Reynir, Yes, the tomcat is on localhost, and I'm trying to access directly from the server right now. I can access the site with: http://localhost:8080/test/login.jsp but not without specifying 8080 port. 404 is from IIS log, and it seems to have changed from 404:03 to 404:02. Just for kicks, I also tried to replace localhost with an ip address, but it was the same result. Thanks, Tony - Original Message - From: reynir [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, April 26, 2005 11:48 AM Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT Hi, Looks like the isapi_redirector is forwarding the request to the localhost host of your tomcat setup. is it there ? Check the access logs on the tomcat application. See if it's receiving the request. your error message, the 404, is it from tomcat (the blue one) or is it from IIS ? hope it helps, - reynir Tony Nakamura wrote: Hi, I uninstalled the exe version of isapi_redirect and decided to manually configure them. As a result, I got the green arrow, and I'm able to see output in the log file given isapi_redirect runs in debug mode. The log looks like the following. This log from when I'm trying to run the IIS in 5.0 isolation mode. There is no output in the log file when I set the log level to error, but I still get 404 File Not Found error when I try to access http://localhost/test/login.jsp Thanks! Tony == [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1040): Using registry. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1043): Using log file c:\tomcat5.0.28\conf\isapi.log. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1044): Using log level 1. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1045): Using extension uri /jakarta/isapi_redirect.dll. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1046): Using worker file C:\tomcat5.0.28\conf\workers.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1047): Using worker mount file C:\tomcat5.0.28\conf\uriworkermap.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1049): Using uri select 0. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule /*jsp=main was added [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules [Tue Apr 26 10:27:20 2005] [3616:816] [debug] build_worker_map::jk_worker.c (196): creating worker main [Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c (120): about to create instance main of ajp13 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c (133): about to validate and init main [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_validate::jk_ajp_common.c (1721): worker main contact is localhost:8009 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1767): setting socket keepalive to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1806): setting socket timeout to -1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1810): setting connection recycle timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1814): setting cache timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1818): setting connect timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1822): setting reply timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1826): setting prepost timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1830): setting recovery opts to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1834): setting number of retries to 3 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1854): setting connection cache size to 1 [Tue Apr 26 10:27:20 2005] [3616
Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
well, the fact that you are getting 404 error from IIS really means that IIS is receiving the request, and forwarding it to /jakarta/isapi_redirect.dll, that is a virtual folder mapped on to the folder that the DLL is positioned in. If the 404 is coming from IIS (as it seems) it's obviously not finding this path. you should be able to see it by viewing the accesslog of IIS it should show this path /jakarta/isapi_redirect.dll and the error code 404 if it's not found but 200 or something else if it's there. check again if this part of the setup is correct, sometimes the difference is the name of the dll, some name it isapi_redirector.dll but not isapi_redirect.dll and since the registry entry specifies the full name of the dll this must be correct. again, hope it helps. -reynir Tony Nakamura wrote: Hi Reynir, I checked the server.xml, and it does have 8009 setting for listner ports uncommented. I have /jakarta virtual folder in IIS. I'm really confused as to what could be wrong... Thank you, Tony - Original Message - From: reynir [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, April 27, 2005 4:47 AM Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT hi, do you have the connector on port 8009 in your tomcat ? do you have the /jakarta virtual folder in IIS ? hope it helps -reynir Tony Nakamura wrote: Hi Reynir, Yes, the tomcat is on localhost, and I'm trying to access directly from the server right now. I can access the site with: http://localhost:8080/test/login.jsp but not without specifying 8080 port. 404 is from IIS log, and it seems to have changed from 404:03 to 404:02. Just for kicks, I also tried to replace localhost with an ip address, but it was the same result. Thanks, Tony - Original Message - From: reynir [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, April 26, 2005 11:48 AM Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT Hi, Looks like the isapi_redirector is forwarding the request to the localhost host of your tomcat setup. is it there ? Check the access logs on the tomcat application. See if it's receiving the request. your error message, the 404, is it from tomcat (the blue one) or is it from IIS ? hope it helps, - reynir Tony Nakamura wrote: Hi, I uninstalled the exe version of isapi_redirect and decided to manually configure them. As a result, I got the green arrow, and I'm able to see output in the log file given isapi_redirect runs in debug mode. The log looks like the following. This log from when I'm trying to run the IIS in 5.0 isolation mode. There is no output in the log file when I set the log level to error, but I still get 404 File Not Found error when I try to access http://localhost/test/login.jsp Thanks! Tony == [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1040): Using registry. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1043): Using log file c:\tomcat5.0.28\conf\isapi.log. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1044): Using log level 1. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1045): Using extension uri /jakarta/isapi_redirect.dll. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1046): Using worker file C:\tomcat5.0.28\conf\workers.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1047): Using worker mount file C:\tomcat5.0.28\conf\uriworkermap.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1049): Using uri select 0. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule /*jsp=main was added [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules [Tue Apr 26 10:27:20 2005] [3616:816] [debug] build_worker_map::jk_worker.c (196): creating worker main [Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c (120): about to create instance main of ajp13 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c (133): about to validate and init main [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_validate::jk_ajp_common.c (1721): worker main contact is localhost:8009 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1767): setting socket keepalive to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug
Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
Hi Reynir, I got it working. I put isapi dll in the /bin directory, but IIS was rejecting because there were many batches and exe files in the same directory. Since the jakarta virtual directory is given execute permission for both scripts and executables, it was throwing 404 error because it's a security risk to execute such files locally on the server. So I simply created another folder with just the dll in it and had virtual directory point to the directory. Thank you for your help! Tony - Original Message - From: reynir [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, April 27, 2005 8:57 AM Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT well, the fact that you are getting 404 error from IIS really means that IIS is receiving the request, and forwarding it to /jakarta/isapi_redirect.dll, that is a virtual folder mapped on to the folder that the DLL is positioned in. If the 404 is coming from IIS (as it seems) it's obviously not finding this path. you should be able to see it by viewing the accesslog of IIS it should show this path /jakarta/isapi_redirect.dll and the error code 404 if it's not found but 200 or something else if it's there. check again if this part of the setup is correct, sometimes the difference is the name of the dll, some name it isapi_redirector.dll but not isapi_redirect.dll and since the registry entry specifies the full name of the dll this must be correct. again, hope it helps. -reynir Tony Nakamura wrote: Hi Reynir, I checked the server.xml, and it does have 8009 setting for listner ports uncommented. I have /jakarta virtual folder in IIS. I'm really confused as to what could be wrong... Thank you, Tony - Original Message - From: reynir [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, April 27, 2005 4:47 AM Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT hi, do you have the connector on port 8009 in your tomcat ? do you have the /jakarta virtual folder in IIS ? hope it helps -reynir Tony Nakamura wrote: Hi Reynir, Yes, the tomcat is on localhost, and I'm trying to access directly from the server right now. I can access the site with: http://localhost:8080/test/login.jsp but not without specifying 8080 port. 404 is from IIS log, and it seems to have changed from 404:03 to 404:02. Just for kicks, I also tried to replace localhost with an ip address, but it was the same result. Thanks, Tony - Original Message - From: reynir [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, April 26, 2005 11:48 AM Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT Hi, Looks like the isapi_redirector is forwarding the request to the localhost host of your tomcat setup. is it there ? Check the access logs on the tomcat application. See if it's receiving the request. your error message, the 404, is it from tomcat (the blue one) or is it from IIS ? hope it helps, - reynir Tony Nakamura wrote: Hi, I uninstalled the exe version of isapi_redirect and decided to manually configure them. As a result, I got the green arrow, and I'm able to see output in the log file given isapi_redirect runs in debug mode. The log looks like the following. This log from when I'm trying to run the IIS in 5.0 isolation mode. There is no output in the log file when I set the log level to error, but I still get 404 File Not Found error when I try to access http://localhost/test/login.jsp Thanks! Tony == [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1040): Using registry. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1043): Using log file c:\tomcat5.0.28\conf\isapi.log. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1044): Using log level 1. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1045): Using extension uri /jakarta/isapi_redirect.dll. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1046): Using worker file C:\tomcat5.0.28\conf\workers.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1047): Using worker mount file C:\tomcat5.0.28\conf\uriworkermap.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1049): Using uri select 0. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule /*jsp=main was added [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_open::jk_uri_worker_map.c
ISAPI_REDIRECT
Hi, It seems like ISAPI filter for IIS is a common hurdle for many people to get it working, and I'm no exception. My environment is as following: Tomcat 5.0.28 IIS 6.0 Win 2003 Server ISAPI_REDIRECT (used isapi_redirect-1.2.10.exe to setup) I've gone through documentation for IIS 6 and ISAPI_REDIRECT and got the ISAPI_FILTER in IIS to have a green arrow. However, it doesn't forward the request correctly to Tomcat, with IIS logging Error 404 - File not Found error. Tomcat is working fine on port 8080. Could anyone give me a direction on what could possibly be wrong? Thank you, Tony
Vedr.: ISAPI_REDIRECT
From http://www.reynir.net/java/greinar/nr/52 If you are using IIS V6, which ships with Windows Server 2003, you must allow the Web Service Extension to operate. Earlier versions of IIS did not require this step. Using the IIS Internet Services Manager, click on the Web Services Extensions item in the left hand pane. In the right hand pane add a new Web Service Extension called, give it a name, and browse and set the required file for this extension to the isapi_redirect.dll and set the status to allowed. Then restart IIS. Best regards Thomas Tony Nakamura [EMAIL PROTECTED] 26-04-2005 14:47 Besvar venligst til Tomcat Users List Til:tomcat-user@jakarta.apache.org cc: Vedr.: ISAPI_REDIRECT Hi, It seems like ISAPI filter for IIS is a common hurdle for many people to get it working, and I'm no exception. My environment is as following: Tomcat 5.0.28 IIS 6.0 Win 2003 Server ISAPI_REDIRECT (used isapi_redirect-1.2.10.exe to setup) I've gone through documentation for IIS 6 and ISAPI_REDIRECT and got the ISAPI_FILTER in IIS to have a green arrow. However, it doesn't forward the request correctly to Tomcat, with IIS logging Error 404 - File not Found error. Tomcat is working fine on port 8080. Could anyone give me a direction on what could possibly be wrong? Thank you, Tony FONT SIZE=1 FACE=Arial___ Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit system uden at videresende eller kopiere den. Selv om e-mailen og ethvert vedhaeftet bilag efter vores overbevisning er fri for virus og andre fejl, som kan paavirke computeren eller it-systemet, hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi paatager os ikke noget ansvar for tab og skade, som er opstaaet i forbindelse med at modtage og bruge e-mailen. ___ Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. /FONT
Re: Vedr.: ISAPI_REDIRECT
Hello Thomas, Thank for the reply. I failed to mention, but I've setup the Web Service Entention to the isapi_redirect.dll and gave an allow permission. I used isapi_redirect-1.2.10.exe, so it should have setup all of the settings correctly. One other weird thing is that isapi_redirect.log does not have any output. Thank you, Tony - Original Message - From: Thomas Nybro Bolding [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, April 26, 2005 8:55 AM Subject: Vedr.: ISAPI_REDIRECT From http://www.reynir.net/java/greinar/nr/52 If you are using IIS V6, which ships with Windows Server 2003, you must allow the Web Service Extension to operate. Earlier versions of IIS did not require this step. Using the IIS Internet Services Manager, click on the Web Services Extensions item in the left hand pane. In the right hand pane add a new Web Service Extension called, give it a name, and browse and set the required file for this extension to the isapi_redirect.dll and set the status to allowed. Then restart IIS. Best regards Thomas Tony Nakamura [EMAIL PROTECTED] 26-04-2005 14:47 Besvar venligst til Tomcat Users List Til:tomcat-user@jakarta.apache.org cc: Vedr.: ISAPI_REDIRECT Hi, It seems like ISAPI filter for IIS is a common hurdle for many people to get it working, and I'm no exception. My environment is as following: Tomcat 5.0.28 IIS 6.0 Win 2003 Server ISAPI_REDIRECT (used isapi_redirect-1.2.10.exe to setup) I've gone through documentation for IIS 6 and ISAPI_REDIRECT and got the ISAPI_FILTER in IIS to have a green arrow. However, it doesn't forward the request correctly to Tomcat, with IIS logging Error 404 - File not Found error. Tomcat is working fine on port 8080. Could anyone give me a direction on what could possibly be wrong? Thank you, Tony FONT SIZE=1 FACE=Arial___ Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit system uden at videresende eller kopiere den. Selv om e-mailen og ethvert vedhaeftet bilag efter vores overbevisning er fri for virus og andre fejl, som kan paavirke computeren eller it-systemet, hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi paatager os ikke noget ansvar for tab og skade, som er opstaaet i forbindelse med at modtage og bruge e-mailen. ___ Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Vedr.: Re: Vedr.: ISAPI_REDIRECT
Hi Tony, my own experience with IIS 6.0 is rather limited as our production environment is Win2K, but I have seen several posts where people have put IIS 6.0 in IIS5.0 isolation mode? Another possibility is that your configuration files are broken (have you configured the jk connector etc.) Try posting these as well. /Thomas Tony Nakamura [EMAIL PROTECTED] 26-04-2005 16:45 Besvar venligst til Tomcat Users List Til:Tomcat Users List tomcat-user@jakarta.apache.org cc: Vedr.: Re: Vedr.: ISAPI_REDIRECT Hello Thomas, Thank for the reply. I failed to mention, but I've setup the Web Service Entention to the isapi_redirect.dll and gave an allow permission. I used isapi_redirect-1.2.10.exe, so it should have setup all of the settings correctly. One other weird thing is that isapi_redirect.log does not have any output. Thank you, Tony - Original Message - From: Thomas Nybro Bolding [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, April 26, 2005 8:55 AM Subject: Vedr.: ISAPI_REDIRECT From http://www.reynir.net/java/greinar/nr/52 If you are using IIS V6, which ships with Windows Server 2003, you must allow the Web Service Extension to operate. Earlier versions of IIS did not require this step. Using the IIS Internet Services Manager, click on the Web Services Extensions item in the left hand pane. In the right hand pane add a new Web Service Extension called, give it a name, and browse and set the required file for this extension to the isapi_redirect.dll and set the status to allowed. Then restart IIS. Best regards Thomas Tony Nakamura [EMAIL PROTECTED] 26-04-2005 14:47 Besvar venligst til Tomcat Users List Til:tomcat-user@jakarta.apache.org cc: Vedr.: ISAPI_REDIRECT Hi, It seems like ISAPI filter for IIS is a common hurdle for many people to get it working, and I'm no exception. My environment is as following: Tomcat 5.0.28 IIS 6.0 Win 2003 Server ISAPI_REDIRECT (used isapi_redirect-1.2.10.exe to setup) I've gone through documentation for IIS 6 and ISAPI_REDIRECT and got the ISAPI_FILTER in IIS to have a green arrow. However, it doesn't forward the request correctly to Tomcat, with IIS logging Error 404 - File not Found error. Tomcat is working fine on port 8080. Could anyone give me a direction on what could possibly be wrong? Thank you, Tony FONT SIZE=1 FACE=Arial___ Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit system uden at videresende eller kopiere den. Selv om e-mailen og ethvert vedhaeftet bilag efter vores overbevisning er fri for virus og andre fejl, som kan paavirke computeren eller it-systemet, hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi paatager os ikke noget ansvar for tab og skade, som er opstaaet i forbindelse med at modtage og bruge e-mailen. ___ Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
Hi, I uninstalled the exe version of isapi_redirect and decided to manually configure them. As a result, I got the green arrow, and I'm able to see output in the log file given isapi_redirect runs in debug mode. The log looks like the following. This log from when I'm trying to run the IIS in 5.0 isolation mode. There is no output in the log file when I set the log level to error, but I still get 404 File Not Found error when I try to access http://localhost/test/login.jsp Thanks! Tony == [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1040): Using registry. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1043): Using log file c:\tomcat5.0.28\conf\isapi.log. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1044): Using log level 1. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1045): Using extension uri /jakarta/isapi_redirect.dll. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1046): Using worker file C:\tomcat5.0.28\conf\workers.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1047): Using worker mount file C:\tomcat5.0.28\conf\uriworkermap.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1049): Using uri select 0. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule /*jsp=main was added [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules [Tue Apr 26 10:27:20 2005] [3616:816] [debug] build_worker_map::jk_worker.c (196): creating worker main [Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c (120): about to create instance main of ajp13 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c (133): about to validate and init main [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_validate::jk_ajp_common.c (1721): worker main contact is localhost:8009 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1767): setting socket keepalive to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1806): setting socket timeout to -1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1810): setting connection recycle timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1814): setting cache timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1818): setting connect timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1822): setting reply timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1826): setting prepost timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1830): setting recovery opts to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1834): setting number of retries to 3 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1854): setting connection cache size to 1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] build_worker_map::jk_worker.c (208): removing old main worker [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS = 5.0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (687): Filter started [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection of /localhost/test/login.jsp [Tue Apr 26 10:27:20 2005] [3616:816] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/localhost/test/login.jsp' from 1 maps [Tue Apr 26 10:27:20 2005] [3616:816] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/*jsp' [Tue Apr 26 10:27:20 2005] [3616:816] [debug] map_uri_to_worker::jk_uri_worker_map.c (768): Found a general suffix match main - *jsp [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (770): check if [/test/login.jsp] is points to the web-inf directory [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (788): [/test/login.jsp] is a servlet url - should redirect to main = - Original Message - From: Thomas Nybro Bolding [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, April 26, 2005 9:59 AM Subject: Vedr.: Re: Vedr.: ISAPI_REDIRECT Hi Tony, my own experience with IIS 6.0 is rather limited as our production environment is Win2K, but I have seen several posts where people have put IIS 6.0 in IIS5.0 isolation mode? Another possibility is that your configuration files are broken (have you configured the jk connector etc.) Try
Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
Hi, Looks like the isapi_redirector is forwarding the request to the localhost host of your tomcat setup. is it there ? Check the access logs on the tomcat application. See if it's receiving the request. your error message, the 404, is it from tomcat (the blue one) or is it from IIS ? hope it helps, - reynir Tony Nakamura wrote: Hi, I uninstalled the exe version of isapi_redirect and decided to manually configure them. As a result, I got the green arrow, and I'm able to see output in the log file given isapi_redirect runs in debug mode. The log looks like the following. This log from when I'm trying to run the IIS in 5.0 isolation mode. There is no output in the log file when I set the log level to error, but I still get 404 File Not Found error when I try to access http://localhost/test/login.jsp Thanks! Tony == [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1040): Using registry. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1043): Using log file c:\tomcat5.0.28\conf\isapi.log. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1044): Using log level 1. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1045): Using extension uri /jakarta/isapi_redirect.dll. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1046): Using worker file C:\tomcat5.0.28\conf\workers.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1047): Using worker mount file C:\tomcat5.0.28\conf\uriworkermap.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1049): Using uri select 0. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule /*jsp=main was added [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules [Tue Apr 26 10:27:20 2005] [3616:816] [debug] build_worker_map::jk_worker.c (196): creating worker main [Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c (120): about to create instance main of ajp13 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c (133): about to validate and init main [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_validate::jk_ajp_common.c (1721): worker main contact is localhost:8009 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1767): setting socket keepalive to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1806): setting socket timeout to -1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1810): setting connection recycle timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1814): setting cache timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1818): setting connect timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1822): setting reply timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1826): setting prepost timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1830): setting recovery opts to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1834): setting number of retries to 3 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1854): setting connection cache size to 1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] build_worker_map::jk_worker.c (208): removing old main worker [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS = 5.0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (687): Filter started [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection of /localhost/test/login.jsp [Tue Apr 26 10:27:20 2005] [3616:816] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/localhost/test/login.jsp' from 1 maps [Tue Apr 26 10:27:20 2005] [3616:816] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/*jsp' [Tue Apr 26 10:27:20 2005] [3616:816] [debug] map_uri_to_worker::jk_uri_worker_map.c (768): Found a general suffix match main - *jsp [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (770): check if [/test/login.jsp] is points to the web-inf directory [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (788): [/test/login.jsp] is a servlet url - should redirect to main = - Original Message - From: Thomas Nybro Bolding [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, April 26, 2005 9:59 AM Subject: Vedr
Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
Hi Reynir, Yes, the tomcat is on localhost, and I'm trying to access directly from the server right now. I can access the site with: http://localhost:8080/test/login.jsp but not without specifying 8080 port. 404 is from IIS log, and it seems to have changed from 404:03 to 404:02. Just for kicks, I also tried to replace localhost with an ip address, but it was the same result. Thanks, Tony - Original Message - From: reynir [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, April 26, 2005 11:48 AM Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT Hi, Looks like the isapi_redirector is forwarding the request to the localhost host of your tomcat setup. is it there ? Check the access logs on the tomcat application. See if it's receiving the request. your error message, the 404, is it from tomcat (the blue one) or is it from IIS ? hope it helps, - reynir Tony Nakamura wrote: Hi, I uninstalled the exe version of isapi_redirect and decided to manually configure them. As a result, I got the green arrow, and I'm able to see output in the log file given isapi_redirect runs in debug mode. The log looks like the following. This log from when I'm trying to run the IIS in 5.0 isolation mode. There is no output in the log file when I set the log level to error, but I still get 404 File Not Found error when I try to access http://localhost/test/login.jsp Thanks! Tony == [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1040): Using registry. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1043): Using log file c:\tomcat5.0.28\conf\isapi.log. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1044): Using log level 1. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1045): Using extension uri /jakarta/isapi_redirect.dll. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1046): Using worker file C:\tomcat5.0.28\conf\workers.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1047): Using worker mount file C:\tomcat5.0.28\conf\uriworkermap.properties. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c (1049): Using uri select 0. [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule /*jsp=main was added [Tue Apr 26 10:27:20 2005] [3616:816] [debug] uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules [Tue Apr 26 10:27:20 2005] [3616:816] [debug] build_worker_map::jk_worker.c (196): creating worker main [Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c (120): about to create instance main of ajp13 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c (133): about to validate and init main [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_validate::jk_ajp_common.c (1721): worker main contact is localhost:8009 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1767): setting socket keepalive to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1806): setting socket timeout to -1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1810): setting connection recycle timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1814): setting cache timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1818): setting connect timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1822): setting reply timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1826): setting prepost timeout to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1830): setting recovery opts to 0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1834): setting number of retries to 3 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c (1854): setting connection cache size to 1 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] build_worker_map::jk_worker.c (208): removing old main worker [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS = 5.0 [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (687): Filter started [Tue Apr 26 10:27:20 2005] [3616:816] [debug] HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection of /localhost/test/login.jsp [Tue Apr 26 10:27:20 2005] [3616:816] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/localhost/test/login.jsp' from 1 maps [Tue Apr 26 10:27:20 2005] [3616:816] [debug] map_uri_to_worker
RE: Win2003 server, IIS 6 tomcat 5. setup (isapi_redirect) - resolved
Quoting from http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html The workers that are member of load balancer must not appear in the worker.list directive. If your are not using load balancing, you should be able to remove configuration for worker.loadbalancer.XXX Values in worker.list, should not appear in worker.loadbalancer.balanced_workers (or worker.loadbalancer.balance_workers) - Jim -Original Message- From: reynir [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 12:19 AM To: Tomcat Users List Subject: Win2003 server, IIS 6 tomcat 5. setup (isapi_redirect) - resolved Hi all, I've just installed a setup with Win2003 server, IIS 6 (the default 2003 server) and tomcat. I tried this before, and failed but now I succeeded. I know there are more people dealing with the same env. setup. So if you are having problems with this kind of setup you can read all about my solution at : http://www.reynir.net/java/greinar/nr/52 ok, hope it will help someone. Reynir Hübner [EMAIL PROTECTED] The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Win2003 server, IIS 6 tomcat 5. setup (isapi_redirect) - resolved
ok thanx for your comments. I will add this in a footnote of the page. -reynir Sng Wee Jim wrote: Quoting from http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html The workers that are member of load balancer must not appear in the worker.list directive. If your are not using load balancing, you should be able to remove configuration for worker.loadbalancer.XXX Values in worker.list, should not appear in worker.loadbalancer.balanced_workers (or worker.loadbalancer.balance_workers) - Jim -Original Message- From: reynir [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 12:19 AM To: Tomcat Users List Subject: Win2003 server, IIS 6 tomcat 5. setup (isapi_redirect) - resolved Hi all, I've just installed a setup with Win2003 server, IIS 6 (the default 2003 server) and tomcat. I tried this before, and failed but now I succeeded. I know there are more people dealing with the same env. setup. So if you are having problems with this kind of setup you can read all about my solution at : http://www.reynir.net/java/greinar/nr/52 ok, hope it will help someone. Reynir Hübner [EMAIL PROTECTED] The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Win2003 server, IIS 6 tomcat 5. setup (isapi_redirect) - resolved
Hi all, I've just installed a setup with Win2003 server, IIS 6 (the default 2003 server) and tomcat. I tried this before, and failed but now I succeeded. I know there are more people dealing with the same env. setup. So if you are having problems with this kind of setup you can read all about my solution at : http://www.reynir.net/java/greinar/nr/52 ok, hope it will help someone. Reynir Hübner [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
isapi_redirect and HTTP PUT doesn't work
Hi @ll, my first post in this list ;) Well, I've a problem with the isapi_redirect.dll (versions 1.2.6 and 1.2.8) in combination with a http PUT request. With a old version, don't know which exact, it's from 2001, the request works without any problems. I'm using tomcat 5.5 and IIS5 on Windows 2000 Server and isapi_redirect.dll. For testing I use curl 7.10 with the following command: curl -T E:\test.png -X PUT http://myhost/fileupload/FileUploadServlet; With isapi_redirect.dll versions 1.2.6 and 1.2.8 I get the following error: htmlheadtitleError/title/headbodyFalscher Parameter. /body/htmlcurl: (55) ... with the old version, it works. If I use the GET command, the servlet works and I get back the right message. In the logfiles I could see, IIS forwards a GET to /jakarta/isapi_redirect.dll but not a PUT command. thnx for your help kind regards Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Isapi_redirect closing HTTP connection
Has anyone else noticed that IIS closes the HTTP connection on every request? When using HTTP/1.1, Keep-Alive is supposed to be the default behavior, but the headers returned from IIS look like: HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Fri, 12 Sep 2003 15:16:03 GMT X-Powered-By: ASP.NET Connection: close Date: Fri, 12 Sep 2003 15:16:03 GMT MIME-Version: 1.0 Content-Type: text/xml; charset=utf-8 Where IIS is always adding the Connection: close header and is closing down the connection. Even if I try adding the HTTP/1.0 style Connection: Keep-Alive to my request, the response still closes the connection. Note that when I connect directly to Tomcat, the connection remains open as expected. Also if I use Apache, the connection behaves properly. The problem is only occurring with IIS. I am using Tomcat 4.1.24 with the isapi_redirect.dll 1.2.2 on Windows 2000 with IIS 5.0 Thanks, Eric Jacobson FileMaker Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Isapi_redirect closing HTTP connection
Has anyone else noticed that IIS closes the HTTP connection on every request? When using HTTP/1.1, Keep-Alive is supposed to be the default behavior, but the headers returned from IIS look like: HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Fri, 12 Sep 2003 15:16:03 GMT X-Powered-By: ASP.NET Connection: close Date: Fri, 12 Sep 2003 15:16:03 GMT MIME-Version: 1.0 Content-Type: text/xml; charset=utf-8 Where IIS is always adding the Connection: close header and is closing down the connection. Even if I try adding the HTTP/1.0 style Connection: Keep-Alive to my request, the response still closes the connection. Note that when I connect directly to Tomcat, the connection remains open as expected. Also if I use Apache, the connection behaves properly. The problem is only occurring with IIS. I am using Tomcat 4.1.24 with the isapi_redirect.dll 1.2.2 on Windows 2000 with IIS 5.0 Thanks, Eric Jacobson FileMaker Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
IIS and isapi_redirect
I may be posting this for the second or third time, and if this is the case, my humble apologies. I don't believe the webmail application I was using actually sent the prior attempts to post to this list, and I haven't seen my post(s) or any subsequent replies, so here it goes again. If either of my other attempts did make it on list, please respond to me directly so I can figure out what the problem was. Thanks. On with the program... 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: : 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ISAPI_REDIRECT?
Hi, (B (BI have the following environment: (B (BWin2k Server (BTomcat 4.1 (BIIS 5.0 (B (BI am trying to integrate IIS and Tomcat like everyone else, but I am having an (Binteresting (Bproblem. (B (BTomcat works fine by itself when I do (Bhttp://localhost/examples/..blahblah/blah.jsp (BBut it doesn't work when I do (Bhttp://myserver/examples/..blahblah/blah.jsp (B (BThis works though: (Bhttp://myserver:8080/examples/..blahblah/blah.jsp (B (BFor the (Bhttp://myserver/examples/..blahblah/blah.jsp (Bit seems to be giving 500 error, but I don't see the configuration (Berror in server.xml, urimapping, worker properties files... I have (Bthe registry added, and I also see the green arrow pointing up (Bunder the IIS ISAPI_FILTER. (B (BCould someone tell me what I could be doing wrong(or what kind (Bof info I'm missing on my email). (B (B (BThanks! (B (B (B (BTNak
JServ isapi_redirect dll issues
We have encountered the following IIS rather Web Application Manager (WAM) errors in a production install of JServ especially a few hours after a heavy usage. These are the errors recorded in windows NT server 'event viewer' 1) --- Event ID: 204, Source: WAM, Type: Error, Category: None The HTTP server encountered an unhandled exception while processing the ISAPI Application ' + 0xD820B4F4 '. --- 2) --- Event ID: 204, Source: WAM, Type: Error, Category: None The HTTP server encountered an unhandled exception while processing the ISAPI Application ' ntdll!_RtlAllocateHeap12 + 0x1BE isapi_redirect!_jk_b_append_int + 0x20 '. --- This error causes IIS to be unresponsive for HTTP requests to be handled by the isapi worker. But the static HTML pages and .asp files are served up fine by IIS We have the updated NtDll that fixed a bug with deadlocks in a multi processor server as mentioned in case Q261317 in MS support site -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
isapi_redirect multithreading problem
Hi All ! I'm running Tomcat4.01 on IIS 5.0 using isapi_redirect.dll. Here is my server.xml for APJ connector: Connector lassName=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=50 debug=0 connectionTimeout=-1/ The problem is, that when using isapi_redirect i don't see ANY multithreading (it looks like isapi_redirect queing requests). Can anyone help me ? Thanks When a password just isn't secure enough, and email confirmations don't quite cut it, You need Voice Authentication. You need SentryCom. Best regards Alexandr, tel. +972(55)908925 http://www.voiceprove.com
isapi_redirect multiple IIS sites
Hi all, I've created a web site with the use of servlets for its dynamic content (tomcat 4) and IIS 4 for its static content. Tomcat and IIS talk through the isapi_redirect dll. Now I want to add another site that talks to tomcat but the isapi_redirect filter does not work. Is there a way to have multiple sites on IIS talking to one running tomcat instance? Thanks to all. Alexandros -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Does isapi_redirect support chunked data?
After digging through the source code of isapi_redirect.dll, I've discovered the following: 1. Transfer-Encoding isn't a supported header entry. Chunked data isn't preserved as chunked data. 2. I still don't know why the content-length of dechunked data isn't getting stored in the response header. 2. isap_redirect doesn't support messages larger than 8K. Are any of these issues scheduled to be address in the next release? My intent was to integrate with IIS in order to be able to restrict access to a fixed set of IP addresses. Due to the above limitations, I need to look for another solution. Is there any way to do this in standalone Tomcat? Rida -Original Message- From: Rida Ligurs Sent: Monday, January 21, 2002 11:52 AM To: Tomcat-User (E-mail) Subject: Does isapi_redirect support chunked data? I have a servlet that returns a SOAP document in its output stream. I have a Java client that posts a request using sockets and expects to read the response (SOAP document) from the socket's input stream. Everything works fine if I'm posting directly to Tomcat. I get the following data from the input stream: HTTP/1.1 200 OK Content-Type:text/xml Date:Mon, 21 Jan 2002 15:19:54 GMT Transfer-Encoding:chunked Server:Apache Tomcat/4.0.1 (HTTP/1.1 Connector) 44 // chunk size SOAP data chunk 23 // chunk size. SOAP data chunk 0 But when I post to IIS running with isapi_redirect, the input stream contains the following: HTTP/1.1 200 OK Server:Microsoft-IIS/5.0 Date:Mon, 21 Jan 2002 15:25:54 GMT Connection:Close Content-Type:text/xml SOAP data Is chunked data supposed to get handled this way? -- 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]
Does isapi_redirect support chunked data?
I have a servlet that returns a SOAP document in its output stream. I have a Java client that posts a request using sockets and expects to read the response (SOAP document) from the socket's input stream. Everything works fine if I'm posting directly to Tomcat. I get the following data from the input stream: HTTP/1.1 200 OK Content-Type:text/xml Date:Mon, 21 Jan 2002 15:19:54 GMT Transfer-Encoding:chunked Server:Apache Tomcat/4.0.1 (HTTP/1.1 Connector) 44 // chunk size SOAP data chunk 23 // chunk size. SOAP data chunk 0 But when I post to IIS running with isapi_redirect, the input stream contains the following: HTTP/1.1 200 OK Server:Microsoft-IIS/5.0 Date:Mon, 21 Jan 2002 15:25:54 GMT Connection:Close Content-Type:text/xml SOAP data Is chunked data supposed to get handled this way? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
isapi_redirect does not pass certificate in javax.servlet.request.X509Certificate
How do you get isap_redirect to pass the client certificate to tomcat? Anyone? TIA. Kar
isapi_redirect problem (tc 3.2.3 / IIS5.0/ W2kpro)
hi, I´m haveing the strangest problem. I´ve now tried to install the isapi_redirect 2 times, and I always end up with the same problem. Everything seems to be ok, I get the green arrow, I get the logfile (see below), and it almost works. I can call the tomcat with port 8080 all the time, but when I use port 80 I can only do one request and then the redirect service dies. The log file shows how it starts up and handles the first request, and then stops. only thing I can do to get it to process another request is to restart the world wide publishing service (in control panel or iisreset). The iis-log-file shows that the request is getting 404 and is not going through the isapi_redirect. My setup is (as far as I know) the same as in the docs. Can anyone point me to the right direction here... thanx - r -- [jk_uri_worker_map.c (156)]: Into jk_uri_worker_map_t::uri_worker_map_alloc [jk_uri_worker_map.c (196)]: Into jk_uri_worker_map_t::uri_worker_map_open [jk_uri_worker_map.c (211)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 2 [jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /servlet/=ajp12 was added [jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/=ajp12 was added [jk_uri_worker_map.c (296)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 2 rules [jk_uri_worker_map.c (317)]: 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 (711)]: Into ajp23_worker_factory [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp13 [jk_ajp13_worker.c (386)]: Into jk_worker_t::validate [jk_ajp13_worker.c (399)]: In jk_worker_t::validate for worker ajp13 contact is localhost:8009 [jk_ajp13_worker.c (425)]: 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 [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /examples/jsp/num/numguess.jsp [jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (407)]: jk_uri_worker_map_t::map_uri_to_worker, Found a match ajp12 [jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp12 [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory [jk_isapi_plugin.c (517)]: HttpExtensionProc started [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker [jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12 [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service [jk_connect.c (108)]: Into jk_open_socket [jk_connect.c (115)]: jk_open_socket, try to connect socket = 2276 [jk_connect.c (124)]: jk_open_socket, after connect ret = 0 [jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on [jk_connect.c (140)]: jk_open_socket, return, sd = 2276 [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 2276 [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 (413)]: ajpv12_handle_request, sending the headers [jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the terminating mark [jk_ajp12_worker.c (477)]: ajpv12_handle_request done [jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request [jk_ajp12_worker.c (493)]: Into ajpv12_handle_response [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Status: 200 OK [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Status=200 OK [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Content-Type: text/html;charset=ISO-8859-1 [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Content-Type=text/html;charset=ISO-8859-1 [jk_ajp12_worker.c
Tomcat / IIS 5.0 - isapi_redirect Error - log data included
Hello, I am trying to install Tomcat on a Windows 2000 Advanced Server machine. I followed the instructions at http://jakarta.apache.org/tomcat/to...-iis-howto.html) and I still havent gotten it to work. If I go to the examples/jsp/index.html I get a 404 Not Found (404) Original request: /jakarta/isapi_redirect.dll Not found request: /jakarta/isapi_redirect.dll So it appears to be a problem with my virtual directory My log gives the following: #Software: Microsoft Internet Information Services 5.0 #Version: 1.0 #Date: 2001-08-29 05:25:17 #Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri- stem cs-uri-query sc-status cs(User-Agent) 2001-08-29 05:25:17 127.0.0.1 - 127.0.0.1 80 GET /jakarta/isapi_redirect.dll - 403 Mozilla/4.0+ (compatible;+MSIE+5.01;+Windows+NT+5.0) The doc states If the number following GET /... is 200 or 403, make sure you have checked Execute Access for the jakarta virtual directory in the Advanced Options of the Personal Web Manager. I checked and I have set that directory for execute. Any ideas?
RE: Tomcat / IIS 5.0 - isapi_redirect Error - log data included
I recently installed tomcat on a Windows XP machine without much problems. I would like to draw you attention to page 1 of another document http://Jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html and special note 2 regarding the using of long filenames. I says don't and use 8.3 format. For instance in my workers.propeerties file it says: workers.tomcat_home=c:\progra~1\jakart~1.3 # # workers.java_home should point to your Java installation. Normally # you should have a bin and lib directories beneath it. # workers.java_home=c:\progra~1\jdk13~1.0_0 where progra~1 is normally known as 'program files'. I hope this helps. You may email me direct if you wish Robert T Turner [EMAIL PROTECTED] -Original Message- From: SpuTTer [mailto:[EMAIL PROTECTED]] Sent: 29 August 2001 19:29 To: [EMAIL PROTECTED] Subject: Tomcat / IIS 5.0 - isapi_redirect Error - log data included Hello, I am trying to install Tomcat on a Windows 2000 Advanced Server machine. I followed the instructions at http://jakarta.apache.org/tomcat/to...-iis-howto.html) and I still havent gotten it to work. If I go to the examples/jsp/index.html I get a 404 Not Found (404) Original request: /jakarta/isapi_redirect.dll Not found request: /jakarta/isapi_redirect.dll So it appears to be a problem with my virtual directory My log gives the following: #Software: Microsoft Internet Information Services 5.0 #Version: 1.0 #Date: 2001-08-29 05:25:17 #Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri- stem cs-uri-query sc-status cs(User-Agent) 2001-08-29 05:25:17 127.0.0.1 - 127.0.0.1 80 GET /jakarta/isapi_redirect.dll - 403 Mozilla/4.0+ (compatible;+MSIE+5.01;+Windows+NT+5.0) The doc states If the number following GET /... is 200 or 403, make sure you have checked Execute Access for the jakarta virtual directory in the Advanced Options of the Personal Web Manager. I checked and I have set that directory for execute. Any ideas? _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
bug report: tomcat isapi_redirect not closing http connection
Hi, I have a problem with integration tomcat 3.2.1 with IIS. The setup works ok, but when a try a servlet or jsp the server does not close the HTTP connection socket, making the browser (IE) showing a hourglass as if there were more data to come. This happens with both the examples and my own servlets/jsps. When I test the servlet directly with Tomcat (on port 8080) everything works OK. I have searched the net, but found nothing related to this problem. Is this a known problem ? Any suggestions are welcome Regards, Karel Haeck EnergyICT
RE: isapi_redirect on Win2K
No, you don't need a separate build for Win2K What about it isn't working? -Original Message- From: Jay Kaplan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 12:21 PM To: [EMAIL PROTECTED] Subject: isapi_redirect on Win2K I cannot get isapi_redirect.dll to load into IIS under Win2K server. Is a win2K build required, or will the win32 binary work under win2K? If the win32 build is sufficient, what other troubleshooting areas should I look at? Current Reg Entries: HKEY_LOCAL_MACHINE/SOFTWARE/Apache Software Foundation/Jakarta Isapi Redirector/1.0/ extension_uri=/jakarta/isapi_redirect.dll log_file=c:\RioTrade\tomcat\logs\isapi.log log_level=debug worker_file=c:\RioTrade\tomcat\conf\workers.properties worker_file_mount=c:\RioTrade\tomcat\conf\uriworkermap.properties The Tomcathome is c:\RioTrade\tomcat. Jay Kaplan [EMAIL PROTECTED] Rio Labs
isapi_redirect on Win2K
I cannot get isapi_redirect.dll to load into IIS under Win2K server. Is a win2K build required, or will the win32 binary work under win2K? If the win32 build is sufficient, what other troubleshooting areas should I look at? Current Reg Entries: HKEY_LOCAL_MACHINE/SOFTWARE/Apache Software Foundation/Jakarta Isapi Redirector/1.0/ extension_uri=/jakarta/isapi_redirect.dll log_file=c:\RioTrade\tomcat\logs\isapi.log log_level=debug worker_file=c:\RioTrade\tomcat\conf\workers.properties worker_file_mount=c:\RioTrade\tomcat\conf\uriworkermap.properties The Tomcathome is c:\RioTrade\tomcat. Jay Kaplan [EMAIL PROTECTED] Rio Labs winmail.dat
Strange isapi_redirect error on NT
Hi all, a couple of weeks ago someone else already asked this question but didn't get any response: I'm running Tomcat 3.2.1 with IIS 4.0 on NT and my isapi.log shows the following messages only with log level error, but neither when selecting info or debug: [jk_isapi_plugin.c (261)]: jk_ws_service_t::start_response, ServerSupportFunction failed [jk_ajp12_worker.c (570)]: ajpv12_handle_response, error starting response [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed [jk_isapi_plugin.c (355)]: jk_ws_service_t::write, WriteClient failed [jk_ajp12_worker.c (596)]: ajpv12_handle_response, error writing back to server Everything on my app (cocoon based) works fine, except that special characters (German Umlauts) are converted to some scrambled stuff when submitted from a form. The same application works fine with Apache though, and without such problems. I suspect this to be some issue related to port configuration since IIS is listening on port 81, but my config files seem to be correct. I greatly appreciate any hints because I just can't figure out what's going on. Thanx, oLi __ Do You Yahoo!? Gesendet von Yahoo! Mail - http://mail.yahoo.de
A simple one: where can I get source code for ISAPI_redirect? Couldn't find anything on jakarta.apache.org end
- The information contained in this message is confidential and is intended for the addressee(s) only. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. Baltimore Technologies plc will not be liable for direct, special, indirect or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on. In addition, certain Marketing collateral may be added from time to time to promote Baltimore Technologies products, services, Global e-Security or appearance at trade shows and conferences. This footnote confirms that this email message has been swept by Baltimore MIMEsweeper for Content Security threats, including computer viruses.
RE: A simple one: where can I get source code for ISAPI_redirect? Cou ldn't find anything on jakarta.apache.org end
All source is in CVS. To access the source for ISAPI_REDIRECT using the web version of CVS, go to http://jakarta.apache.org/cvsweb/index.cgi/jakarta-tomcat/src/native/mod_jk/ iis/ - it looks like the source is written for Visual C++. Randy -Original Message- From: Michael Zolotarev [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 8:18 AM To: TomcatList (E-mail) Subject: A simple one: where can I get source code for ISAPI_redirect? Cou ldn't find anything on jakarta.apache.org end -- --- The information contained in this message is confidential and is intended for the addressee(s) only. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. Baltimore Technologies plc will not be liable for direct, special, indirect or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on. In addition, certain Marketing collateral may be added from time to time to promote Baltimore Technologies products, services, Global e-Security or appearance at trade shows and conferences. This footnote confirms that this email message has been swept by Baltimore MIMEsweeper for Content Security threats, including computer viruses.
Problems with isapi_redirect
Hi, We are trying to configure personal web server (PWS) with tomcat 3.2.1. We have followed the configuration steps that we found in the jakarta´s documentation but in the step number 8 we had problems to add the filter name. We have the PWS, so we followed the steps for add the filter in the regedit... "For PWS, you'll need to use regedit and add/edit the "Filter DLLs" key under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters. This key contains a "," separated list of dlls ( full paths ) - you need to insert the full path to isapi_redirect.dll. " But we don´t know if the "Filter DLLs" is a "key" or a "string value", if it is a key What string value would it have? And what would be the value for this string? We couldn´t start up PWS with tomcat 3.2.1 and we think that problem is about the filter. We found the next text "make sure that the jakarta filter is marked with a green up-pointing arrow" but in the PWS we couldn´t check the jakarta filter. Thanks... We hope somebody can help us. Roberto Rodriguez. DBA consultant. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
isapi_redirect filter problem
Hi I tried to install the isapi+AF8-redirec dll on my windows 2000 IIS as explained in the document : 'Tomcat IIS HowTo' my problem is that the that the green arrow up (indicating that the dll is in the air) doesn't appear after restarting the iis as result the redirect doesn't work.( a red arrow down appear instead) if someone had this problem tell me, how can I overcome it ? Thanks allot for the attention Shlomi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
isapi_redirect strangeness
All, We're using Tomcat and struts for development and have installed the IIS redirector without a hitch on 3 machines. When I went to install on another machine, I couldn't get it to work. Symptom is tomcat getting called for the /jakarta/isapi_redirect.dll. Since I have a working system, I started to compare the set-up and could find no difference. Reinstalled a vanilla Tomcat 3.2.1 and dll from apache.org. Still didn't work. Got the source code to the redirector and added some debug code. Now I have more information about what's going wrong, but don't know why. On the working machine I see the filter code in the dll recognises my request /xyz and figures out that it should go to Tomcat to serve it. Next thing I see, is it opening the connection to Tomcat and all is well. On the non-working machine it gets the request for /xyz, but then sees the request for /jakarta/isapi_redirect.dll also, and correctly returns next_in_chain (or whatever it's called) value. However, the TOMCAT headers that have been added by the filter have been 'lost' by the time it gets around to handle the original /xyz. The working machine is running IIS on NT4/SP5 and the broken machine is running IIS on NT4/SP6a. I see that the redirector has been tested on SP6a so that shouldn't be a problem, but the two IIS'es seem to be behaving differently. I can understand the IIS filter getting called for all requests, but why doesn't the working machine show this behaviour? Any clues? pb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
isapi_redirect log message
Hi all, We're using Tomcat on IIS 4.0, WinNT 4.0 SP 6a with isapi_redirect.dll. I see multiple instances of The HTTP server encountered an unhandled exception while processing the ISAPI Application ' isapi_redirect + 0x45B5 '. in the application event log. We've been experiencing some web server hangs and I'm wondering if this could be causing/aggravating the problem. We're using tomcat 3.1 with an older version of the redirector; is the newer version of the redirector more robust, can it be used with version 3.1 and should we look into upgrading to 3.2 (i.e. is it tested and performing well in a production environment)? Thanks in advance, Eric Reeves - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]