James configuration if Git is on a separate server

You must set the JAMES_ACCEPTED_RELAYS token with the TeamForge domain name, Git domain name and Git Server's host name if you want Git notification emails to be sent to the TeamForge Application Server.

See JAMES_ACCEPTED_RELAYS for more information.
  1. Log on to the TeamForge Application Server and do this.
    1. Stop the collabnet service.
      • /etc/init.d/collabnet stop
    2. Edit the site-options.conf file. Update the JAMES_ACCEPTED_RELAYS site-options token with TeamForge domain name, Git domain name and Git Server's host name.
      • vi /opt/collabnet/teamforge/etc/site-options.conf
      JAMES_ACCEPTED_RELAYS=127.0.0.1,<APP_DOMAIN_NAME>,<GIT_DOMAIN_NAME>,<GIT_SERVER_HOSTNAME>
    3. Recreate the runtime environment.
      • /opt/collabnet/teamforge/installer/install.sh
    4. Start the collabnet service.
      • /etc/init.d/collabnet start
  2. Log on to the Git Server and do this.
    1. Copy the site-options.conf file from the TeamForge Application Server to the Git Server.
    2. Set the GERRIT_SMTP_SERVER token with the TeamForge domain name.
      • GERRIT_SMTP_SERVER=<APP_DOMAIN_NAME>
    3. Recreate the runtime environment.
      • /opt/collabnet/teamforge/installer/install.sh
    4. Restart Gerrit.
      • /etc/init.d/collabnet stop gerrit
      • /etc/init.d/collabnet start gerrit