Archive for the ‘Rational Team Concert’ Category

RQM on 64bit Ubuntu

Sunday, February 7th, 2010

I installed IBM Rational Quality Manager 2.0.0.1 on the same machine as I installed Rational Requirements Composer before. Some steps from installation tips may be needed.

The official product documentation does not give the exact DB2 command line command. If you use the command from RTC manual, the table creation will fail. This is caused by the pagesize being too small. Use this command to create the database instead:

db2 create database RQM using codeset UTF-8 territory en PAGESIZE 16384

RRC on 64bit Ubuntu

Saturday, February 6th, 2010

Another post, where the main audience is me :)

Installation

To install IBM Rational Requirements Composer 2.0.0.1 on 64bit Linux, you need 32bit libraries installed. Strange error message is displayed otherwise when trying to run the installer:

root@rtc:/opt/rrc-install/RRCS_SETUP/InstallerImage_linux# ./install
bash: ./install: No such file or directory

To install the needed libraries run:

apt-get install ia32-libs

The installation should run successfully after this.

Startup

RRC needs swt-gtk to run. Install it by:

apt-get install libswt-gtk-3.4-jni

In addition, RRC needs a X screen to start. There is an IBM Technote with solution for RHEL and Suse. To install Xvfb on Ubuntu do:

apt-get install xvfb

The rest of the procedure (starting the server) is the same as on RHEL or SLES (see the technote).

The server is started by server.startup. This script has to be called from its directory – you need to cd first. The init script can look for example like this:

#!/bin/bash
#
# rrc        Startup script for the RRC
#
# chkconfig: - 90 16
# description: Rational Requirements composer  \
# processname: java
# pidfile: /var/run/rrc.pid
#

prog=rrc
pidfile=${PIDFILE-/var/run/rrc.pid}
lockfile=${LOCKFILE-/var/lock/rrc}
rrchome=/opt/rrc/server
RETVAL=0

start() {
        echo -n $"Starting $prog: "
        # export GTK_PATH=/usr/lib32/gtk-2.0
        Xvfb :1 -screen 0 800x600x24&
        cd ${rrchome}
        DISPLAY=localhost:1.0 ./server.startup
        RETVAL=$?
        echo
        [ $RETVAL = 0 ] && touch ${lockfile}
        return $RETVAL
}

stop() {
        echo -n $"Stopping $prog: "
        ${rrchome}/server.shutdown
        RETVAL=$?
        killall Xvfb
        echo
        [ $RETVAL = 0 ] && rm -f ${lockfile} ${pidfile}
}

# See how we were called.
case "$1" in
  start)
        start
        ;;
  stop)
        stop
        ;;
  status)
        status $prog
        RETVAL=$?
        ;;
  restart)
        stop
        start
        ;;
  *)
        echo $"Usage: $prog {start|stop|restart}"
        RETVAL=3
esac

exit $RETVAL

OS details: Ubuntu 9.04, Server edition, 64bit

RTC 2.0 on Ubuntu

Saturday, October 31st, 2009

Environment

  • RTC Server version: 2.0.0.1
  • OS: Ubuntu 9.04, 64bit. Server edition
  • HW: VMWare guest, 64bit, 1GB RAM

Problem

Installation of Rational Team Concert is in general as easy as unzipping the downloaded archive. I did this recently on Ubuntu 9.04 64bit, server edition. Later I have encountered errors when generating any report (for example Floating License Report). I got this message:

CREATE_EXTENSION_FAIL ( 1 time(s) )
 detail : org.eclipse.birt.report.engine.api.EngineException: CREATE_EXTENSION_FAIL
 at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1121)
 ....

The post at jazz.net forums suggested, that there are missing libraries required by file */jazz/server/jre/bin/­libfontmanager­.so You can find out which libraries are missing by running

ldd jazz/server/jre/bin/­libfontmanager­.so

My output was:

linux-vdso.so.1 =>  (0x00007fff5efad000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fc04eed9000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fc04ecbd000)
libwrappers.so => not found
libawt.so => not found
libstdc++.so.5 => not found
libm.so.6 => /lib/libm.so.6 (0x00007fc04ea36000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fc04e72f000)
libc.so.6 => /lib/libc.so.6 (0x00007fc04e3bd000)
/lib64/ld-linux-x86-64.so.2 (0x00007fc04f26f000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fc04e1a0000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fc04df9d000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fc04dd98000)

Solution

The system library that was missing in my system (using default installation of Ubuntu 9.04 64bit, Server edition) was libstdc++.so.5. This library is included in the package libstdc++5. It can be installed by running:

apt-get install libstdc++5

The RTC server has to be restarted afterwards.

jazz/server/ser­ver.shutdown jazz/server/ser­ver.startup

How to install DB2 Express on Fedora Core 9

Tuesday, October 21st, 2008

I got 2 errors while installing DB2 Express that comes with Rational Team Concert. Two libraries were missing:

libstdc++.so.5

ERROR:
The required library file libstdc++.so.5 is not found on the system.

Solution: (thanks http://tldp.org/…fedora6.html)

yum -y install compat-libstdc++-33

libaio.so.1

ERROR:
The required library file libaio++.so.1 is not found on the system.

Solution:

yum -y install libaio