I have (as far as I can tell) an IIS 6.0 server configured to redirect requests to a Tomcat 4.1.24 server. Except it doesn't seem to actually send the forwarded URL to the Tomcat server. The configuration seems to be correct on the IIS server. Here is the isapi.log excerpt -
[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_isapi_plugin.c (1199): Filter started [Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_uri_worker_map.c (682): Attempting to map URI '/192.168.2.74/homeserver/servlet/Home' from 1 maps [Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_uri_worker_map.c (503): Attempting to map context URI '/homeserver/*=homeserver' source 'uriworkermap' [Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_uri_worker_map.c (503): Attempting to map context URI '/homeserver/*=homeserver' source 'uriworkermap' [Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_uri_worker_map.c (516): Found a wildchar match '/homeserver/*=homeserver' [Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_isapi_plugin.c (1277): check if [/homeserver/servlet/Home] points to the web-inf directory [Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_isapi_plugin.c (1294): [/homeserver/servlet/Home] is a servlet url - should redirect to homeserver [Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_isapi_plugin.c (1336): fowarding escaped URI [/homeserver/servlet/Home] Even though the last line in the log says that it is forwarding an uscaped URI nothing seems to actually be forwarded to the Tomcat server. The Tomcat's log files show no activity but I know the ajp13 service is listening because if I telnet to port 8009 on the machine and type junk it appears as a hex dump in the log file. Here are the configuration files on the IIS server - uriworkermap.properties: /homeserver/*=homeserver workers.properties: # Define 1 real worker using ajp13 worker.list=homeserver # Set properties for homeserver (ajp13) worker.homeserver.type=ajp13 worker.homeserver.host=192.168.2.10 worker.homeserver.port=8009 Here is a snippet of catalina.out on the Tomcat server - =================================== Ajp13Connector active threads=6 java.lang.ThreadGroup[name=Ajp13Connector[8009],maxpri=10] Thread[Ajp13Connector[8009],5,Ajp13Connector[8009]] Thread[Ajp13Processor[8009][0],5,Ajp13Connector[8009]] Thread[Ajp13Processor[8009][1],5,Ajp13Connector[8009]] Thread[Ajp13Processor[8009][2],5,Ajp13Connector[8009]] Thread[Ajp13Processor[8009][3],5,Ajp13Connector[8009]] Thread[Ajp13Processor[8009][4],5,Ajp13Connector[8009]] =================================== And here is the server.xml on the Tomcat server - <Server port="8005" shutdown="SHUTDOWN" debug="0"> <Service name="Tomcat-Standalone"> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8080" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" useURIValidationHack="false" disableUploadTimeout="true" /> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8009" minProcessors="5" maxProcessors="75" acceptCount="10" debug="2"/> <Engine name="Standalone" defaultHost="localhost" debug="0"> <Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/> <Realm className="org.apache.catalina.realm.MemoryRealm" /> <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/> </Host> </Engine> </Service> </Server> So it looks to me like everything is running except for some reason the forwarded URI never makes it to the Tomcat server. All I get is "page not found" errors when I try using a browser. Any help to get this working would be greatly appreciated since I'm trying to move off of a dying linux box. Thanks - Mike