
However, you should be very careful when you implement the following configuration style, because by doing so you are With IIS there is no need to serve them from the Tomcat process. requests to JSP pages and java servlets).įor example, consider the html and gif files in the examples context: you could serve these files directly Tomcat somewhat, by using it only to process requests that only Tomcat can handle (e.g. Allowing IIS to serve such files directly mayĪvoid the small overhead consisting of passing the request to Tomcat via the redirector, and may free up It might sometimes be desirable to have IIS serve static content (html, gif, jpeg etc.) directly,Įven if these files are part of a context served by Tomcat. If your webiste is very busy (more than 100 requests/second, or more than 100 simultaneous client connections), If this does not work successfully, refer to the Troubleshooting section below for help on correcting the problem. Try for example and execute some of the Servlet or JSP examples. That's all, you should now start Tomcat and ask IIS to serve you the /examplesĬontext. Restart IIS (stop + start the IIS service).

tomcat) and select the AllowĮxtension path to execute and then click OK. Isapi_redirect.dll, add a descripion (e.g. Select your server (not the web site) and then double-click on ISAPIĪnd CGI Restrictions. Still using the IIS management console, configure the ISAPI redirector asĪllowed. For the filter name use tomcatĪnd the executable should be the full path to isapi_redirect.dll. Select your web site and then double-click ISAPI Filters.įrom the action pane, click Add. Click OK and ISAPI-dll should now be inĪgain using the IIS management console, add the ISAPI redirector as a filter to In the dialog box that opens, select Execute so all three ISAPI-dll entry and then click Edit Feature Permissions in theĪction pane. Select the newly created virtual directory in the management console and thenĭouble-click Handler Mappings. Its physical path should be theĭirectory where you placed isapi_redirect.dll. In a clean install, this will be the Default Web Site.

Using the IIS management console, add a new virtual directory to your IIS web
