Hi John, Yes the filter shows a green arrow! I need the filter only on one virtual host. SO I've added the filter there. The virtuel directory is named "jakarta" and has Execute Permissions: "Scripts and Executables". The local Path is fixed to the position of the filter DLL and got the permission Read.
Ok? Mit freundlichem Gruß S e b a s t i a n L e p p e r t _____________________________________________________ Elements of Arts GmbH & Co. KG http://www.eoa.de An der Eickesmuehle 37 41238 Moenchengladbach fon: +49 (2166) 91567-89 fax: +49 (2166) 91567-99 -----Ursprüngliche Nachricht----- Von: Turner, John [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 11. Juli 2002 14:50 An: 'Tomcat Users List' Betreff: RE: Problem with "Jakarta IIS Redirector" If you are using virtual hosts, you need a "jakarta" virtual directory for each virtual host, but you can only have ONE filter...in other words, do not add the redirector as a filter for each virtual host. You only need the filter once. What is the status of the filter? Is it showing a green arrow? John Turner [EMAIL PROTECTED] -----Original Message----- From: Sebastian Leppert [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 8:42 AM To: [EMAIL PROTECTED] Subject: Problem with "Jakarta IIS Redirector" Hi everybody, I've just installed a new Webserver with IIS5.0 and now would like to add support to Servlets and JSP on that Server (all operations should go through the IIS). I've followed the HowTo at: http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/ Everything is fine (I can use the JSPs with :8080-extension in the URL, but when I try to use it with the Redirector over ajp13 there is an HTTP 500 error. Then I've set the Redirect Loglevel to "debug" und the Request looks like this: ------- [Thu Jul 11 14:31:36 2002] [jk_isapi_plugin.c (657)]: HttpFilterProc started [Thu Jul 11 14:31:36 2002] [jk_isapi_plugin.c (705)]: In HttpFilterProc Virtual Host redirection of /193.99.41.111/index.jsp [Thu Jul 11 14:31:36 2002] [jk_uri_worker_map.c (447)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Jul 11 14:31:36 2002] [jk_uri_worker_map.c (464)]: Attempting to map URI '/193.99.41.111/index.jsp' [Thu Jul 11 14:31:36 2002] [jk_uri_worker_map.c (489)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -> /193.99.41.111/ [Thu Jul 11 14:31:36 2002] [jk_isapi_plugin.c (721)]: HttpFilterProc [/index.jsp] is a servlet url - should redirect to ajp13 [Thu Jul 11 14:31:36 2002] [jk_isapi_plugin.c (784)]: HttpFilterProc check if [/index.jsp] is points to the web-inf directory ---- So, in my opinion the Redirector operates fine! The next question is about the worker.properties: ---- #------ DEFAULT worket list ------------------------------------------ #--------------------------------------------------------------------- # # # The workers that your plugins should create and work with # # Add 'inprocess' if you want JNI connector worker.list=ajp12, ajp13 # , inprocess # #------ DEFAULT ajp12 WORKER DEFINITION ------------------------------ #--------------------------------------------------------------------- # # # Defining a worker named ajp12 and of type ajp12 # Note that the name and the type do not have to match. # worker.ajp12.port=8007 worker.ajp12.host=localhost worker.ajp12.type=ajp12 # # 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.ajp12.lbfactor=1 # #------ DEFAULT ajp13 WORKER DEFINITION ------------------------------ #--------------------------------------------------------------------- # # # Defining a worker named ajp13 and of type ajp13 # Note that the name and the type do not have to match. # worker.ajp13.port=8009 worker.ajp13.host=localhost 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 ----- Seems to me very well, too! So, habe a look at the uriworkermap.properties: ------ # # Default worker to be used through our mappings # default.worker=ajp13 # # Sites to be redirected to Tomcat # /193.99.41.1=$(default.worker) /193.99.41.1/*=$(default.worker) ----- IP is not the real one :) My ROOT-Directory for my Testwebsite (with an index.jsp in it) is on: d:\webs\ingcom.de\data So I put the following <HOST>-Part into server.xml: ------ <Host name="193.99.41.1" reloadable="true" unpackWARs="true"> <Context path="" docBase="D:\webs\ingcom.de\data" crossContext="false" debug="0" reloadable="true" /> <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="test.de." suffix=".log" timestamp="true"/> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="test.de.access." suffix=".log" pattern="common"/> </Host> ----- What is wrong? Why can I get over Port 8080 with the HTTP-Connector the JSP Page and the the ajp13-Connector I get nothing????? Kind regards :) S e b a s t i a n L e p p e r t -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
smime.p7s
Description: application/pkcs7-signature