Configuring Tomcat

Edit the configuration/oslc-connect-jira.xml file and replace the placeholder values with your actual configuration. Details about context parameters are found in Configuring Broker.

Copy the configuration file to Tomcat: $CATALINA_BASE/conf/Catalina/localhost/oslc-connect-jira.xml

Configure Tomcat Environment

The broker requires a minimum of 512M of initial memory (Xms) and 2Gb of runtime memory (Xmx). These can be configured in the setenv.sh (Linux/macOS) or setenv.bat (Windows) files.

If $CATALINA_BASE/bin/setenv.sh (or setenv.bat) does not exist, copy it to $CATALINA_BASE/bin/

If the setenv file already exists: Merge the content from the provided file to your existing one.

Configure HTTPS

HTTPS is required for communication with Jira Cloud. See Tomcat documentation to configure HTTPS.

Your $CATALINA_BASE/conf/server.xml will somehow look like:

<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
           maxThreads="150" SSLEnabled="true">
    <SSLHostConfig>
        <Certificate certificateKeystoreFile="conf/keystore.jks"
                     certificateKeystorePassword="your_password"
                     type="RSA" />
    </SSLHostConfig>
</Connector>