It's all about the answers!

Ask a question

Reset a RTC Server installation


Jose Miguel Ordax Cassa (2.4k4126100) | asked May 16 '09, 6:13 a.m.
Hi, is there any way to reset a RTC Server installation so it comes into
a state similar to a recently installed server from scratch? I am
looking for a quick way to reset "study" to starts from scratch each
time. Any SQL Scripts? Just point to a new Repository?

Thanks in advance,

Chemi.

2 answers



permanent link
Anthony Kesterton (7.5k9180136) | answered May 16 '09, 6:52 a.m.
JAZZ DEVELOPER
Hi, is there any way to reset a RTC Server installation so it comes into
a state similar to a recently installed server from scratch? I am
looking for a quick way to reset "study" to starts from scratch each
time. Any SQL Scripts? Just point to a new Repository?

Thanks in advance,

Chemi.


Hi

If you have a Derby database, replace the repositoryDB and workitemindex directories in jazz\server with the original versions. This assumes you have an "unzip" install of RTC (and you are using Tomcat/Derby).

anthony

permanent link
Ralph Schoon (63.3k33646) | answered May 18 '09, 2:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hello Chemi,

Anthony is right. Use Derby and Apache and you can do a lot.
DB2 would be more work and consumes more time.

I created myself an asset that

shuts down the server
deletes the derby db repositoryDB and workitemIndex
extracts the repositoryDB and workitemIndex from some zip file to the desired
location
deletes workspaces from a defined location
extracts the workspaces from some zip file to the desired location
does some post processing e.g. copying sone tomcat-user.xml, teamserver.properties
and build engine start scripts to their desired loactions.
starts the server

If I have a setup that is interesting, e.g. as a starting point for a demo,
I just zip the information required and provide these zip files for later
usage.

Even if you do that manually it saves a lot of time. If you get creative
some scripts can actually do most steps automatially.
The caveat with Derby is, that it is impossible to have more than 10 active
users.

Ralph

Hi, is there any way to reset a RTC Server installation so it comes
into a state similar to a recently installed server from scratch? I am
looking for a quick way to reset "study" to starts from scratch each
time. Any SQL Scripts? Just point to a new Repository?

Thanks in advance,

Chemi.

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.