SCM Database corrupt after synch with ClearCase
Hi,
After a synchronization with ClearCase last night the SCM database the SCM database seems to be corrupted. The user, items, planning etc seems to be intact. Please find attached error log. I tryed to create a new repository workspace, but I get a long SQL error stacktrace (that is not logged into Eclipse error log so please find a screen dump attached) The synchronization is set-up with text mode transpartent -Dcom.ibm.rational.wvcm.ct.TEXT_MODE=transparent Yesterday we added more Eclipse project to the synchronziation, during our trials we have started out with just a few, but we have now added all our projects to be synched (~60). I'm pretty sure that everything is intact in ClearCase, so it seems like the initial synchronisation has failed. How to proceed???? Possiblity to do some kind of repair BR Lars |
8 answers
Lars,
It appears from your attachments that you are using a Derby database (I see the derby JDBC driver in the stack trace), is that correct? Also, how much SCM data are we talking about here? Geoff, From the stack trace, it appears the database connection is lost in the middle of the sync (see my attachment). Could we just be trying to throw too much data at Derby at once. Steve |
Geoffrey Clemm (30.1k●3●30●35)
| answered Jan 09 '08, 9:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Note: This issue is being tracked in workitem 40866.
Cheers, Geoff Geoffrey Clemm wrote: The ClearCase synchronizer uses only the TeamConcert client library to |
Lars,
One more question. I believe I shared with you a while back a script to do database backups that involved stopping the server and database, backing up and then restarting. Could the run of these two tasks be overlapping with the backup pulling the database out from under the sync? Steve |
Hi,
You are right we are using a scheduled job to stop sever, backup and start server again (much like the script you shared with us) The process overlapping thing was one of my orignal thoughts, but I did some calculations and it should not be the case. Thy synch started around 16:00 and backup routine occurs 22:15 According to the last line in the Ant script it terminated after 239 minutes (~4 hours). But I agree it seems to be a logical explanation. Should I try to set-up the synch again (with backup stopped) and see if the problems still exists? BR Lars Steve Wasleski skrev: Lars, |
Steve Wasleski skrev:
Yes we are using Derby. The avreage project size is very small, but there is one or two projects that contains jar files that togheter is quite big (MB) Total size is less 25 MB /Lars Lars, |
Geoffrey Clemm (30.1k●3●30●35)
| answered Jan 09 '08, 9:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
There are two interesting experiments:
- Try the sync again, against the current state of the repository. - Restore the database to the last backup before you started the sync that failed, and then try the sync again. Cheers, Geoff Lars Ohln wrote:
|
Hi,
I tryed to do the synch again, but it failed directly. The synch software failed after a few momemts saying "Failed to prepare the txn mode" (can't find any log files) I will restore the database to the state before the crash. /Lars Geoffrey Clemm skrev: There are two interesting experiments: |
Lars Ohln <lars.ohlen@tietoenator.com> wrote in news:fm2tdt$h9o$1
@localhost.localdomain: Failed to prepare the txn created work item 41342 to improve error message -- Christophe Elek Serviceability Architect IBM Software Group - Rational |
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.