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

how to execute RTC api runnable jar code from command line

Executing the runnable jar rtc api from commandline is resulting in the below error.

Exception in thread "main" java.lang.ExceptionInInitializerError
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:222)
        at com.ibm.team.repository.client.internal.TeamRepository.<init>(Tea
        at com.ibm.team.repository.client.internal.TeamRepositoryService.cre
        at com.ibm.team.repository.client.internal.TeamRepositoryService.get
        at com.ibm.team.repository.client.internal.TeamRepositoryService.get
        at com.ibm.henkel.fmo.main.FMOCustomization.login(FMOCustomization.j
        at com.ibm.henkel.fmo.main.FMOCustomization.main(FMOCustomization.ja
Caused by: java.lang.IllegalArgumentException: The type name Contributor and
        at com.ibm.team.repository.common.internal.querypath.AbstractQueryPa
        at com.ibm.team.repository.common.query.IQuery$Factory.newInstance(I
        at com.ibm.team.repository.client.internal.ContributorManager.create
        at com.ibm.team.repository.client.internal.ContributorManager.<clini
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
        ... 6 more
Please can somebody help me fix this issue

0 votes



One answer

Permanent link
I describe how I do this in https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/
Please note, I think I had issues if I tried to launch the batch files from within Eclipse. I usually launch from a command window.

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
× 10,926

Question asked: Jan 10 '14, 3:25 a.m.

Question was seen: 3,663 times

Last updated: Jan 10 '14, 3:39 a.m.

Confirmation Cancel Confirm