Re: can't get tomat working with IIS (complete email...earlier one was incomplete)
I have tried this uriworkermap.properties file, but it made no difference. I have setup the 'jakarta' virtual directory under the default web site, is there anythng else required with IIS ? I've set the website IIS to allow anonymous access. I have only modified worker.properties servlet.xml, is there anything else that needs to be done thats NOT mentioned in the official HOWTO?(no mention of modifying server.xml). I suspect the following log file entries may have something to do with it - [Sun Feb 03 08:39:10 2002] [jk_isapi_plugin.c (606)]: In HttpFilterProc test Default redirection of /examples/ [Sun Feb 03 08:39:10 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Feb 03 08:39:10 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/examples/' [Sun Feb 03 08:39:10 2002] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Sun Feb 03 08:39:10 2002] [jk_isapi_plugin.c (638)]: HttpFilterProc [/examples/] is not a servlet url [Sun Feb 03 08:39:10 2002] [jk_isapi_plugin.c (647)]: HttpFilterProc check if [/examples/] is points to the web-inf directory some problem not mapping to the directory 'example', but it is in the standard place under webapps. Are there any permissions that need to be set with the /examples directory ? - Original Message - From: Pavel Brun [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, February 03, 2002 5:30 PM Subject: RE: can't get tomat working with IIS (complete email...earlier one was incomplete) woopssent it prematurely. :-) The uriworkermap.properties has the following format: -- # Default worker to be used through our mappings # default.worker=ajp13 # # Sites to be redirected to Tomcat # /example=$(default.worker) /example/*=$(default.worker) -- If example was a directory located under webapps, then this would define what IIS would redirect to Tomcat for processing. As for server.xml, there is something that looks like this: -- !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ -- Hope this helpsany questions, just shout... Paul -Original Message- From: Scott Adamson [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 02, 2002 1:27 PM To: Tomcat Users List Subject: Re: can't get tomat working with IIS What is required in uriworkermap.properties ? No, I haven't modified this file. I can't find any reference to 'ajp13' in server.xml, what is meant to be there ? - Original Message - From: Pavel Brun [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, February 03, 2002 5:15 PM Subject: RE: can't get tomat working with IIS Did you add the appropriate directories to uriworkermap.properties? Also, did you uncomment the reference to the ajp13 connector in server.xml? I am also running Windows 2K IIS and Tomcat and they both work well. Thanks PAul -Original Message- From: Scott Adamson [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 02, 2002 1:00 PM To: [EMAIL PROTECTED] Subject: can't get tomat working with IIS I'm trying to get Tomcat 4.0 working with IIS, the ISAPI redirect has loaded correctly (green arrow) but still nothing. Works fine with 8080. I have checked the iis_redirect.log - it generates - [Sun Feb 03 04:42:55 2002] [jk_isapi_plugin.c (555)]: HttpFilterProc started [Sun Feb 03 04:42:55 2002] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /localhost/examples/jsp/index.html [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/localhost/examples/jsp/index.html' [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Sun Feb 03 04:42:55 2002] [jk_isapi_plugin.c (606)]: In HttpFilterProc test Default redirection of /examples/jsp/index.html [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/examples/jsp/index.html' [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (391)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 - /examples/ [Sun Feb 03 04:42:55 2002] [jk_isapi_plugin.c (625)]: HttpFilterProc [/examples/jsp/index.html] is a servlet url - should redirect to ajp13 [Sun Feb 03 04:42:55
RE: can't get tomat working with IIS (complete email...earlier one was incomplete)
Is the IIS virtual directory set to execute (with scripts) mode? Did you register your iisredirect.reg file? Also, did you load your redirector at the level of your computer name in the Internet Information Services area? Could you send me screen captures of your settings? You can send it to my email address if you wish... Thanks Paul -Original Message- From: Scott Adamson [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 02, 2002 4:55 PM To: Tomcat Users List Subject: Re: can't get tomat working with IIS (complete email...earlier one was incomplete) I have tried this uriworkermap.properties file, but it made no difference. I have setup the 'jakarta' virtual directory under the default web site, is there anythng else required with IIS ? I've set the website IIS to allow anonymous access. I have only modified worker.properties servlet.xml, is there anything else that needs to be done thats NOT mentioned in the official HOWTO?(no mention of modifying server.xml). I suspect the following log file entries may have something to do with it - [Sun Feb 03 08:39:10 2002] [jk_isapi_plugin.c (606)]: In HttpFilterProc test Default redirection of /examples/ [Sun Feb 03 08:39:10 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Feb 03 08:39:10 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/examples/' [Sun Feb 03 08:39:10 2002] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Sun Feb 03 08:39:10 2002] [jk_isapi_plugin.c (638)]: HttpFilterProc [/examples/] is not a servlet url [Sun Feb 03 08:39:10 2002] [jk_isapi_plugin.c (647)]: HttpFilterProc check if [/examples/] is points to the web-inf directory some problem not mapping to the directory 'example', but it is in the standard place under webapps. Are there any permissions that need to be set with the /examples directory ? - Original Message - From: Pavel Brun [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, February 03, 2002 5:30 PM Subject: RE: can't get tomat working with IIS (complete email...earlier one was incomplete) woopssent it prematurely. :-) The uriworkermap.properties has the following format: -- # Default worker to be used through our mappings # default.worker=ajp13 # # Sites to be redirected to Tomcat # /example=$(default.worker) /example/*=$(default.worker) -- If example was a directory located under webapps, then this would define what IIS would redirect to Tomcat for processing. As for server.xml, there is something that looks like this: -- !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ -- Hope this helpsany questions, just shout... Paul -Original Message- From: Scott Adamson [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 02, 2002 1:27 PM To: Tomcat Users List Subject: Re: can't get tomat working with IIS What is required in uriworkermap.properties ? No, I haven't modified this file. I can't find any reference to 'ajp13' in server.xml, what is meant to be there ? - Original Message - From: Pavel Brun [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, February 03, 2002 5:15 PM Subject: RE: can't get tomat working with IIS Did you add the appropriate directories to uriworkermap.properties? Also, did you uncomment the reference to the ajp13 connector in server.xml? I am also running Windows 2K IIS and Tomcat and they both work well. Thanks PAul -Original Message- From: Scott Adamson [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 02, 2002 1:00 PM To: [EMAIL PROTECTED] Subject: can't get tomat working with IIS I'm trying to get Tomcat 4.0 working with IIS, the ISAPI redirect has loaded correctly (green arrow) but still nothing. Works fine with 8080. I have checked the iis_redirect.log - it generates - [Sun Feb 03 04:42:55 2002] [jk_isapi_plugin.c (555)]: HttpFilterProc started [Sun Feb 03 04:42:55 2002] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /localhost/examples/jsp/index.html [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/localhost/examples/jsp/index.html' [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Sun Feb 03 04:42:55 2002] [jk_isapi_plugin.c (606)]: In HttpFilterProc test
Re: can't get tomat working with IIS (complete email...earlier one was incomplete)
Yes, the virtual directory 'jakarta' is set with execute permissions for 'Scripts and Executables'. I could not get the reg file to work, I double clicked, it tells me it worked, but no registry changes are made, so I manually created the registry entry. I have not registered this reg file. - Original Message - From: Pavel Brun [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, February 04, 2002 1:08 AM Subject: RE: can't get tomat working with IIS (complete email...earlier one was incomplete) Is the IIS virtual directory set to execute (with scripts) mode? Did you register your iisredirect.reg file? Also, did you load your redirector at the level of your computer name in the Internet Information Services area? Could you send me screen captures of your settings? You can send it to my email address if you wish... Thanks Paul -Original Message- From: Scott Adamson [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 02, 2002 4:55 PM To: Tomcat Users List Subject: Re: can't get tomat working with IIS (complete email...earlier one was incomplete) I have tried this uriworkermap.properties file, but it made no difference. I have setup the 'jakarta' virtual directory under the default web site, is there anythng else required with IIS ? I've set the website IIS to allow anonymous access. I have only modified worker.properties servlet.xml, is there anything else that needs to be done thats NOT mentioned in the official HOWTO?(no mention of modifying server.xml). I suspect the following log file entries may have something to do with it - [Sun Feb 03 08:39:10 2002] [jk_isapi_plugin.c (606)]: In HttpFilterProc test Default redirection of /examples/ [Sun Feb 03 08:39:10 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Feb 03 08:39:10 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/examples/' [Sun Feb 03 08:39:10 2002] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Sun Feb 03 08:39:10 2002] [jk_isapi_plugin.c (638)]: HttpFilterProc [/examples/] is not a servlet url [Sun Feb 03 08:39:10 2002] [jk_isapi_plugin.c (647)]: HttpFilterProc check if [/examples/] is points to the web-inf directory some problem not mapping to the directory 'example', but it is in the standard place under webapps. Are there any permissions that need to be set with the /examples directory ? - Original Message - From: Pavel Brun [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, February 03, 2002 5:30 PM Subject: RE: can't get tomat working with IIS (complete email...earlier one was incomplete) woopssent it prematurely. :-) The uriworkermap.properties has the following format: -- # Default worker to be used through our mappings # default.worker=ajp13 # # Sites to be redirected to Tomcat # /example=$(default.worker) /example/*=$(default.worker) -- If example was a directory located under webapps, then this would define what IIS would redirect to Tomcat for processing. As for server.xml, there is something that looks like this: -- !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ -- Hope this helpsany questions, just shout... Paul -Original Message- From: Scott Adamson [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 02, 2002 1:27 PM To: Tomcat Users List Subject: Re: can't get tomat working with IIS What is required in uriworkermap.properties ? No, I haven't modified this file. I can't find any reference to 'ajp13' in server.xml, what is meant to be there ? - Original Message - From: Pavel Brun [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, February 03, 2002 5:15 PM Subject: RE: can't get tomat working with IIS Did you add the appropriate directories to uriworkermap.properties? Also, did you uncomment the reference to the ajp13 connector in server.xml? I am also running Windows 2K IIS and Tomcat and they both work well. Thanks PAul -Original Message- From: Scott Adamson [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 02, 2002 1:00 PM To: [EMAIL PROTECTED] Subject: can't get tomat working with IIS I'm trying to get Tomcat 4.0 working with IIS, the ISAPI redirect has loaded correctly (green arrow) but still nothing. Works fine with 8080. I have checked the iis_redirect.log - it generates
RE: can't get tomat working with IIS (complete email...earlier one was incomplete)
woopssent it prematurely. :-) The uriworkermap.properties has the following format: -- # Default worker to be used through our mappings # default.worker=ajp13 # # Sites to be redirected to Tomcat # /example=$(default.worker) /example/*=$(default.worker) -- If example was a directory located under webapps, then this would define what IIS would redirect to Tomcat for processing. As for server.xml, there is something that looks like this: -- !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ -- Hope this helpsany questions, just shout... Paul -Original Message- From: Scott Adamson [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 02, 2002 1:27 PM To: Tomcat Users List Subject: Re: can't get tomat working with IIS What is required in uriworkermap.properties ? No, I haven't modified this file. I can't find any reference to 'ajp13' in server.xml, what is meant to be there ? - Original Message - From: Pavel Brun [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, February 03, 2002 5:15 PM Subject: RE: can't get tomat working with IIS Did you add the appropriate directories to uriworkermap.properties? Also, did you uncomment the reference to the ajp13 connector in server.xml? I am also running Windows 2K IIS and Tomcat and they both work well. Thanks PAul -Original Message- From: Scott Adamson [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 02, 2002 1:00 PM To: [EMAIL PROTECTED] Subject: can't get tomat working with IIS I'm trying to get Tomcat 4.0 working with IIS, the ISAPI redirect has loaded correctly (green arrow) but still nothing. Works fine with 8080. I have checked the iis_redirect.log - it generates - [Sun Feb 03 04:42:55 2002] [jk_isapi_plugin.c (555)]: HttpFilterProc started [Sun Feb 03 04:42:55 2002] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /localhost/examples/jsp/index.html [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/localhost/examples/jsp/index.html' [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Sun Feb 03 04:42:55 2002] [jk_isapi_plugin.c (606)]: In HttpFilterProc test Default redirection of /examples/jsp/index.html [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/examples/jsp/index.html' [Sun Feb 03 04:42:55 2002] [jk_uri_worker_map.c (391)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 - /examples/ [Sun Feb 03 04:42:55 2002] [jk_isapi_plugin.c (625)]: HttpFilterProc [/examples/jsp/index.html] is a servlet url - should redirect to ajp13 [Sun Feb 03 04:42:55 2002] [jk_isapi_plugin.c (647)]: HttpFilterProc check if [/examples/jsp/index.html] is points to the web-inf directory every request. I have read that the existance of the line 'In HttpFilterProc Virtual Host redirection of /localhost/examples/jsp/index.html' indicates that the 'Filter DLLs' registry key is incorrectly set (as this is a W2K server). But I have NOT set this, and I can't find anything like it in the registry. As previously mentioned I'm running Tomcat4.0 on Windows 2000 server, I don't know what version of IIS - can't find this information, don't know which stinkin GUI panel will show this. Any help or advice anyone can offer would be much appreciated, as I have been thru all the docos and have searched the web. I have included my settings below. Thanks, Scott. Tomcat worker.properties - # Begin worker.properties ** worker.ajp13.type=ajp13 # # Specifies the load balance factor when used with # a load balancing worker. # Note: # lbfactor must be 0 # Low lbfactor means less work done by the worker. worker.ajp13.lbfactor=1 # # Specify the size of the open connection cache. #worker.ajp13.cachesize # #-- DEFAULT LOAD BALANCER WORKER DEFINITION -- #- # # # The loadbalancer (type lb) worker perform weighted round-robin # load balancing with sticky sessions. # Note: # If a worker dies, the load balancer will check its state #once in a while. Until then all work is redirected to peer #worker.