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

RQM API Utility error: java.security.NoSuchAlgorithmException

 Need a way to export test results, like the PDF export but I need the attachments to be embedded in the file not just links so they can be read offline and I need it to not show the previous results.
Was hoping to use the RQM API to do this but my web skills are very limited and cant understand much of what is in the documentation but found the "RQM API Utility" and the "RQM Url Utility" but every time I try and use these I'm getting "java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available".
Ive looked through the internet for days trying to find a solution and sofar nothing has worked:
I'm using RQM 6.0.5
RQM API Utility, version 1.0
java version "1.8.0_181"
ive tried:
commenting out the disabledAlgorithms
different java versions 6,8,10

0 votes



5 answers

Permanent link

If the attachments are MS Word files, I believe you could use RPE (Rational Publishing Engine) to generate the report and display the content of the embedded files within the PDF report output.  If they are other file types, then there is a method to use RPE to generate a report in Word Format, then uses RQM Url Utility to get the embedded files out to a folder, and runs a Word macro to embed them as icons in the Word report.   Still must open the embedded files to see them from Word, but at least they are not just links that may not be accessible by all readers.

0 votes

Comments
The files are images, zips and txt files, so the first is not an option, the second is what I'm trying to do but I cant get the RQM Url Utility to work because of the mentioned error.


Permanent link

I've not seen the error you are getting, but I wonder if you have the correct version of RQM URL Utility.  It does appear to get updated for most every release of RQM.

I think the 6.0.5 version is here :

https://jazz.net/downloads/rational-quality-manager/releases/6.0.5?p=allDownloads

Under

Rational Quality Manager URL Utility

0 votes

Comments

 I am using the one labelled as 6.0.5 and tried 6.0.6 aswell


Permanent link

One more thought.

You might try executing the RQMUrlUtility jar using a command line with a additional switch to specify the protocol like this,

java -Dcom.ibm.team.repository.transport.client.protocol=TLSv1.2 -jar ...

0 votes

Comments

afraid that has just added another SSLContext not available error 


Permanent link

Not sure what else to suggest. When I ran into issues with the utility I tried running it from a Windows command line until I figured out what to do. I essentially ended up using this command line structure to extract files out of RQM, then embed the file into my Word document in the macro.

java -Dcom.ibm.team.repository.transport.client.protocol=TLSv1.2 -jar "RQMUrlUtility.jar" -command GET -user "RQMusername" -password RQMpassword -filepath "the file path for the attachment" -url theRQMURLoftheattachment

0 votes

Comments
 this may have got me closer, with this structure it still tells me the "SSLContext not available" but now it doesn't seem to through the full java exception 
Default cookie policy RFC_2109 is used.
RQMUrlUtility: Connected to https://lgrqm.clm.ibmcloud.com using project "rqm.clm.ibmcloud.com"
Attempting to create protocol context using system property: TLSv1.2
java.security.NoSuchAlgorithmException: TLSv1.2 SSLContext not available
Attempting to create SSL_TLS context
... more but no remaing charaters 


Permanent link

 Managed to get this working by unzipping the jar and replacing the HTTP classes with the ones from the command line adapter then re zipping it

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,941

Question asked: Jul 26 '18, 10:20 a.m.

Question was seen: 3,706 times

Last updated: Sep 27 '18, 7:04 a.m.

Confirmation Cancel Confirm