It's all about the answers!

Ask a question

Cannot retrieve dashboard after migration RTC3RC1 to RTC3


Fabrice Dumay (1122) | asked Dec 03 '10, 12:35 p.m.
Hello,

We installed a Jazz RTC 3 RC1, configured users and personalized dashboards and are migrating it to the new release.

The problem is that cannot modify users or projects dashboard or list "all dashboard"

Some explanations :

This installation was done by using an IP address as public url. Let's say its IP is 192.168.1.12 . It is on a single server SuSe 9 64bits using DB2 9.7 express.

We are migrating to 2 servers :

- Application server :
CentOS 5.5 64bits
IP 192.168.1.22
FQDN jazz.exemple.com

- DB Server :
CentOS 5.5 64bits
DB2 Workgroup 9.7 FP1
IP 192.168.1.21
FQDN db.exemple.com



The data on the RC1 server was gathered as the following :

cd /opt/IBM/JazzTeamServer/server/

./server.shutdown

./repotools-ccm.sh -export toFile=jazz_cmm_repotool_export.tar
./repotools-jts.sh -export toFile=jazz_jts_repotool_export.tar

cp /opt/IBM/JazzTeamServer/server/tomcat/conf/tomcat-users.xml jazz_tomcat-user.xml



The installation process on the new servers was done as the following (key steps) :


DB creations :

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


Repository in use by install manager : JTS-CCM-With-Trial-Licenses-repo-3.0.zip

Libs : yum install glibc firefox compat-db compat-libstdc++-33 elfutils elfutils-libs libXft libXmu libXp libXtst pam

Startup Jazz : /opt/IBM/JazzTeamServer/server/server.startup

Executing the setup wizard :

https://jazz.exemple.com:9443/jts/setup

Login as ADMIN/ADMIN

Public URI : https://jazz.exemple.com:9443/jts

JDBC Password : (pasword of db2inst1)
JDBC Location : //db.exemple.com:50000/JTS:user=db2inst1;password={password};

Creating a new admin and deactivate ADMIN/ADMIN


Now the wizard discovered the /ccm application https://jazz.exemple.com:9443/ccm/scr

When I went to the "registered application wizard part" I got blank page with only the left menu ..

I had no choice but editing the URL step to https://jazz.exemple.com:9443/jts/setup#/steps/11

Go to : https://jazz.exemple.com:9443/ccm/admin
Menu Configuration > Database Connection

DB Type : JDBC
JDBC Vendor : DB2
JDBC Location : //db.exemple.com:50000/CCM:user=db2inst1;password={password};
JDBC Password : (pasword of db2inst1)




Now jazz RTC is installed, so I started to restore/migrate data.

cd /opt/IBM/JazzTeamServer/server/

./server.shutdown

Put back the users from /opt/IBM/JazzTeamServer/server/tomcat/conf/tomcat-users.xml


./repotools-ccm.sh -import fromFile=jazz_cmm_repotool_export.tar
./repotools-jts.sh -import fromFile=jazz_jts_repotool_export.tar


After having started the server the /ccm application Discovery URL wasn't jazz.exemple.com but the old one https://192.168.1.12:9443/ccm/scr

The solution to fix it was foung here : http://jazz.net/forums/viewtopic.php?t=13032&highlight=crjaz1664e
Last post from John Vasta. Thank you to him !



At this point Jazz RTC seems to be migrated correctly except for the dashboard. They was not restored and doesn't keep any change.

I configure the logs in DEBUG mode to see what's going on : (found on a forum I didn't remember where, thanks too)

(in tomcat builds it's at <install_dir>/server/conf/jts/log4j.properties):
log4j.logger.com.ibm.team.dashboard.service.internal.jfs.HttpResourceClient=DEBUG


After rebooted the JTS, on the JAZZ Web UI when we ask for "all dasboard" the following appears in the logs :

<xml><feed>
<title>Query Results</title>
<id>urn:uuid:_4d3QcP7sEd-1_cvsXvO5Hw</id>
<updated>2010-12-03T14:52:02.167Z</updated>
<link></link>
<generator>Jazz Resource Services</generator>
<entry>
<title>Result 0</title>
<author><name>System</name></author>
<id>urn:uuid:_4d3QcP7sEd-1_cvsXvO5Hw0</id>
<updated>2010-12-03T14:52:02.168Z</updated>
<content>
<result>
<binding><uri>https://192.168.1.12:9443/jts/dashboards/56</uri></binding><binding><literal>USR - User One's Dashboard</literal></binding><binding><uri>https://192.168.1.12:9443/jts/users/DMA</uri></binding></result>
</content>
</entry>
...
....
....
...


As we can see, it is looking for the former IP address ....

I did some search on the file system and in the db, I found no pattern '192.168.1.12'



As a work around, I reconfigured the new JAZZ server with the former IP, change the public URL as before with the former IP and redo the setup wizard again.

The behavior is exactly the same, I still cannot modify users or projects dashboard or list "all dashboard". The jts.log shows the same output as above.


I stuck here. Is any one can help on this ?

Thanks in advance.

Fabd

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.