Hi,

>The last line says "[/vbc] is a servlet
>url - should redirect to ajp13w" and then I get a 404 back. I am not
>sure about if it is Tomcat or the connector that returns the 404.

When I had a similar issue with Apache Web Server, I checked the Apache logs
to see if it was looking in the wrong place itself.

I know that your connector logs show that IIS might be sending the request
to tomcat but since you see no activity in tomcat logs, try looking at your
IIS access logs for the 404. You might just find that IIS is trying to serve
the requests..all by itself !

Cheers,
- Pulkit

On 1/3/06, Fredrik Rubensson <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am trying to setup IIS 6.0 (running in IIS 5.0 isolation mode) and
> Tomcat 5.5.12 with the help of JK-1.2.15. (I had a working solution
> with jk2 that didn't work with my newly added cewolf taglib for
> charts. So I figured that I should upgrade to something that is
> supported and up to date.)
>
> The machine is a Windows 2003 Server. I installed JK with the Windows
> installer and then changed the property files a bit. (See file
> listings below.) The call is getting though to the connector since
> I get things in the log file. The last line says "[/vbc] is a servlet
> url - should redirect to ajp13w" and then I get a 404 back. I am not
> sure about if it is Tomcat or the connector that returns the 404.
> There are no signs of any activity whatsoever in the Tomcat logs. So
> in short it looks nice in the connector log file but still returns a
> 404. Tomcat also has no problem with "normal" equivalent calls to 8080.
> I have changed the worker handling the request from wlb to ajp13w with
> No change in behaviour. (Not expected....)
>
>
>
> workers.properties:
>
>
> # workers.properties.minimal -
> #
> # This file provides minimal jk configuration properties needed to
> # connect to Tomcat.
> #
> # The workers that jk should create and work with
> #
>
> worker.list=wlb,jkstatus,ajp13w
>
> #
> # Defining a worker named ajp13w and of type ajp13
> # Note that the name and the type do not have to match.
> #
> worker.ajp13w.type=ajp13
> worker.ajp13w.host=localhost
> worker.ajp13w.port=8009
>
> #
> # Defining a load balancer
> #
>
> worker.wlb.type=lb
> worker.wlb.balance_workers=ajp13w
>
> #
> # Define status worker
> #
>
> worker.jkstatus.type=status
>
>
>
> uriworkermap.properties:
>
> # uriworkermap.properties - IIS
> #
> # This file provides sample mappings for example wlb
> # worker defined in workermap.properties.minimal
> # The general syntax for this file is:
> # [URL]=[Worker name]
>
> /vbc=ajp13w
> /vbc/*=ajp13w
> /vbcadmin/*=wlb
>
> /admin/*=wlb
> /manager/*=wlb
> /jsp-examples/*=wlb
> /servlets-examples/*=wlb
>
> # Optionally filter out all .jpeg files inside that context
> # For no mapping the url has to start with exclamation (!)
>
> !/servlets-examples/*.jpeg=wlb
>
> #
> # Mount jkstatus to /jkmanager
> # For production servers you will need to
> # secure the access to the /jkmanager url
> #
> /jkmanager=jkstatus
>
>
>
> And in Tomcat server.xml the following part is included:
>
>     <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
>     <!--
>     <Connector port="8443" maxHttpHeaderSize="8192"
>                maxThreads="150" minSpareThreads="25"
> maxSpareThreads="75"
>                enableLookups="false" disableUploadTimeout="true"
>                acceptCount="100" scheme="https" secure="true"
>                clientAuth="false" sslProtocol="TLS" />
>     -->
>
>     <!-- Define an AJP 1.3 Connector on port 8009 -->
>     <Connector port="8009"
>                enableLookups="false" redirectPort="8443"
> protocol="AJP/1.3" />
>
>
>
> The connector log file says (for one request):
>
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_isapi_plugin.c (762):
> Filter started
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_isapi_plugin.c (828):
> Virtual Host redirection of /srv-mtc-dev4/vbc
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (449): Attempting to map URI '/srv-mtc-dev4/vbc' from 9 maps
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/servlets-examples/*'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/jsp-examples/*'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/vbcadmin/*'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/manager/*'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/jkmanager'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/admin/*'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/vbc/*'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/vbc'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_isapi_plugin.c (835):
> Default redirection of /vbc
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (449): Attempting to map URI '/vbc' from 9 maps
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/servlets-examples/*'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/jsp-examples/*'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/vbcadmin/*'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/manager/*'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/jkmanager'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/admin/*'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/vbc/*'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (461): Attempting to map context URI '/vbc'
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_uri_worker_map.c
> (486): Found an exact match ajp13w -> /vbc
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_isapi_plugin.c (845):
> check if [/vbc] is points to the web-inf directory
> [Tue Jan 03 08:24:15 2006] [1444:3060] [debug] jk_isapi_plugin.c (863):
> [/vbc] is a servlet url - should redirect to ajp13w
>
>
>
> Any help would be highly appreicated.
>
> Regards,
> Fredrik Rubensson
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to