Why can't I access my Team Repository while testing and debugging an RTC extension.
I have been building an RTC extension and today while "stepping" through the extension in debug mode the extension failed while attempting to access the Derby based Team Repository. I haven't had this happen before. I am debugging using the Jetty RTC Server. I logged into the Server Administration and checked the Component Status. I found 2 Components and their services were not functioning:
I ran the diagnostics on Database and Database Indicies and both checked out ok.
What is causing this problem?
|
Accepted answer
Hi Andrew,
I have and added the following to the features list to "[RTCExt] Create RTC Test Database": - com.ibm.teamz.supa.server.feature - com.ibm.teamz.langdef.feature.server - com.ibm.teamz.langdef.feature.common - com.ibm.teamz.dsdef.feature.server - com.ibm.teamz.dsdef.feature.common I then have ran the launch to generate this new database. The components list now appears OK. The errors you list in your second comment ( like "10:27:29,257 [1896116484@qtp-1533631337-2] ERROR ComponentNotInstalled - Component has not been installed in the database: com.ibm.teamz.dsdef ...") No longer appear. Andrew Soloninka selected this answer as the correct answer
Comments
Andrew Soloninka
commented Feb 13 '13, 2:04 p.m.
Jorge, Thanks I will try this.
Andrew Soloninka
commented Feb 13 '13, 5:02 p.m.
Jorge, This worked to eliminate the issue with the supa components but I am still not able to connect programmatically to the Team Repository. Although the error is different. 16:53:08,884 [518659818@qtp-1097220454-54] ERROR com.ibm.team.process.common -
Hmm, don't think this has to do with EE or Jetty itself, I can debug EE code in my Jetty with no issues following this configuration. What is your extension trying to do?
Andrew Soloninka
commented Feb 14 '13, 2:27 p.m.
My extension will automatically create the team area,
stream, and build definitions(build, promotion, deployment, etc)
when the work item state changes.
Andrew Soloninka
commented Feb 14 '13, 2:41 p.m.
What puzzles me is that before EE was added to my Target Platform,
I could connect to the team repository and create the team area and stream.
I could not save a Build Definition. After I added EE to the Target
Platform I could not connect to the Team Repository. I'm going to remove
EE from my Target Platform and see if I can again connect to the Team Repository.
Andrew Soloninka
commented Feb 14 '13, 9:10 p.m.
Found the problem! It was an error in the code. I fixed it and now I can connect to the Team Repository
showing 5 of 6
show 1 more comments
|
One other answer
Ralph Schoon (63.5k●3●36●46)
| answered Feb 11 '13, 5:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Andrew,
I have followed https://jazz.net/library/article/1000 and the underlying principles many times and I was always able to debug, when I managed to set up Jetty and the projects following the workflow of the workshop. One thing you have to watch for is not to clear your workspace and the dev environment on a subsequent start. If you do this, you could loose your development/test repository. If errors happen, look into the logs. If you connected to a Tomcat with your plugin deployed I would suggest looking into the logs as well. Comments
Andrew Soloninka
commented Feb 12 '13, 9:59 p.m.
Ralph I have been following https://jazz.net/library/article/1000 and a closer review of the logs has helped me get a better handle on the issue. Please note the comments to my original question. When creating https://jazz.net/library/article/1000 I saw the issue with the selenium bundle. We had a discussion around it and it appears that the missing bundle does not break anything. What did break things for me was not following the advice to switch file encoding to UTF-8 as described in the article.
Ralph Schoon
commented Feb 13 '13, 1:58 a.m.
| edited Feb 13 '13, 2:00 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Another thought, are you trying to use enterprise extensions? In this case the 10 Free developer licenses won't work. You will have to upload real Enterprise licenses. And you micht have to check if there are additional licenses you need to import.
|
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.
Comments
...
It looks like the com.ibm.team.scm.tests is missing from the server. In following the workflow of the extension workshop, should I rerun the [RTCExt] Create RTC Test Database?
Tried to rerun [RTCExt] Create RTC Test Database but found that one of the features had an error. The com.ibm.team.workitem.server.test.provision.rtc.feature cannot find the org.selenium.java.client bundle