This article describes how to enable IIS integration with Tomcat. This will allow users of FootPrints Service Core 12.XX - 20.XX to browse to the IIS server instead of browsing directly to the FootPrints Service Core Tomcat server. The IIS integration will forward all FootPrints Service Core requests to the Tomcat server. Additionally, integrating the Web Server and Tomcat, is a required step prior to enabling Web Server Authentication in FootPrints Service Core 12, if that is a desired Authentication method. NOTE 1: These instructions apply to integrating IIS with Tomcat in a Windows environment where IIS and Tomcat is on the same server NOTE 2: If after having integrated IIS and Tomcat, and enabling Web Server Authentication in FootPrints, if HTTP Error 403.14 - Forbidden - The Web Server is configured to not list the contents of this directory errors are seen when attempting to access FootPrints in a browser, select the Application Pool in IIS which will be used, and select the Advanced Settings for the pool. Change the setting "Enable 32-Bit Applications" to "False", and restart IIS. The error should no longer be seen and Footprints should be accessible via Web Server authentication. 1. Once logged into your server, open IIS Manager. You can do this by clicking your Windows Start button and entering "inetmgr" into the search box. Then press enter.
2. On the Connections pane, expand the server node and click "Application Pools." 3. Right click on your application pool and select "Advanced Settings..." 4. Change "Enable 32-bit Application to False." ***Additionally, these steps must be performed with full Administrator privileges.*** Note 3: Please make sure that application pool identity is set to Local System to avoid any permission related errors Note 4 : After upgrading tomcat to latest version The following error can be seen in the Apache Tomcat catalina log file "The AJP Connector is configured with secretRequired="true" but the secret attribute is either null or " To fix the issue you need to
For example:
<Connector port="8009" protocol="AJP/1.3" secretRequired="false" packetSize="65536" tomcatAuthentication="false" URIEncoding="UTF-8"/>
Note 5: After upgrading tomcat to latest version ,Tomcat may throw 403 error. To fix the issue
For example:
<Connector port="8009" protocol="AJP/1.3" secretRequired="false" packetSize="65536" tomcatAuthentication="false" URIEncoding="UTF-8" allowedRequestAttributesPattern=".*"/>
|
NOTE: If the intention of integrating IIS with Tomcat is to be able to use Web Server Authentication in FootPrints, the WebDAV extension must not be installed as it is known to cause Server Error: Method Not Allowed errors when saving tickets and other items.
C:\isapi
NOTE: When creating the text files below, be sure the files are named exactly as specified below (WITHOUT the ".txt" extension). Additionally, it is recommended to disable "Hide File Extensions for known file types", for the folders in the event that when the file is named incorrectly, the file will be immediately seen and the filename corrected.
workers.properties
See the NOTE immediately above step 5.
worker.list=servicecore worker.servicecore.host=localhost worker.servicecore.port=8009 worker.servicecore.type=ajp13 worker.servicecore.max_packet_size=65536
See the NOTE immediately above step 5.
uriworkermap.properties
Note: If you had configured Tomcat to serve Footprints on a site other than the default /footprints/servicedesk/ directory, please adjust the value below.
/footprints/servicedesk/*=servicecore
See the NOTE immediately above step 5.
isapi_redirect.properties
Note: If you had configured Tomcat to serve Footprints on a site other than the default /footprints/servicedesk/ directory, please adjust the extension_uri value below.
extension_uri=/footprints/servicedesk/isapi_redirect.dll log_file=$(JKISAPI_PATH)\..\logs\$(JKISAPI_NAME).log log_level=info worker_file=C:\isapi\workers.properties worker_mount_file=C:\isapi\uriworkermap.properties
If it is desired to enable Web Server Authentication, see the article for enabling Web Server Authentication in FootPrints Service Core 12.
|