It's all about the answers!

Ask a question

Recieving error while importing Process template in RCT 2.0


kaushambi Singh (561611) | asked Jun 25 '09, 7:54 a.m.
I am recieving an error while importing a custom defined process template created in RTC 1.0.1.1v having SQl Server as database.Now I have installed RTC 2.0 client and server having same database of SQL server and want to import the same process template in 2.0. While trying to import I am recieving the below error:

"Error importing template: Version mismatch. The selected template was exported from an older server version and cannot be imported. Moving an old template to a new version requires importing the template into an old server, migrating the database to the new version, and then exporting the template again."

Can anyone help me in resolving this error? How to mgrate database to a new version?

4 answers



permanent link
Martha (Ruby) Andrews (3.0k44051) | answered Jun 25 '09, 1:54 p.m.
JAZZ DEVELOPER
You will need to use the repoTools from the server directory.

Here is an article that explains the details:
http://jazz.net/library/LearnItem.jsp?href=content/docs/repo-migration/index.html

Martha
Jazz Developer

I am recieving an error while importing a custom defined process template created in RTC 1.0.1.1v having SQl Server as database.Now I have installed RTC 2.0 client and server having same database of SQL server and want to import the same process template in 2.0. While trying to import I am recieving the below error:

"Error importing template: Version mismatch. The selected template was exported from an older server version and cannot be imported. Moving an old template to a new version requires importing the template into an old server, migrating the database to the new version, and then exporting the template again."

Can anyone help me in resolving this error? How to mgrate database to a new version?

permanent link
Jared Burns (4.5k29) | answered Jun 29 '09, 8:59 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
On Thu, 25 Jun 2009 12:08:02 +0000, singh_kaushambi wrote:

I am recieving an error while importing a custom defined process
template created in RTC 1.0.1.1v having SQl Server as database.Now I
have installed RTC 2.0 client and server having same database of SQL
server and want to import the same process template in 2.0. While trying
to import I am recieving the below error:

"Error importing template: Version mismatch. The selected template was
exported from an older server version and cannot be imported. Moving an
old template to a new version requires importing the template into an
old server, migrating the database to the new version, and then
exporting the template again."

Can anyone help me in resolving this error? How to mgrate database to a
new version?

The format for exported process templates changed in an incompatible way
between RTC 1.0.x and RTC 2.0. We are currently in the early stages of
writing a tool which can translate zips from 1.0.x into the 2.0 format,
but this is not yet available.

In the meantime, there is a series of manual steps you can take to
migrate your templates using the existing support for migrating databases.

1. Start up an RTC 1.0.x server.
2. Import your 1.0.x template into this server.
3. Stop the server.
4. Use the 1.0.x repotools to export the 1.0.x database.
5. Use the 2.0 repotools to import the 2.0 database (this will migrate
the template in the DB).
6. Start up an RTC 2.0 server.
7. Export your template again. This will give you the template in the 2.0
export format.

--
Jared Burns
Jazz Process Team

permanent link
kaushambi Singh (561611) | answered Jul 02 '09, 6:09 a.m.
Hi Jared,

I didnot completely got the steps you mentioned for importing the process template in 2.0.
Here is what I did and would need your help on what I had to follow on get this succesfully done.
1. Installed the RTC 1.0.1.1 server.
2. Imported the Process Template on 1.0.1.1 successfully.
3. Upgraded the 1.0.1.1 to RTC 2.0 using he installer RTC-'Standard-Full-2.0-Win32-Local.zip'
4.After that when I opened the web UI link of https:\\localhost:9443\jazz, the page opened but no Databse summary.Might be the database was not configured.
5. I then replaced the back up files except the web.xml and did the database connection for SQL Server.
6. Now I opened the URL, the page got opened but there was no process template and the server got upgraded to RTC 2.0.
7. Still recieving the same error of version mismatch.

Can you please tell me where did I go wrong?
Also if we talk about running the repotools in 1.0v and then 2.0 version, does it make difference if the 1.0v is on different server and 2.0 is on diffferent server but pointing to the same database,say X. Does the database name(say X.name1 and X.name2) has to be same in both 1.0v and 2.0v.




