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

Why getAvailabelActions() not returning any actions??

Hi,

We have RAM 7.2, have RTC life cycle set up for the new submitted assets. We need to change or move the asset state from its current state to the next state programmatically or using RAM api; but when we used getAvailabelActions() for the asset, the method return no actions, any idea?

2 more facts:
1) I am set to be the collaborators and also the LifeCycle Managers, also the owner of the asset
2) The asset does indeed has two more "next state" option on the web client, I see the 2 actions options and I am also able to change state of this asset thru the web client.

Or may be getAvailabelActions() was not the right method to call to change state? If so please advice.


JR

0 votes



12 answers

Permanent link
Caused by: java.lang.ClassNotFoundException:
com.sun.xml.bind.v2.ContextFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:639)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:605)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:116)
... 17 more


This class is normally found in the jaxb-impl.jar. Did you put all of
the jars from the ramclient.zip onto your classpath?
--
Rich Kulp
Rational Asset Manager developer

0 votes


Permanent link
Problem was solved as there were 8 required JARs which were not added to the classpath:

activation.jar
jaxb-impl.jar
jaxen-1.1.1.jar
jdom-1.0.jar
jsr173_1.0_api.jar
org.eclipse.emf.ecore.xmi_2.3.2.v200802051830.jar
org.eclipse.osgi_3.3.2.R33x_v20080105.jar

0 votes

1–15 items
page 2of 1 pagesof 2 pages

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: Aug 08 '11, 11:24 a.m.

Question was seen: 7,502 times

Last updated: Aug 08 '11, 11:24 a.m.

Confirmation Cancel Confirm