It's all about the answers!

Ask a question

RQMAPIUtility.jar does not run on some foreign language Windows OSes


Ian Wark (79713553) | asked Nov 12 '19, 7:41 p.m.
I recently had opportunity to use the RQMAPIUtility.jar to obtain information about lab resource reservations.

The information is available in the RQM REST API using the resource type "reservation":

You can obtain these values:
  • /reserveFrom
  • /reserveTo
  • /reservedBy
  • /reservedFor
When running this command I received the below error since the feed information was not parse-able.

PS C:\ibm\JazzTeamServer\server\jre\bin> .\java -jar RQMAPIUtility.jar -c=readAllreservationResources -qm=https://myserver:9443/qm/ -u=myuser -pw=mypass -pa=JKE+Banking+%28%E5%93%81%E8%B3%AA%E7%AE%A1%E7%90%86%29 -l="mylog.txt" -r="reservations.xml" -o

java.io.IOException: Error reading feed 'https://myserver:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/projects' for artifact type 'projects'.

How to resolve this?

One answer



permanent link
Ian Wark (79713553) | answered Nov 12 '19, 7:41 p.m.
An easy solution was to change this line in com.ibm.rqm.api.internal.util.FeedReader.java to add "UTF-8", since my OS platform uses MS932 as default. I think Japanese, Chinese and other Windows OS would encounter a similar problem.

Document feedDoc = xmlIn.build(new ByteArrayInputStream(xml.getBytes("UTF-8")));​

I would like to suggest to make that (or similar) change, to allow others to run the utility on Windows OSes with different default charsets.

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.