Documentation for JIRA 4.2. Documentation for other versions of JIRA is available too. 
![]()
The content on this page relates to platforms which are not supported by JIRA. Consequently, Atlassian can not guarantee providing any support for it. Please be aware that this material is provided for your information only and using it is done so at your own risk.
This page describes how to configure Microsoft's IIS web server and JIRA such that IIS forwards requests on to JIRA, and responses back to the user. This is useful if you already have IIS running serving web pages (e.g. http://mycompany.com), and wish to integrate JIRA as just another URL (e.g. http://mycompany.com/jira).
JIRA is written in Java, and needs a Java Application Server (servlet container) to run. As IIS does not provide services of a Java Application Server, it is not possible to deploy JIRA directly into IIS. It is possible, however, to configure IIS to proxy requests for JIRA to an application server where JIRA is deployed. Therefore, if your main website is running in IIS, it is possible to integrate JIRA into this website.
If you need to integrate JIRA with IIS, JIRA needs to be deployed into a Java Application Server that provides IIS integration capability. Apache Tomcat is one of these application servers. The Standalone distribution of JIRA ships with Apache Tomcat, so if you are using the Standalone distribution or have deployed JIRA WAR into your own Tomcat instance, please follow this document.
If you are not using the Standalone distribution or Apache Tomcat, please consult your application server's documentation to determine whether it is possible to integrate with IIS and how to achieve it.
To integrate JIRA Standalone with IIS you will need to:
www.example.com in IIS, and you would like to make JIRA available under www.example.com/jira, you will need to set JIRA's context path to "/jira" in Tomcat.conf/server.xml file (if you are using JIRA Standalone) or the jira.xml file (if you are using the EAR-WAR distribution of JIRA). Change the path attribute of the Context element to "/jira". For example, in JIRA Standalone 3.3 and later the Context element would look like:
<Context path="/jira" docBase="${catalina.home}/atlassian-jira"
swallowOutput="true" reloadable="false">
conf/server.xml file and ensure that the AJP/1.3 Connector is enabled (i.e. not commented out).To enable the AJP/1.3 Connector in JIRA Standalone, Tomcat 5.5.x or Tomcat 5.0.x, remove the comment symbols (<!- and ->) around the following section in the conf/server.xml file:
<Connector port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
conf/server.xml file looks like:
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="0"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
8009. If this port is already in use on the machine where JIRA is running, please change to another port.netstat -na" command in the command window and see if port 8009 is listed in the output:
On the machine where IIS is deployed:
The file to download is named isapi_redirect_X.X.X.dll, where 'X.X.X' is the version number. You will need to remove the version number from the DLL file (i.e. it needs to be named isapi_redirect.dll).
C:\tomcat_iis_connector. Place the isapi_redirect.dll in this directory. Then download the isapi_redirect.properties file and place this in the same directory as the isapi_redirect.dll file.C:\tomcat_iis_connector\conf). Download the files uriworkermap.properties and workers.properties.minimal and place them in the C:\tomcat_iis_connector\conf directory.C:\tomcat_iis_connector\logs). This is where the logs associated with the isapi_redirect.dll execution will be placed.C:\tomcat_iis_connector" directory you may need to modify the isapi_redirect.properties file. The isapi_redirect.properties file tells the connector where to find its configuration files and where the DLL can be found in relation to the IIS server. There are 5 properties in this file:
workers.properties.minimal file in your installationuriworkermap.propertiesl file in your installation.C:\tomcat_iis_connector and you follow the instructions below about setting up the virtual directory for the isapi_redirect.dll, then you should not have to change any properties in the provided file.C:\tomcat_iis_connector\conf" directory you may need to modify the uriworkermap.properties and the workers.properties.minimal files.
The provided files contain the changes mentioned here and should work if you completely follow this document. If you have deviated from this document, then you will need to modify these files as described below.
workers.properties.minimal file tells IIS where (IP address and port) Tomcat is running. The uriworkermap.properties tells IIS what requests to proxy to Tomcat.uriworkermap.properties and ensure that it contains the following mapping for JIRA. You do not need any other mappings.
/jira/*=worker1
The mapping (e.g. /jira/) *must be the same as the context path that JIRA has been deployed with in Tomcat as described in the Configure JIRA section of this document.
workers.properties.minimal file and modify the worker.ajp13w.host property if necessary. This property should be set to the host name or the IP address of the machine where Tomcat (with JIRA) is running. If Tomcat is running on the same machine as IIS then you can leave the property set to localhost. If you have specified a host name as the value of this property, please ensure that the IIS machine can correctly resolve it to the appropriate IP address.worker.ajp13w.port property. Here is an example of the file with Tomcat running on the same machine as IIS and using the default port (8009) for AJP:
worker.list=worker1 # # Defining a worker named worker1 and of type ajp13. # Note that the name and the type do not have to match. # worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8009
isapi_redirect.dll file and that it is in the right location. If not, click Add and create one. Enter tomcat as the Filter Name and enter the location of the isapi_redirect.dll file for the executable.isapi_redirect.dll file and that it is in the right location. If not, click Add and create one. Enter tomcat as the Filter Name and enter the location of the isapi_redirect.dll file.alias as the value of the Context Path (without slashes) that was set in the Configure JIRA section of this document (see above). In our example this is jira .The reason for creating a virtual directory is so that requests without the trailing slash still work. For example, if you are deploying JIRA under http://www.example.com/jira/ without the virtual directory, then requests to http://www.example.com/jira will fail.
alias to be jakarta .C:\tomcat_iis_connector.alias to be jakarta .C:\tomcat_iis_connector.This Virtual Directory is needed for the connector to work. The alias that you give the directory needs to be the same as the path set in the isapi_redirect.properties file, extension_uri property. In our example this value is: /jakarta/isapi_redirect.dll.
tomcat for the Extension Name and then add the isapi_redirect.dll file to the required files.http://www.example.com and you have deployed JIRA with the context path of jira, point your browser at http://www.example.com/jira.
You can configure IIS so that it forwards requests to both JIRA and Confluence.
The following instructions describe how to forward from IIS to separate instances of JIRA and Confluence, running in separate Tomcat servers. The instructions assume that you have already set up IIS to forward to JIRA as described in section 3 above. The instructions also assume that you have already installed Confluence as per the Confluence Installation Guide.
The instructions describe how to make JIRA available under www.example.com/jira as described above, and Confluence available under www.example.com/confluence.
conf/server.xml file (if you are using Confluence Standalone) or the jira.xml file (if you are using the EAR-WAR distribution of Confluence). At the top of the file, change the port attribute of the Server element to a different port to the value for JIRA. For example, change it from 8005 to 8006.Server element, Change the port attribute of the Connector sub-element to a different port to the value for JIRA. For example, change it from 8080 to 8090 .conf/server.xml file (if you are using Confluence Standalone) or the jira.xml file (if you are using the EAR-WAR distribution of Confluence). Change the path attribute of the Context element to "/confluence".conf/server.xml or jira.xml file and change the port attribute to a value different to the value for JIRA. For example, change it from 8009 to 8010.uriworkermap.properties file and add the following mapping:
/confluence/*=worker2
/jira/*=worker1
/confluence/*=worker2
workers.properties.minimal file:worker.list to the following:
worker.list=worker1,worker2
8010 ):
worker.worker2.type=ajp13
worker.worker2.host=localhost
worker.worker2.port=8010
workers.properties.minimal file should now look like the following:
worker.list=worker1,worker2
#
# Defining a worker named worker1 and of type ajp13.
# Note that the name and the type do not have to match.
#
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker2.type=ajp13
worker.worker2.host=localhost
worker.worker2.port=8010
alias to confluence. It can point to any directory.www.example.com/confluence, and JIRA should still be available under www.example.com/jira.
jira virtual directory in IIS. It will be set to that if you have followed the above instructions.To check this:
jira virtual directory and choose 'Properties'.Application Pools > Advanced Settings > Allow 32bit applications.