It's all about the answers!

Ask a question

Marco Ballante (11) | asked Apr 20 '11, 12:50 p.m.

I'm trying to integrate rtc client api in a was web application.
I'm using was 7 and rtc api 3.0.

this is my code


ITeamRepositoryService teamRepositoryService = TeamPlatform.getTeamRepositoryService();

t = teamRepositoryService.getTeamRepository("");

t.registerLoginHandler(new ITeamRepository.ILoginHandler() {
public ILoginInfo challenge(ITeamRepository repository) {

return new ILoginInfo() {
public String getUserId() {

return "user";
public String getPassword() {

return "password";

When I call t.registerLoginHandler() I receive the follow error:

Caused by: Badly configured client. Missing a foundation component tag.

Can someone help me?

Thanks in advance!

2 answers

permanent link
Stefano Turri (16) | answered Apr 20 '11, 3:30 p.m.
The issue is because of missing plugin configurations in eclipse classes, caused by classloading issues.

WebSphere 7 is implemented using OSGI technology like eclipse, so the eclipse platform classes by default are loaded from WebSphere, and the ones not by RTC client libraries included in the web application.

A possible solution is to include the lib classes into the webapp and reverse the class loading policy. Be careful to remove javax.servlet jar (included into RTC clint libraries), in order to be able to use the websphere classes for this specific library.

There are at least 2 way to reverse classloading policies:

* From WebSphere administration console. This is ok when deploying throught the console, but it will not work inside RAD WebSphere test environment, since the checkboxes will be disabled

* By creating deployment.xml file, usin RAD java right click menu on EAR file ( JavaEE --> Open WebSphere Application Server Deployment )

Best Regards

permanent link
Nick Edgar (6.5k711) | answered Apr 21 '12, 11:38 a.m.
This issue is being discussed again now in

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.