Miles To Code Before I Sleep

It's all about the code.

Rational Team Concert 3.0 on OS X

Update 4/19/2011: The server zips are back and you no longer have to install on linux and move to OS X.

Rational Team Concert 3.0 is a nice development tool built on Eclipse that runs just fine on Mac OS X even though it’s not officially supported.  This guide will help you install and configure RTC 3.0 on OS X.  The client is very easy to install.  The server used to be easy to install, but some recent changes in the RTC builds has made it much more difficult.  Basically, you install the server on Linux, and transfer it to your OS X box.

Installing RTC 3.0 Server on Linux

Since the RTC Server is no longer available as a zip download, you must install the server on a supported platform such as Linux.  Once the server is installed, you can transfer the content to OS X and it will just work.

  • Fire up a Linux box, Parallels, or VMWare (I use Parallels with Ubuntu)
  • Head over to https://jazz.net/downloads and select Rational Team Concert
  • Select Linux x86-32/64 for your platform and click Download Rational Team Concert
  • After logging and accepting the the terms, RTC-Web-Installer-Linux-3.0.zip will be downloaded
  • Unzip the archive into a folder and run launchpad.sh
  • Uncheck Install in a shared location for multiple users
  • Click Jazz Team Server and CCM Application under Install the Server
  • The Installation Manager will start – login with your jazz.net id and password
  • Click Next
  • Agree to the license and click Next
  • Keep the default directory locations and click Next
  • Keep the default installation directory and click Next
  • Select the desired translations and click Next
  • Click Next
  • Select Not upgrading from previous product release and click Next
  • Click Install
  • After the server is installed, click Finish

Moving RTC Server to OS X

Transfer the contents of the JazzTeamServer directory to OS X.  Here is the method I used:

  • cd ~/IBM
  • zip -r jazz.zip JazzTeamServer
  • Copy jazz.zip to your OS X box (I use a Parallels shared folder)
  • unzip jazz.zip into the directory of your choice (I use /Library)
  • cd JazzTeamServer/server
  • rm -rf jre

Configuring RTC Server

You configure the RTC 3.0 Server as you would for any other platform.  If you are using OS X Server and want to set up LDAP authentication, skip that configuration during the setup.  The setup wizard will not configure it correctly for OS X.  I have instructions below on how to configure the Tomcat JNDI realm by hand below.

  • ./server.startup
  • Point your web browser to https://localhost:9443/jts/setup
  • Login id: ADMIN password: ADMIN
  • Click Next
  • Set the Public URI Root to https://<hostname>:9443/jts (where <hostname> is the hostname of your system)
  • Click Test Connection and then click Next
  • Keep the default Derby database settings and click Next
  • Set up Email Notification as desired and click Next
  • Set up your account and click Next
  • Click Register Applications and click Next
  • Keep the default URI, click Test Connection and click Next
  • Keep the default Derby configuration and click Next
  • Click Finalize Application Setup and click Next
  • Click Finish
  • (Optional) Set up LDAP for use with OS X Server
    • ./server.shutdown
    • edit tomcat/conf/server.xml
    • Disable the database realm
    • Configure the JNDI realm as shown below
    • ./server.startup

<Realm className="org.apache.catalina.realm.JNDIRealm"
    connectionName=""
    connectionURL="ldap://<hostname>:389"
    roleBase="cn=groups,dc=<host>,dc=<domain>,dc=com"
    roleName="cn"
    roleSearch="(memberUid={1})"
    roleSubtree="true"
    userBase="cn=users,dc=<host>,dc=<domain>,dc=com"
    userSearch="(uid={0})"
    userSubtree="true"/>

  • Install your license as you normally would

You should now have a functional server.  If you are using OS X Server, remember that the LDAP groups are case sensitive, so make sure you create a JazzUsers group and not a jazzusers group.

Starting RTC Server on Boot

If you would like the RTC Server automatically started when OS X boots, put the following in /Library/LaunchDaemons/com.ibm.rtc.plist

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>com.ibm.rtc</string>
  <key>OnDemand</key>
  <true/>
  <key>Program</key>
  <string>server.startup</string>
  <key>AbandonProcessGroup</key>
  <true/>
  <key>RunAtLoad</key>
  <true/>
  <key>WorkingDirectory</key>
  <string>/Library/JazzTeamServer/server</string>
</dict>
</plist>

At the command prompt: sudo launchctl load com.ibm.rtc.plist

Installing RTC Client on OS X

Installing the client on OS X is super simple using the P2 repository.

  • From the All Downloads tab on jazz.net, scroll down to the section containing the zips and download the P2 Install Repository
  • unzip the downlaod
  • From the Eclipse IDE, choose Help -> Install New Software …
  • Add the directory to the unzipped P2 repository
  • Check Rational Team Concert and install using the wizard

November 29, 2010 - Posted by | Eclipse

