It's all about the answers!

Ask a question

TeamRepositoryException when connecting through web app


Stephen McDonald (2634) | asked Dec 13 '11, 4:56 p.m.
I am trying to connect to a RTC repository through a web app and am getting a TeamRepositoryException:

SystemErr R com.ibm.team.repository.common.TeamRepositoryException: Badly configured client. Missing a foundation component tag.

When I run the code as a java application it works fine. I am using RTC 3.0 iFix 1.

Here is the code leading up to the error:

TeamPlatform.startup();
RepositoryPackage.eINSTANCE.eContents();

try {
IProgressMonitor monitor = new SysoutProgressMonitor();
ITeamRepository repository = login(REPOSITORY_ADDRESS,USER,PASSWORD,monitor);


And here is the login method, the error occurs because of the getTeamRepository() (Its not returning the repository so I can't connect to it):

public static ITeamRepository login(String repositoryURL, String user, String password, IProgressMonitor monitor) throws TeamRepositoryException {

ITeamRepository teamRepo = null;
try{
teamRepo = TeamPlatform.getTeamRepositoryService().getTeamRepository(repositoryURL,monitor);



Any help would be greatly appreciated!
Stephen

One answer



permanent link
Nick Edgar (6.5k711) | answered Apr 21 '12, 11:36 a.m.
JAZZ DEVELOPER
This issue is being discussed again now in https://jazz.net/forums/viewtopic.php?t=24415

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.