Why I can not call RAM Client (7.2.0.2) api at Jazz service
7 answers
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.
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.
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?
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);