It's all about the answers!

Ask a question

Issue migrating from tomcat/DB2 to WAS/Oracle


pere irazusta (2062120) | asked Feb 15 '12, 6:30 a.m.
Hi,

we are trying to migrate an installation of RTC 3.0.1 from tomcat / DB2 to WAS_6.1 / Oracle and we are experiencing some problems with it. We are just using jts, admin and ccm applications.

The steps that we are following are based on a Derby to DB2 migration ( we have been unable to find any official info about DB2 to Oracle ) http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/index.jsp?topic=%2Fcom.ibm.jazz.install.doc%2Ftopics%2Ft_migrate_derby_oracle.html

the steps are:
- Install a RTC in a WAS/Oracle platform -> it seems to be ok.
- Repotools export ( jts and ccm) from the old installation -> seems ok.
- Repotools import jts and ccm, on the new installation -> no errors found
- start new server.

Problem:
the ccm application does not work at all. It isn't accessible.
Hints:
- /ccm looks like it isn't well reconized as it isn't reconized on the /jts/admin page and it does appear on the registered applications.
- on the diagnosis of JTS appears the error: CRJAZ2055W Some indices were missing from the database, and missing indices can negatively impact application performance. To add the missing indices, you should stop your server and execute the -rebuildIndices command in repotools. We have launched the repotools command but the error keeps appering.
- on the diagnosis of CCM appears the error: "CRJAZ2052E" There is no friend to Jazz Team Server configuration.

Anyone has any tip on how we could manage this?

Thanks!

8 answers



permanent link
Ralph Schoon (63.3k33646) | answered Feb 16 '12, 3:05 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

the general approach is correct.

Please see https://jazz.net/library/article/547 for some more details e.g. which files are also necessary.

Please check the export and import logs and make sure there is enough disk space available for the files.

Did you copy and merged the various configuration files from the server/conf folders for admin, ccm, jts and modified them for the new database?

I would typically make sure the applications run in WAS first. This would help verifying things like security settings, LDAP setup, JAZZ_HOME, DB connection etc. You could use some of the information from the teamserver.properties later.

If you don't copy the index files over, or make sure they are accessible in the location specified in the teamserver.properties you have to recreate the indexes, I think.

permanent link
pere irazusta (2062120) | answered Feb 16 '12, 4:52 a.m.
Thanks Ralph,

I'll check it and I'll explain the results.

permanent link
Valentin Arauzo (16) | answered Feb 17 '12, 4:46 a.m.
Hi Ralph,

In this case, if we copy and merge the teamserver.properties files then is not necessary the setup process?

the steps are:
- Install a RTC in a WAS/Oracle platform -> it seems to be ok.
- Make the jts/setup, adding applications ccm and admin.
- jts setup -> ok
- ccm setup -> seems to be ok, but after restart the application server, jts is working with the ccm tablespace with the ccm user.

Looking at the configuration we conclude that:
when we was done the ccm setup, the ccm properties are wrotten in /jts/teamserver.properties overwriting the jts setup.

Where is the reference app-teamserver.properties files?

Regards,

Val

permanent link
Ralph Schoon (63.3k33646) | answered Feb 17 '12, 5:42 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

the test setup is only necessary if you are in doubt the deployment on WAS is correct. It is not needed if you are sure. The setup is not necessary at all, if the various teamserver.propertes are correct and point to the correct file and db locations.

During operation, when saving the properties each application saves backups in the conf/ folder and marks them as a backup. These are the best templates.

If there is no backup of the teamserver.properties it is possible to run the setup again and enter the correct values for the DB, tablespace, context root etc, provided the registered applications can be found.

The values can also be fixed in the teamserver.properties themselves. E.g. fixing the wrong tablespace entry.

permanent link
Valentin Arauzo (16) | answered Feb 17 '12, 5:58 a.m.
Ralph,

I understand that setup only modify the teamserver.properties files and register applications.

In this case, we will try without setup:

- copy and merge teamserver.properties
- Register the applications in /jts/admin
- export/import.

This should work.

Thanks,

Val

permanent link
Ralph Schoon (63.3k33646) | answered Feb 17 '12, 6:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Ralph,

I understand that setup only modify the teamserver.properties files and register applications.

In this case, we will try without setup:

- copy and merge teamserver.properties
- Register the applications in /jts/admin
- export/import.

This should work.

Thanks,

Val

Hi Val,

If the applications were registered in Tomcat/Derby and you provide the correct values in the teamserver.properties, you do not need to register again. If the applications are no longer registered after the import, the operation failed.

permanent link
Valentin Arauzo (16) | answered Feb 17 '12, 6:18 a.m.
And to migrate admin app, have to copy friends.rdf and admin.properties?

Thanks,
Val

permanent link
Ralph Schoon (63.3k33646) | answered Feb 17 '12, 6:25 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
And to migrate admin app, have to copy friends.rdf and admin.properties?

Thanks,
Val


Hi Val,

yes. Copy all configuration files for all folders in /conf.

Your answer


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.