Hi All I am trying to configure IIS5 with tomcat5.0.28. My tomcat works fine. I have tested IIS http://localhost/ <http://localhost/> it shows the IIS page fine. However if I try to access jsp-examples http://localhost:8080/jsp-examples/jsp2/el/basic-arithmetic.jsp <http://localhost:8080/jsp-examples/jsp2/el/basic-arithmetic.jsp> is fine however http://localhost/jsp-examples/jsp2/el/basic-arithmetic.jsp <http://localhost/jsp-examples/jsp2/el/basic-arithmetic.jsp> throws page cannot be found error Here is what I did
Downloaded isapi_redirect-1.2.8.dll is for IIS 5 and later Web Server. Rename to isapi_redirect.dll 1. Default Website properties (In internet information services) in the isapi filters tab, I have green arrow. Properties (Fileter name: tomcat executable:C:\Tomcat 5.0.28\conf\isapi_redirect.dll) 2.In server.xml added this entry <Connector className="org.apache.coyote.tomcat5.CoyoteConnector" port="8009" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000" useURIValidationHack="false" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/> 3.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=testWorker # # Defining a worker named ajp13w and of type ajp13 # Note that the name and the type do not have to match. # worker.testWorker.port=8009 worker.testWorker.host=localhost worker.testWorker.type=ajp13 4.uriworkmap.properties /jsp-examples/*=testWorker /jsp-examples/*.jsp=testWorker /jsp-examples/servlet/*=testWorker 5.jk2.properties ## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED ## WHEN YOU EDIT THE FILE. ## COMMENTS WILL BE _LOST_ ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc. # Set the desired handler list # handler.list=apr,request,channelJni # # Override the default port for the socketChannel # channelSocket.port=8019 # Default: # channelUnix.file=${jkHome}/work/jk2.socket # Just to check if the the config is working # shm.file=${jkHome}/work/jk2.shm # In order to enable jni use any channelJni directive # channelJni.disabled = 0 # And one of the following directives: # apr.jniModeSo=/opt/apache2/modules/mod_jk2.so # If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 # apr.jniModeSo=inprocess 6.jk_iis.log [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS >= 5.0 [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] HttpFilterProc::jk_isapi_plugin.c (687): Filter started [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection of /localhost/jsp-examples/jsp2/el/basic-arithmetic.jsp [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/localhost/jsp-examples/jsp2/el/basic-arithmetic.jsp' from 3 maps [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp-examples/servlet/*' [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp-examples/*' [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp-examples/*.jsp' [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] HttpFilterProc::jk_isapi_plugin.c (760): Default redirection of /jsp-examples/jsp2/el/basic-arithmetic.jsp [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/jsp-examples/jsp2/el/basic-arithmetic.jsp' from 3 maps [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp-examples/servlet/*' [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp-examples/*' [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] map_uri_to_worker::jk_uri_worker_map.c (755): Found a context match testWorker -> /jsp-examples/ [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI '/jsp-examples/*.jsp' [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] map_uri_to_worker::jk_uri_worker_map.c (808): Found a suffix match testWorker -> *.jsp [Fri Feb 11 06:13:22 2005] [2864:2668] [debug] HttpFilterProc::jk_isapi_plugin.c (770): check if [/jsp-examples/jsp2/el/basic-arithmetic.jsp] is points to the web-inf directory [Fri Fe