Running Tomcat with IIS
The 64-bit version of Microsoft Internet Information Services (IIS) does not load the Apache Tomcat ISAPI filter by default, because the Tomcat filter is designed for 32-bit platforms. Complete the following procedure to run IIS with Tomcat on this platform.
To run Tomcat with IIS on a 64-bit version Windows 2008, or Windows 2012 server
Verify that roles are installed:
- Go to Control Panel > Administrative Tools > Sever Manager > Roles.
- In the Role Service section, under Web server, verify that the following roles are installed:
- ISAPI Filters
- ISAPI Extensions
- CGI
- IIS6 Management Compatibility
- If the roles are not installed, click Add Roles Services link and add the roles.
- Run the BMC Remedy Mid Tier installer with IIS as the web server and Tomcat as the JSP engine.
- Perform the following post-installation tasks:
- Verify that the isapi_redirect.dll is installed at the following location:
<drive>:\apps\Apache Software Foundation\Jakarta Isapi Redirector - Verify that the <drive>:\apps\Apache Software Foundation\Jakarta Isapi Redirector\conf directory contains the following two files, and see if the file type is recognized by Windows:
- workers.properties.minimal
- uriworkermap.properties
Verify that isapi_redirect.properties file exists at the location <drive>:\apps\Apache Software Foundation\Jakarta Isapi Redirector\bin\ and has the following sample contents.
(The snippet uses d:\apps\Apache Software Foundation\Jakarta Isapi Redirector as the installation directory.)
# Configuration file for the Jakarta ISAPI Redirector
# The path to the ISAPI Redirector Extension, relative to the website
# This must be in a virtual directory with execute privileges
extension_uri=/jakarta/isapi_redirect.dll
# Full path to the log file for the ISAPI Redirector
log_file=d:\apps\Apache Software Foundation\Jakarta Isapi Redirector\logs\isapi_redirect.log
# Log level (debug, info, warn, error or trace)
log_level=debug
# Full path to the workers.properties file
worker_file=d:\apps\Apache Software Foundation\Jakarta Isapi Redirector\conf\workers.properties.minimal
# Full path to the uriworkermap.properties file
worker_mount_file=d:\apps\Apache Software Foundation\Jakarta Isapi Redirector\conf\uriworkermap.properties- Create a <drive>:\apps\Apache Software Foundation\Jakarta Isapi Redirector\logs directory.
- In the IIS Manager, select the server node and the click the ISAPI and CGI Restriction icon.
- Verify that jakarta entry with restriction is set to Allowed.
If you do not find the entry, add an entry for jakarta, with a path to the isapi_redirect.dll, and select Allow extension path to execute. - Confirm that a jakarta virtual directory exists under the website pointing to the directory that contains the isapi_redirect.dll file.
- In the Handler Mappings section of this virtual directory, enable the ISAPI-dll handler and give it read, script, and execute permissions; then click the Edit Permission link to give permissions.
- If ISAPI-dll is not present, you must add it:
- Click Add Module Mapping and provide the following details:
- Request path: *.dll
- Module: IsapiModule
- Executable: point to the isapi-redirect.dll
- Name: ISAPI-dll Feature
- Permissions: Read, script, execute
- Click Add Module Mapping and provide the following details:
- Add a filter called jakarta that points to the isapi_redirect.dll found in the <drive>:\apps\Apache Software Foundation\Jakarta Isapi Redirector\bin directory.
- Grant Full Control to everyone on the <drive>:\apps\Apache Software Foundation\Jakarta Isapi Redirector directory.
- Restart the IIS Admin Service.
- Verify that the isapi_redirect.dll is installed at the following location:
- Verify that the 32-bit applications property is disabled.
- In the IIS Manager, expand the server node.
- Click the Application Pool properties (for the AppPool used by the specific website).
- Verify that the Enable 32-bit applications property is set to False.
- Restart the Application Pool.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*