Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 52314 invoked from network); 3 Jan 2006 20:07:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jan 2006 20:07:22 -0000 Received: (qmail 88963 invoked by uid 500); 3 Jan 2006 20:07:06 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 88949 invoked by uid 500); 3 Jan 2006 20:07:06 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 88938 invoked by uid 99); 3 Jan 2006 20:07:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2006 12:07:06 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of pulkitsinghal@gmail.com designates 64.233.162.202 as permitted sender) Received: from [64.233.162.202] (HELO zproxy.gmail.com) (64.233.162.202) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2006 12:07:05 -0800 Received: by zproxy.gmail.com with SMTP id m22so2571986nzf for ; Tue, 03 Jan 2006 12:06:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ggX+I2SmvgsZXtr6fsPRnkpQmbXzK+BJjcx15LM199Ew0K92uepB4Wo2TE8G0xZwdSKzegb/dVHUH7qJL/kmqkPwLRHtB7d8wbzce/RhAz/c27eTZYe4VyhSxaykk02wA07pfSJNqon4g4CVBoNGnw+gCKTlTK2+aBrNB9Fk3BY= Received: by 10.64.250.14 with SMTP id x14mr264972qbh; Tue, 03 Jan 2006 12:06:44 -0800 (PST) Received: by 10.64.193.18 with HTTP; Tue, 3 Jan 2006 12:06:43 -0800 (PST) Message-ID: <15dcf8060601031206l55c4c869w651164c0dd37cdb2@mail.gmail.com> Date: Tue, 3 Jan 2006 12:06:43 -0800 From: Pulkit Singhal To: Tomcat Users List Subject: Re: IIS connector (JK-1.2.15) fails to call Tomcat - returns 404 In-Reply-To: <9D1353FB3C471E4F8A402F53B19627FA98EFAA@webmail.mogul.se> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4512_22220599.1136318803995" References: <9D1353FB3C471E4F8A402F53B19627FA98EFAA@webmail.mogul.se> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_4512_22220599.1136318803995 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 log= s 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 serv= e the requests..all by itself ! Cheers, - Pulkit On 1/3/06, Fredrik Rubensson 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=3Dwlb,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=3Dajp13 > worker.ajp13w.host=3Dlocalhost > worker.ajp13w.port=3D8009 > > # > # Defining a load balancer > # > > worker.wlb.type=3Dlb > worker.wlb.balance_workers=3Dajp13w > > # > # Define status worker > # > > worker.jkstatus.type=3Dstatus > > > > 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]=3D[Worker name] > > /vbc=3Dajp13w > /vbc/*=3Dajp13w > /vbcadmin/*=3Dwlb > > /admin/*=3Dwlb > /manager/*=3Dwlb > /jsp-examples/*=3Dwlb > /servlets-examples/*=3Dwlb > > # Optionally filter out all .jpeg files inside that context > # For no mapping the url has to start with exclamation (!) > > !/servlets-examples/*.jpeg=3Dwlb > > # > # Mount jkstatus to /jkmanager > # For production servers you will need to > # secure the access to the /jkmanager url > # > /jkmanager=3Djkstatus > > > > And in Tomcat server.xml the following part is included: > > > > > > enableLookups=3D"false" redirectPort=3D"8443" > protocol=3D"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: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > ------=_Part_4512_22220599.1136318803995--