Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Why I can not call RAM Client (7.2.0.2) api at Jazz service

When I firstly use RAM Client api 7.1 in my jazz component, it is ok. But when I update to RAM 7.2, I can not use tha api in my jazz component. It always throw an exception " can not find service".

0 votes



7 answers

Permanent link
What do you mean by jazz component?

0 votes


Permanent link
When I firstly use RAM Client api 7.1 in my jazz component, it is ok. But when I update to RAM 7.2, I can not use tha api in my jazz component. It always throw an exception " can not find service".


So did you server move from 7.1 to 7.2 or just the client? Did you replace all the jars in the ramclient.zip from the ones in the previous client usage (ramclient jar, ram common jar, http client, emf, etc). Did you remove all previous versions of these jars? What URL are you using to connect to the server? Does it work when you hit it in a browser? Assuming all these are true and are still getting the exception can you please post the full exception including the stack.

0 votes


Permanent link
What do you mean by jazz component?


The jazz component I mean a plugin which provide a service.

0 votes


Permanent link
When I firstly use RAM Client api 7.1 in my jazz component, it is ok. But when I update to RAM 7.2, I can not use tha api in my jazz component. It always throw an exception " can not find service".


So did you server move from 7.1 to 7.2 or just the client? Did you replace all the jars in the ramclient.zip from the ones in the previous client usage (ramclient jar, ram common jar, http client, emf, etc). Did you remove all previous versions of these jars? What URL are you using to connect to the server? Does it work when you hit it in a browser? Assuming all these are true and are still getting the exception can you please post the full exception including the stack.

I update the server from 7.1 to 7.2. I replace all the jars and remove all the previous versions. The URL is correct. Because It can work in my simple java application. Not a jazz plugin, just a java application. It is workable.

0 votes


Permanent link
Did you update your plugin dependency (can you post the requires statement(s) from your plugin manifest. How are you creating your RAMSession (passing a userid, password and userid into a constructor or accessing or are you accessing a connection defined in your workspace) can you post the code you have that tries to make this connection?

0 votes


Permanent link
Did you update your plugin dependency (can you post the requires statement(s) from your plugin manifest. How are you creating your RAMSession (passing a userid, password and userid into a constructor or accessing or are you accessing a connection defined in your workspace) can you post the code you have that tries to make this connection?


Require-Bundle: com.ibm.team.repository.common,
com.ibm.team.process.common,
com.ibm.team.repository.common,
com.ibm.team.repository.service,
com.ibm.team.process.service,
com.ibm.team.foundation.common,
com.ibm.team.foundation.service,
Bundle-ClassPath: lib/axis.jar
com.ibm.ram.common_7.2.2.v20100305_0922.jar
....

Code to creat a session
RAMSession tempSession = new RAMSession(constructURL(URL), user,
password);
RAMCommunity ramCommunity = tempSession.getCommunity(community);

0 votes


Permanent link
When I firstly use RAM Client api 7.1 in my jazz component, it is ok. But when I update to RAM 7.2, I can not use tha api in my jazz component. It always throw an exception " can not find service".



This is my fault. I forget to clean the build file. Now I can work on it. Thanks.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 27 '10, 9:18 p.m.

Question was seen: 7,919 times

Last updated: May 27 '10, 9:18 p.m.

Confirmation Cancel Confirm