17 Comments »

  1. Great work! I’d like to use RTC build engine toolkit. How to use it, do you know?

    Comment by Hiroki Kondo | November 30, 2010 | Reply

  2. Sorry to ask this question that is vaguely related to your topic. Did you have any issues installing RTC3 Server on Ubuntu. When I try I get the error: /bin/bash: /opt/RTC-Web-Installer-Linux-3.0/im/linux.gtk/x86/install: No such file or directory

    And yes, the file exists and is wide open.

    Comment by John B | December 29, 2010 | Reply

    • I installed RTC 3.0 on Ubuntu running under Parallels without problems. One difference is that I installed as a normal user instead of root which I assume is what you are doing based on your path.

      Comment by bryanhunt | January 2, 2011 | Reply

    • That’s because RTC is 32 bits and your distro is 64Bits.

      Comment by Luis | January 14, 2011 | Reply

  3. Thanks for the instructions! I’ve gotten stuck after copying it over to Mac OS X. When I try running ./server.startup (with or without sudo), I get only

    Using CATALINA_BASE: /Users/shiraeliaser/Norm/JazzTeamServer/server/tomcat
    Using CATALINA_HOME: /Users/shiraeliaser/Norm/JazzTeamServer/server/tomcat
    Using CATALINA_TMPDIR: /Users/shiraeliaser/Norm/JazzTeamServer/server/tomcat/temp
    Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
    Using CLASSPATH: /Users/shiraeliaser/Norm/JazzTeamServer/server/tomcat/bin/bootstrap.jar

    The tomcat/logs/catalina.out shows:

    Error occurred during initialization of VM
    The size of the object heap + VM data exceeds the maximum representable size

    I tried looking for the analogs to what’s shown for older versions of JTS in http://jazz.net/library/article/80, but the MaxPermSize is already 384m, and JRE_HOME is already properly set. There’s no reference to IbmX509 in the server.xml file.

    I’d greatly appreciate any pointers. Thanks!

    Comment by Norman E | April 10, 2011 | Reply

    • I should add that after doing this, I was able to start my Ubuntu installation just fine and log in as ADMIN… Thanks again!

      Comment by Norman E | April 10, 2011 | Reply

    • I don’t recall running into this problem. Are you setting the heap size to something huge? Here is an interesting reference to the error message: http://stackoverflow.com/questions/461260/is-there-a-maximum-number-you-can-set-xmx-to-when-trying-to-increase-jvm-memory

      Comment by Bryan Hunt | April 10, 2011 | Reply

      • Thanks! You’re perfectly on-target.

        The default config had 4000M and using 512M seems to be acceptable. I’m surprised the default was large enough to overwhelm it.

        #JAVA_OPTS=”$JAVA_OPTS -Xmx4000M”
        JAVA_OPTS=”$JAVA_OPTS -Xmx512M”

        —Regards, Norman

        Comment by Norman E | April 10, 2011

  4. Bonus issue:

    I’m now stuck on the spot some of these guys were: http://jazz.net/forums/viewtopic.php?t=14531&sid=38f04e8ab896195e2aa4e50d8da51

    Namely, I can’t get past the “Configure Public URI” step. It won’t let me leave https://localhost:9443/jts and it won’t let me give it something else (like replacing hostname the name of the machine I’m on …or something fake) either.

    Comment by Norman E | April 10, 2011 | Reply

    • I vaguely recall having a similar issue and working around it by experimenting with the wizard until I found some combination of data and “Test Connection” that it was happy with. Sorry I can’t give you a better answer – this is a pretty major hack to get the server working. If all else fails, you can try configuring it on Linux, then copy over all / some of the configuration files in server/conf.

      Comment by Bryan Hunt | April 10, 2011 | Reply

      • If you follow Jason’s example from the jazz forum link I cited, and “skip that step,” by putting a 3 into the URL to skip step 2, you can get through the other steps. I’d been afraid that there was a form post that was required for step 3, but it seems there isn’t.

        Setup brings you back to step 2 at the end, but it seems you can get enough configured to move along and use the server. I’ll see if there are other issues down the line, but for playing in the sandbox, this seems to work!

        Thanks!

        Comment by Norman E | April 11, 2011

  5. Turns out that wasn’t good enough, and I needed to copy over server/conf, which did the trick.

    Thanks again!

    Comment by Norman E | April 12, 2011 | Reply

  6. You’ll be happy to see that the server zips are back in 3.01 milestones. Look under All Downloads->Plain zips. The server zip there now includes the Jazz Team Server and RTC, RQM, and RRC capability. I run these natively on my Mac, no need to install and move.

    Scott Rich (IBM)

    Comment by Scott Rich | April 19, 2011 | Reply

    • Thank you!

      Comment by Bryan Hunt | April 19, 2011 | Reply

    • Can you post a link to the specific zip file for the server? I don’t see it.

      Comment by Brent | July 29, 2011 | Reply

  7. I fail to see a server zip file that I can use on OSX on the 3.0.1 all downloads page https://jazz.net/downloads/rational-team-concert/releases/3.0.1?p=allDownloads

    I see the web installers, installation manager repos, enterprise platform installers, and plain zips clients and tools (no servers). What am I missing?

    Comment by Brent | July 29, 2011 | Reply

    • You might try either of the zips under the Enterprise Platform Installers section. If that doesn’t work, then the zips got pulled from the 3.0.1 release, and you will have to give my instructions above a try.

      Comment by Bryan Hunt | July 29, 2011 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.