<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Honza's perspective &#187; Rational Team Concert</title>
	<atom:link href="http://blog.stastnarodina.com/honza-en/category/rational-team-concert/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stastnarodina.com/honza-en</link>
	<description></description>
	<lastBuildDate>Mon, 03 May 2010 09:30:45 +0000</lastBuildDate>
	<language>cs</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Rational Team Concert Workflow Visualiser</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/rational-team-concert-workflow-visualiser/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/rational-team-concert-workflow-visualiser/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 12:51:06 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Rational Team Concert]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[workflow visualiser]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=114</guid>
		<description><![CDATA[
<p>Overview Workflow Visualiser is a tool that takes the RTC process
configuration XML and exports graphical representation of the workflows included
in the configuration. Motivation The most typical task I'm facing at new RTC
deployments is analysis of their workflow and its implementation in RTC. The
usual procedure is: Meet with the customer to try to […]</p>

<!-- by Texy2! -->]]></description>
			<content:encoded><![CDATA[
<div><img
src="http://blog.stastnarodina.com/honza-en/wp-content/uploads/2010/04/Info-48.png"
alt="" title="Info-48" width="48" height="48"
class="alignleft size-full wp-image-156" /></div>

<h3>Overview</h3>

<p><a
href="http://blog.stastnarodina.com/honza-en/wp-content/uploads/2010/04/cz.ibm_.workflow.releaseRequest.png"><img
src="http://blog.stastnarodina.com/honza-en/wp-content/uploads/2010/04/cz.ibm_.workflow.releaseRequest-164x300.png"
alt="Example workflow diagram" title="Example workflow" width="164" height="300"
class="alignright size-medium wp-image-120" /></a> <strong>Workflow
Visualiser</strong> is a tool that takes the <a
href="http://jazz.net/projects/rational-team-concert/">RTC</a> process
configuration XML and exports graphical representation of the workflows included
in the configuration.</p>

<h3>Motivation</h3>

<p>The most typical task I'm facing at new RTC deployments is analysis of their
workflow and its implementation in RTC. The usual procedure is:</p>

<ol>
	<li>Meet with the customer to try to understand the workflow (states,
	transitions)</li>

	<li>Draw the workflow in Microsoft Visio and discuss the Visio files with
	customer</li>

	<li>Implement the workflow in RTC</li>
</ol>

<p>This would be all great it there wasn't number 4 – implement the changes
the customer finds after the implementation in RTC, which usually repeats
several times. In this moment the Visio diagrams and the RTC implementation get
out of sync and it is not easy to keep them synchronized. <em>Workflow
Visualiser</em> helps in this step as I can export the <em>real</em> diagram
and either send it to the customer for review or redraw it in Visio.</p>

<p>Another case in which this tool comes handy are big workflows (with 10&lt;
states). Although the transition table in RTC workflow designer is
straightforward, checking such a workflow is not an easy task. Seeing a
graphical representation of the workflow makes it clear.</p>

<div><img
src="http://blog.stastnarodina.com/honza-en/wp-content/uploads/2010/04/Help-48.png"
alt="" title="Help-48" width="48" height="48"
class="alignleft size-full wp-image-157" /></div>

<h3>Running the program</h3>

<p>The program has to be invoked from command line and the command line
arguments are:</p>

<pre><code>Usage: java -jar visualiser.jar [options] source-xml-file
 Options:
  -h|--help Print help and exit
  --version Print help and exit
  -d|--dot Location of dot executable (defaults to /usr/bin/dot)
  -o|--out Output directory (defaults to /tmp/)
  -f|--format Output format (see the output formats of dot) (defaults to pdf)
  -s|--source Save the DOT source file in the output directory</code></pre>

<h4>Examples</h4>

<h5>Windows example PDF</h5>

<ul>
	<li>JAR stored in C:\visualiser.jar</li>

	<li>Process XML configuration file saved in process.xml</li>

	<li>Graphviz installed in standard location</li>

	<li>Export diagrams in PDF format to „C:\temp“</li>
</ul>

<pre><code>java -jar "C:\visualiser.jar" -o "C:\temp" -d "C:\Program Files\Graphviz2.26.3\bin\dot.exe" process.xml</code></pre>

<hr />

<h5>Windows example PNG</h5>

<ul>
	<li>JAR stored in C:\visualiser.jar</li>

	<li>Process XML configuration file saved in process.xml</li>

	<li>Graphviz installed in standard location</li>

	<li>Export diagrams in PNG format to „C:\temp“</li>
</ul>

<pre><code>java -jar "C:\visualiser.jar" -o "C:\temp" -d "C:\Program Files\Graphviz2.26.3\bin\dot.exe" -f png process.xml</code></pre>

<hr />

<h5>Linux example</h5>

<ul>
	<li>JAR stored in ~/visualiser.jar</li>

	<li>Process XML configuration file saved in process.xml</li>

	<li>Graphviz installed in standard location (/usr/bin/dot)</li>

	<li>Export diagrams in PDF format to ~/diagrams</li>
</ul>

<pre><code>java -jar ~/visualiser.jar -o ~/diagrams process.xml</code></pre>

<div><img
src="http://blog.stastnarodina.com/honza-en/wp-content/uploads/2010/04/Box-download-48.png"
alt="Download" title="Box-download-48" width="48" height="48"
class="alignleft size-full wp-image-154" /></div>

<h3>Download</h3>

<h4>Prerequisites</h4>

<p>The program uses <a href="http://www.graphviz.org/">Graphviz</a> for diagram
drawing. You must have <a href="http://www.graphviz.org/">Graphviz</a> installed
on your computer to be able to run the program. It can be freely downloaded
from <a
href="http://www.graphviz.org/Download.php">http://www.graphviz.org/Download.php</a></p>

<h4>Binary</h4>

<p><a
href="http://storage.stastnarodina.com/workflow-visualiser/visualiser.jar">Download
Runnable JAR</a></p>

<h4>Source code</h4>

<p><a
href="http://storage.stastnarodina.com/workflow-visualiser/source/visualiser.zip">ZIP
with sources</a> includes pom.xml including the Maven project dependencies.</p>

<h4>License</h4>

<p>Pro program is distributed under <a
href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
2.0</a>. For the license agreement of the used libraries see the appropriate
license agreement included in the distribution.</p>

<div><img
src="http://blog.stastnarodina.com/honza-en/wp-content/uploads/2010/04/Clipboard-2-48.png"
alt="" title="Clipboard-2-48" width="48" height="48"
class="alignleft size-full wp-image-159" /></div>

<h3>Version history</h3>

<ul>
	<li><strong>2010–04–09</strong> Initial version</li>

	<li><strong>2010–04–09.2</strong> Resolution edges corrected</li>
</ul>

<div><img
src="http://blog.stastnarodina.com/honza-en/wp-content/uploads/2010/04/Comment-48.png"
alt="" title="Comment-48" width="48" height="48"
class="alignleft size-full wp-image-158" /></div>

<h3>Comments, bug reports</h3>

<p>Any comments or bug reports are welcome. Send them either in the comments
under this article or via email to <a
href="mailto:honza&#64;stastnarodina.com">honza&#64;<!---->stastnarodina.com</a></p>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/rational-team-concert-workflow-visualiser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RQM on 64bit Ubuntu</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/rqm-on-64bit-ubuntu/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/rqm-on-64bit-ubuntu/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 02:32:03 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rational Team Concert]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jazz]]></category>
		<category><![CDATA[rqm]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=103</guid>
		<description><![CDATA[
<p>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 […]</p>
]]></description>
			<content:encoded><![CDATA[
<p>I installed IBM Rational Quality Manager 2.0.0.1 on the same machine as
I installed Rational Requirements Composer before. Some steps from <a
href="http://blog.stastnarodina.com/honza-en/spot/rrc-on-64bit-ubuntu/">installation
tips</a> may be needed.</p>

<p>The <a
href="http://publib.boulder.ibm.com/infocenter/rqmhelp/v2r0/index.jsp">official
product documentation</a> 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:</p>

<blockquote>
	<p>db2 create database RQM using codeset UTF-8 territory en PAGESIZE 16384</p>
</blockquote>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/rqm-on-64bit-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>RRC on 64bit Ubuntu</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/rrc-on-64bit-ubuntu/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/rrc-on-64bit-ubuntu/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 17:30:43 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rational Team Concert]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jazz]]></category>
		<category><![CDATA[rrc]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=88</guid>
		<description><![CDATA[
<p>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_SE­TUP/InstallerI­mage_linux#
./install bash: ./install: No such file or directory To install the needed
libraries run: apt-get install ia32-libs The […]</p>
]]></description>
			<content:encoded><![CDATA[
<p>Another post, where the main audience is me :)</p>

<h3>Installation</h3>

<p>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:</p>

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

<p>To install the needed libraries run:</p>

<blockquote>
	<p>apt-get install ia32-libs</p>
</blockquote>

<p>The installation should run successfully after this.</p>

<h3>Startup</h3>

<p>RRC needs swt-gtk to run. Install it by:</p>

<blockquote>
	<p>apt-get install libswt-gtk-3.4-jni</p>
</blockquote>

<p>In addition, RRC needs a X screen to start. There is an <a
href="http://www-01.ibm.com/support/docview.wss?uid=swg21410023">IBM
Technote</a> with solution for RHEL and Suse. To install Xvfb on Ubuntu do:</p>

<blockquote>
	<p>apt-get install xvfb</p>
</blockquote>

<p>The rest of the procedure (starting the server) is the same as on RHEL or
SLES (see the <a
href="http://www-01.ibm.com/support/docview.wss?uid=swg21410023">technote</a>).</p>

<p>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:</p>

<pre>#!/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&amp;
        cd ${rrchome}
        DISPLAY=localhost:1.0 ./server.startup
        RETVAL=$?
        echo
        [ $RETVAL = 0 ] &amp;&amp; touch ${lockfile}
        return $RETVAL
}

stop() {
        echo -n $"Stopping $prog: "
        ${rrchome}/server.shutdown
        RETVAL=$?
        killall Xvfb
        echo
        [ $RETVAL = 0 ] &amp;&amp; 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</pre>

<hr />

<p>OS details: Ubuntu 9.04, Server edition, 64bit</p>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/rrc-on-64bit-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RTC 2.0 on Ubuntu</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/rtc-2-0-on-ubuntu/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/rtc-2-0-on-ubuntu/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 15:22:31 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rational Team Concert]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=70</guid>
		<description><![CDATA[
<p>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). […]</p>
]]></description>
			<content:encoded><![CDATA[
<h3>Environment</h3>

<ul>
	<li><strong>RTC Server version:</strong> 2.0.0.1</li>

	<li><strong>OS:</strong> Ubuntu 9.04, 64bit. Server edition</li>

	<li><strong>HW:</strong> VMWare guest, 64bit, 1GB RAM</li>
</ul>

<h3>Problem</h3>

<p>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:</p>

<pre><code>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)
 ....</code></pre>

<p>The <a href="http://jazz.net/forums/viewtopic.php?p=18754#18754">post at
jazz.net forums</a> suggested, that there are missing libraries required by file
<code>*/jazz/server/jre/bin/­libfontmanager­.so</code> You can find out which
libraries are missing by running</p>

<blockquote>
	<p>ldd jazz/server/jre/bin/­libfontmanager­.so</p>
</blockquote>

<p>My output was:</p>

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

<h3>Solution</h3>

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

<blockquote>
	<p>apt-get install libstdc++5</p>
</blockquote>

<p>The RTC server has to be restarted afterwards.</p>

<blockquote>
	<p>jazz/server/ser­ver.shutdown jazz/server/ser­ver.startup</p>
</blockquote>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/rtc-2-0-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install DB2 Express on Fedora Core 9</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/how-to-install-db2-express-on-fedora-core-9/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/how-to-install-db2-express-on-fedora-core-9/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 08:48:20 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Rational Team Concert]]></category>
		<category><![CDATA[DB2]]></category>
		<category><![CDATA[jazz]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=16</guid>
		<description><![CDATA[
<p>I got 2 errors while installing DB2 Express that comes with Rational Team
Concert. Two libraries were missing: libstdc++.so.5 ER­ROR: The required
library file libstdc++.so.5 is not found on the system. Solution: (thanks <a
href="http://tldp.org/">http://tldp.org/</a>…fedora6.html) yum -y install
compat-libstdc++-33 libaio.so.1 ER­ROR: The required library file
libaio++.so.1 is not found on the system. Solution: yum -y install libaio</p>
]]></description>
			<content:encoded><![CDATA[
<p>I got 2 errors while installing DB2 Express that comes with Rational Team
Concert. Two libraries were missing:</p>

<h3>libstdc++.so.5</h3>

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

<p><strong>Solution:</strong> (thanks <a
href="http://tldp.org/HOWTO/DB2-HOWTO/fedora6.html">http://tldp.org/…fedora6.html</a>)</p>

<pre>yum -y install compat-libstdc++-33</pre>

<h3>libaio.so.1</h3>

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

<p><strong>Solution:</strong></p>

<pre>yum -y install libaio</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/how-to-install-db2-express-on-fedora-core-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
