tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Layman <randy.lay...@aswethink.com>
Subject RE: TOMCAT 3.2.2
Date Tue, 24 Jul 2001 19:49:09 GMT

	I'm guessing that you haven't modified your server.xml file and left
the servlet invoker in the configuration.  If so, this invoker is catching
the request, trying to start a servlet named index.html, failing and
returning a 404.

	Randy


> -----Original Message-----
> From: fthomas.baltzley@highmark.com
> [mailto:fthomas.baltzley@highmark.com]
> Sent: Tuesday, July 24, 2001 4:23 PM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: TOMCAT 3.2.2
> 
> 
> 
> But what about  http://127.0.0.1/examples/servlet/index.html??
> 
> I have /examples/servlet/* in uriworkermap.properties.
> 
> 
>                                                               
>                                
>                     Randy Layman                              
>                                
>                     <randy.layman@aswe        To:     
> tomcat-user@jakarta.apache.org         
>                     think.com>                cc:             
>                                
>                                               Subject:     
> RE: TOMCAT 3.2.2                  
>                     07/24/2001 03:26                          
>                                
>                     PM                                        
>                                
>                     Please respond to                         
>                                
>                     tomcat-user                               
>                                
>                                                               
>                                
>                                                               
>                                
> 
> 
> 
> 
>            How do you expect Tomcat to know to process *.html 
> if you don't
> tell
> it to (in uriworkermap.properties)?
> 
>            You have:
> > /examples/servlet/*=$(default.worker)
> > /examples/*.jsp=$(default.worker)
> but you indicate that you want to match:
> >      http://127.0.0.1/examples/admin/index.html
> which can never happen.  You need to change your 
> uriworkermap.properties
> file, and then either restart the machine, or stop IIS from 
> the Services
> Control Panel (you must make inetinfo.exe unload).
> 
>            Randy
> 
> > -----Original Message-----
> > From: fthomas.baltzley@highmark.com
> > [mailto:fthomas.baltzley@highmark.com]
> > Sent: Tuesday, July 24, 2001 3:59 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: TOMCAT 3.2.2
> >
> >
> > Hi.  I've check the FAQ and other sources but can't find anything
> > specifically related to my problem.  There are other "404 not found"
> > problems but mine only happens in certain contexts and I
> > can't figure out
> > why.   I have the isapi-redirect.dll installed on IIS 4.0 /
> > NT 4.0 SP6 and
> > the green arrow shows in the isapi filter.
> >
> > I would appreciate any help.  Thank you.
> >
> > These urls work :
> >
> >      http://127.0.0.1/bookstore/bookstore.html
> >      http://127.0.0.1/examples/jsp/index.html
> >
> > I get the 404 with the following:
> >
> >      http://127.0.0.1/examples/servlet/index.html
> >      http://127.0.0.1/examples/admin/index.html
> >
> > The pages are definitely in the right folders/directories.
> >
> > Following is information that may be of use:
> >
> > **** uriworkermap.properties-auto file contains:
> >
> > default.worker=ajp12
> > /servlet/*=$(default.worker)
> > /*.jsp=$(default.worker)
> >
> > /examples/servlet/*=$(default.worker)
> > /examples/*.jsp=$(default.worker)
> >
> > # /examples/*=$(default.worker)
> >
> > /admin/servlet/*=$(default.worker)
> > /admin/*.jsp=$(default.worker)
> >
> > # /admin/*=$(default.worker)
> > /bookstore/servlet/*=$(default.worker)
> > /bookstore/*.jsp=$(default.worker)
> >
> > # /bookstore/*=$(default.worker)
> >
> > /test/servlet/*=$(default.worker)
> > /test/*.jsp=$(default.worker)
> >
> > # /test/*=$(default.worker)
> >
> > **** iis-redirect.reg-auto contains:
> >
> > REGEDIT4
> >
> > [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software 
> Foundation\Jakarta Isapi
> > Redirector\1.0]
> > "extension_uri"="/jakarta/isapi_redirect.dll"
> > "log_file"="D:\\Tomcat-3.2.2\\logs\\iis_redirect.log"
> > "log_level"="debug"
> > "worker_file"="D:\\Tomcat-3.2.2\\conf\\workers.properties"
> > 
> "worker_mount_file"="D:\\Tomcat-3.2.2\\conf\\uriworkermap.properties"
> >
> >
> >
> > **** servlet.log contains:
> >
> > 2001-07-06 03:00:10 - path="/examples" :jsp: init
> > 2001-07-06 03:00:11 - path="/admin" :jsp: init
> > 2001-07-06 03:00:11 - path="/bookstore" :jsp: init
> > 2001-07-06 03:00:11 - path="" :jsp: init
> > 2001-07-06 03:00:11 - path="/test" :jsp: init
> >
> > **** isapi.log contains:
> >
> > [jk_isapi_plugin.c (408)]: HttpFilterProc started
> > [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
> > /examples/servlet/index.html
> > [jk_uri_worker_map.c (344)]: Into
> > jk_uri_worker_map_t::map_uri_to_worker
> > [jk_uri_worker_map.c (406)]:
> > jk_uri_worker_map_t::map_uri_to_worker, Found
> > a match ajp12
> > [jk_isapi_plugin.c (439)]: HttpFilterProc
> > [/examples/servlet/index.html] is
> > a servlet url - should redirect to ajp12
> > [jk_isapi_plugin.c (461)]: HttpFilterProc check if
> > [/examples/servlet/index.html] is points to the web-inf directory
> > [jk_uri_worker_map.c (155)]: Into
> > jk_uri_worker_map_t::uri_worker_map_alloc
> > [jk_uri_worker_map.c (195)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open
> > [jk_uri_worker_map.c (210)]:
> > jk_uri_worker_map_t::uri_worker_map_open, rule
> > map size is 15
> > [jk_uri_worker_map.c (266)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > match rule /servlet/=ajp12 was added
> > [jk_uri_worker_map.c (255)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > suffix rule /.jsp=ajp12 was added
> > [jk_uri_worker_map.c (266)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > match rule /examples/servlet/=ajp12 was added
> > [jk_uri_worker_map.c (255)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > suffix rule /examples/.jsp=ajp12 was added
> > [jk_uri_worker_map.c (266)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > match rule /examples/=ajp12 was added
> > [jk_uri_worker_map.c (266)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > match rule /admin/servlet/=ajp12 was added
> > [jk_uri_worker_map.c (255)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > suffix rule /admin/.jsp=ajp12 was added
> > [jk_uri_worker_map.c (266)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > match rule /admin/=ajp12 was added
> > [jk_uri_worker_map.c (266)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > match rule /bookstore/servlet/=ajp12 was added
> > [jk_uri_worker_map.c (255)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > suffix rule /bookstore/.jsp=ajp12 was added
> > [jk_uri_worker_map.c (266)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > match rule /bookstore/=ajp12 was added
> > [jk_uri_worker_map.c (266)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > match rule /test/servlet/=ajp12 was added
> > [jk_uri_worker_map.c (255)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > suffix rule /test/.jsp=ajp12 was added
> > [jk_uri_worker_map.c (266)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > match rule /test/=ajp12 was added
> > [jk_uri_worker_map.c (295)]: Into
> > jk_uri_worker_map_t::uri_worker_map_open,
> > there are 14 rules
> > [jk_uri_worker_map.c (316)]:
> > jk_uri_worker_map_t::uri_worker_map_open, done
> > [jk_worker.c (82)]: Into wc_open
> > [jk_worker.c (207)]: Into build_worker_map, creating 2 workers
> > [jk_worker.c (213)]: build_worker_map, creating worker ajp12
> > [jk_worker.c (138)]: Into wc_create_worker
> > [jk_worker.c (152)]: wc_create_worker, about to create
> > instance ajp12 of
> > ajp12
> > [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
> > [jk_worker.c (161)]: wc_create_worker, about to validate and
> > init ajp12
> > [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
> > [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12
> > contact is localhost:8007
> > [jk_worker.c (177)]: wc_create_worker, done
> > [jk_worker.c (223)]: build_worker_map, removing old ajp12 worker
> > [jk_worker.c (213)]: build_worker_map, creating worker ajp13
> > [jk_worker.c (138)]: Into wc_create_worker
> > [jk_worker.c (152)]: wc_create_worker, about to create
> > instance ajp13 of
> > ajp13
> > [jk_ajp13_worker.c (708)]: Into ajp23_worker_factory
> > [jk_worker.c (161)]: wc_create_worker, about to validate and
> > init ajp13
> > [jk_ajp13_worker.c (383)]: Into jk_worker_t::validate
> > [jk_ajp13_worker.c (396)]: In jk_worker_t::validate for worker ajp13
> > contact is localhost:8009
> > [jk_ajp13_worker.c (422)]: Into jk_worker_t::init
> > [jk_worker.c (177)]: wc_create_worker, done
> > [jk_worker.c (223)]: build_worker_map, removing old ajp13 worker
> > [jk_worker.c (235)]: build_worker_map, done
> > [jk_worker.c (102)]: wc_open, done
> > [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 = 1464
> > [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 = 1464
> > [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 1464
> > [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 (472)]: ajpv12_handle_request done
> > [jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
> > [jk_ajp12_worker.c (488)]: Into ajpv12_handle_response
> > [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read
> > Status: 404 Not
> > Found
> > [jk_ajp12_worker.c (530)]: ajpv12_handle_response, read 
> Status=404 Not
> > Found
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> 
> 
> 
> 

Mime
View raw message