On Thu, 25 Jun 2009 12:08:02 +0000, singh_kaushambi wrote:

I am recieving an error while importing a custom defined process
template created in RTC 1.0.1.1v having SQl Server as database.Now I
have installed RTC 2.0 client and server having same database of SQL
server and want to import the same process template in 2.0. While trying
to import I am recieving the below error:

"Error importing template: Version mismatch. The selected template was
exported from an older server version and cannot be imported. Moving an
old template to a new version requires importing the template into an
old server, migrating the database to the new version, and then
exporting the template again."

Can anyone help me in resolving this error? How to mgrate database to a
new version?

The format for exported process templates changed in an incompatible way
between RTC 1.0.x and RTC 2.0. We are currently in the early stages of
writing a tool which can translate zips from 1.0.x into the 2.0 format,
but this is not yet available.

In the meantime, there is a series of manual steps you can take to
migrate your templates using the existing support for migrating databases.

1. Start up an RTC 1.0.x server.
2. Import your 1.0.x template into this server.
3. Stop the server.
4. Use the 1.0.x repotools to export the 1.0.x database.
5. Use the 2.0 repotools to import the 2.0 database (this will migrate
the template in the DB).
6. Start up an RTC 2.0 server.
7. Export your template again. This will give you the template in the 2.0
export format.

--
Jared Burns
Jazz Process Team

permanent link
Jared Burns (4.5k29) | answered Jul 06 '09, 9:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi, Singh.

I think you may have missed a step or two in there. In particular, it
sounds like you upgraded your server from 1.0.1.1 to 2.0 before exporting
the database and it doesn't sound like you ran the import (the migration)
to 2.0.

Normally, I prefer to use the Install Manager but for this procedure I
would personally just download the 1.0.1.1 and 2.0 server zips. Then you
can unzip both servers to two different directories, which should make it
easier to keep track of which version you're using for which steps. Since
the point of these steps is just to create an update process template
zip, I wouldn't bother with trying to reuse the same database; I'd just
use the default DB corresponding to each server.

Here is another version of the steps, with the versions more explicitly
called out:

######## Setup ########
1. Install the RTC 1.0.1.1 server to C:\rtc-1.0.1.1 and install the RTC
2.0 server to C:\rtc-2.0.

######## In RTC 1.0.1.1 ########
2. Start up the server.
(C:\rtc-1.0.1.1\jazz\server\server.startup.bat)
3. Import your 1.0.x template.
4. Stop the server.
(C:\rtc-1.0.1.1\jazz\server\server.shutdown.bat)
5. Use repotools to export the 1.0.x database.
(C:\rtc-1.0.1.1\jazz\server\repotools.bat)

######## switch to RTC 2.0 ########
6. Use repotools to import the tar file created in step 5.
(C:\rtc-2.0\jazz\server\repotools.bat)
7. Start up the server.
(C:\rtc-2.0\jazz\server\server.startup.bat)
8. Export your template again. This will give you the template in the 2.0
export format.

Hope that helps,
Jared Burns
Jazz Process Team

On Thu, 02 Jul 2009 10:23:04 +0000, singh_kaushambi wrote:
1. Installed the RTC 1.0.1.1 server.
2. Imported the Process Template on 1.0.1.1 successfully. 3. Upgraded
the 1.0.1.1 to RTC 2.0 using he installer
RTC-'Standard-Full-2.0-Win32-Local.zip' 4.After that when I opened the
web UI link of https:\\localhost:9443\jazz, the page opened but no
Databse summary.Might be the database was not configured. 5. I then
replaced the back up files except the web.xml and did the database
connection for SQL Server.
6. Now I opened the URL, the page got opened but there was no process
template and the server got upgraded to RTC 2.0. 7. Still recieving the
same error of version mismatch.


Jared Burns wrote:

1. Start up an RTC 1.0.x server.
2. Import your 1.0.x template into this server.
3. Stop the server.
4. Use the 1.0.x repotools to export the 1.0.x database.
5. Use the 2.0 repotools to import the 2.0 database (this will migrate
the template in the DB).
6. Start up an RTC 2.0 server.
7. Export your template again. This will give you the template in the
2.0
export format.

Your answer


Register or to post your answer.