Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 39277 invoked from network); 4 Apr 2005 13:20:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Apr 2005 13:20:36 -0000 Received: (qmail 5597 invoked by uid 500); 4 Apr 2005 13:19:59 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 5560 invoked by uid 500); 4 Apr 2005 13:19:58 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 5529 invoked by uid 99); 4 Apr 2005 13:19:58 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp1.hugsmidjan.is (HELO smtp1.hugsmidjan.is) (62.145.136.163) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 04 Apr 2005 06:19:58 -0700 Received: from [192.168.100.12] ([192.168.100.12]) (authenticated bits=0) by smtp1.hugsmidjan.is (8.12.10/8.12.10) with ESMTP id j34DJqJ9014499 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 4 Apr 2005 13:19:54 GMT Message-ID: <42513F6A.6070705@hugsmidjan.is> Date: Mon, 04 Apr 2005 13:21:46 +0000 From: reynir User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: ==> Isapi redirector Installation problem betweeen IIs and Tomcat References: <42513D92.5080304@hugsmidjan.is> In-Reply-To: <42513D92.5080304@hugsmidjan.is> X-Enigmail-Version: 0.90.1.1 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.43 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ok sorry I saw it down at the bottom of your email. I wrote directions on how to install this kind of setup few days ago : http://www.reynir.net/java/greinar/nr/52 check it out, it works fine. -reynir reynir wrote: >what version of IIS / tomcat / isapi_redirector are you using ? >-reynir > >samuel.goblet@cigma.asso.fr wrote: > > > >>Hi, >> >>I'm looking for some help. Thanx in advance. >> >>When I make a request to IIS for JSP file, I've got an error message and >>in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc >>[/admin/index.jsp] is not a servlet url >> >>************************************************************** >>The complete description follow from the windows log >>And my installation process : >>************************************************************** >>04/04/2005,14:18:03,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]: >>HttpFilterProc check if [/Jakarta/isapi_redirector2.dll] is pointing to >>the web-inf directory >>04/04/2005,14:18:03,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]: >>HttpFilterProc [/Jakarta/isapi_redirector2.dll] is not a servlet url >>04/04/2005,14:18:03,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In >>HttpFilterProc Virtual Host redirection of s0058 : 80 >>04/04/2005,14:18:03,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]: >>HttpFilterProc started >>04/04/2005,14:18:03,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]: >>HttpFilterProc check if [/jsp-examples/jsp2/el/basic-comparisons.jsp] is >>pointing to the web-inf directory >>04/04/2005,14:18:03,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (340)]: >>HttpFilterProc [/jsp-examples/jsp2/el/basic-comparisons.jsp] is a servlet >>url - should redirect to lb >>04/04/2005,14:18:03,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In >>HttpFilterProc Virtual Host redirection of s0058 : 80 >>04/04/2005,14:18:03,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]: >>HttpFilterProc started >>04/04/2005,14:17:47,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]: >>HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf >>directory >>04/04/2005,14:17:47,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]: >>HttpFilterProc [/admin/index.jsp] is not a servlet url >>04/04/2005,14:17:47,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In >>HttpFilterProc Virtual Host redirection of s0058 : 80 >>04/04/2005,14:17:47,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]: >>HttpFilterProc started >>04/04/2005,14:17:47,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (429)]: >>HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf >>directory >>04/04/2005,14:17:47,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (420)]: >>HttpFilterProc [/admin/index.jsp] is not a servlet url >>04/04/2005,14:17:47,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (308)]: In >>HttpFilterProc Virtual Host redirection of s0058 : 80 >>04/04/2005,14:17:47,Apache Jakarta >>Connector2,Aucun,Aucun,4,N/A,S0058,Debug: [jk_isapi_plugin.c (252)]: >>HttpFilterProc started >> >> >> >> >>*** SOFT RELEASE *** >>My server : Windows server 2003 >>My Web server : IIS 6.0 >>My Tomcat server : 5.0.28 >>My JDK : JDK 1.4.2 >>My redirector : JK2 >> >>*** MY ACTIONS *** >>************************************************************** >>* ==> 1 - Tests IIs and Tomcat without the connector : >>************************************************************** >>open url : http://localhost => IIs respond good >>open url : http://localhost:8080/ and >>http://localhost:8080/jsp-examplessample, works good >>************************************************************** >>* ==> 2 - Configuring the connector in tomcat's server.xml : >>************************************************************** >> >> > debug="0"/> >> >className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" >> debug="0"/> >> >> >> >> >> >> >> >> > type="org.apache.catalina.UserDatabase" >> description="User database that can be updated and saved"> >> >> >> >> factory >> org.apache.catalina.users.MemoryUserDatabaseFactory >> >> >> pathname >> conf/tomcat-users.xml >> >> >> >> >> >> >> >> >> > maxThreads="150" >> minSpareThreads="25" >> maxSpareThreads="75" >> enableLookups="false" >> redirectPort="8443" >> acceptCount="100" >> debug="9" >> connectionTimeout="20000" >> disableUploadTimeout="true" /> >> >> >> >> >> >> > prefix="catalina_log." >> suffix=".txt" >> timestamp="true"/> >> >> >> >> > debug="0" >> resourceName="UserDatabase"/> >> >> > unpackWARs="true" autoDeploy="true" >> xmlValidation="false" xmlNamespaceAware="false"> >> >> > directory="logs" >> prefix="localhost_log." >> suffix=".txt" >> timestamp="true"/> >> >> >>************************************************************** >>* ==> 3 - Installing the Isapi filter : >>************************************************************** >>I copy the file in ht directory : >>c:\Tomcat5\bin\win32\i386\isapi_redirector2.dll >> >>where CATALINA_HOME = c:\Tomcat5 >>************************************************************** >>* ==> 4 - Uddating the windows registry for ISAPI filter : >>************************************************************** >>[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi >>Redirector\2.0] >>"serverRoot"="C:\\Tomcat5\\" >>"extensionUri"="/jakarta/isapi_redirector2.dll" >>"workersFile"="C:\\Tomcat5\\conf\\workers2.properties" >>"logLevel"="DEBUG" >> >>************************************************************** >>* ==> 5 - Configuring Tomcat Workers (Workers2.properties file) >>************************************************************** >># Setup the windows application logging for the ISAPI filter >>[logger.win32] >>level=DEBUG >> >># Defines a load balancer named lb. Use even if you only have one machine. >>[lb:lb] >> >># communication channel settings >>[channel.socket:localhost:8009] >>host=localhost >>port=8009 >> >># SHared Memory file settings >>[shm] >>file=C:/Tomcat5/conf/jk2.shm >>size=1000000 >> >># Declare a Tomcat worker and assign it the above declared communication >>channel. >>[ajp13:localhost:8009] >>channel=channel.socket:localhost:8009 >>group=lb >> >># URI mappings for jsp-examples web application context >># Requests for any web component(indicated by the wild card *) are >>dispatched to >># Tomcat. >>[uri:/jsp-examples/*] >>info= Mapping for jsp-examples context of tomcat >>group=lb >> >>************************************************************** >>* ==> 6 - configuring the jk2.properties >>************************************************************** >> >>channelSocket.address=localhost >>channelSocket.port=8009 >>shm.file=C:/Tomcat5/conf/jk2.shm >> >>************************************************************** >>* ==> Creating virtual directory under IIS >>************************************************************** >>Every thing indicates it's ok : green arrow, and the virtual directory is >>called : "jakarta" >> >>************************************************************** >>* ==> Adding the ISAPI filter to IIS >>************************************************************** >>With the Allow green flag >> >> >> >> >> >> >> >> >> >>Thanx for any help, links etc... >> >>Best regards >> >> >> >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org