Team concert Crash and db goes to an inconsistant state.
Hi,
My Team concert crashed and when i restarted it the databases seems inconsistent. I am using the derby. Exception Can someone tell me how i can recover from the situation. I don't mind the data loss right now. Can i just replace some files in my installation by that of the original distribution and get back on business. I could file a WorkItem with the stack trace if the team is gonna look at the problem. (I haven't captured the original stacktrace that cause the Team concert to crash though) Thanks Chathura |
4 answers
Hi Chathura,
The error message looks the same as the one I saw for defect 25895. Are you using the Beta1? Were you using repotools to create a database? You might just need to fixup the derby.jar files as described here: https://jazz.net/wiki/bin/view/Main/ComponentDevelopmentSetup If you really have a corrupted database and are trying to start over with a fresh one, I can think of two ways you could do it: 1) use "repotools -createDB ..." to recreate a database 2) Go to <jazzhome>\jazz\server\db and rename the db folder to "db-bad". Then unzip the JazzTeamServer zip into a temporary location and find the database that it contains at <TEMP>\jazz\server\db and copy that to <jazzhome>\jazz\server\db. Chris cherath wrote: Hi, |
Try exiting the Jazz client, stopping the Jazz server, removing (or renaming) the jazz\server\db directory, re-starting the server and re-starting the client.
This should create a new database, meaning that all information from your old database will be lost. You will need to create a new project area an start from scratch. You may also want to use a new workspace when you start the client, to avoid using cached information that is no longer valid. Martha |
Thanks guys,
here is my feed back. Chris I am using your launch configuration to launch it from jetty. Somehow it kept on getting confused regarding some aspect related to database. So i infact had to change the workspace and then it started working. If you want to recreate the problem i had, configure team-concert for derby and do a non graceful shutdown. I faced this cos my workbench crashed after running for like two weeks :-). Thanks again Chathura |
Chathura,
If you have a reproducible scenario please consider filing a defect. Ritchie "cherath" <cherath@ca.ibm-dot-com.no-spam.invalid> wrote in message news:f85nca$1hi$1@localhost.localdomain... Thanks guys, |
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.