It's all about the answers!

Ask a question

Is this really a id/password issue


Kevin Ramer (4.5k9186201) | asked Aug 19 '14, 8:15 a.m.
Received an issue about the RQM Execution from one of our QM users:

The test case execution by command line stop working after the RQM 4.0.7 installation. I have some scripts that start the test case executions by command line and now I getting the following error.

command: "C:/Program Files/IBM/Java60/bin/java" -jar RQMExecutionTool.jar -tserId=13716 -projectName="Maximo Service Provider" -publicURI=https://rqmmax:9443/jazz/ -user=<USERID> -password=<PASSWORD> -exitOnComplete=true -printResultUrl=true -variables="mxe.url:'http://9.42.39.35:7001/maximo'"

error:
Attempting to create SSL_TLS context
18/08/2014 16:36:32 com.ibm.rqm.executiontool.util.ExecutionLogger logInfo
INFO: Successfully created an HTTP client
Attempting to create SSL_TLS context
18/08/2014 16:36:37 org.apache.commons.httpclient.HttpMethodDirector isRedirectN
eeded
INFO: Redirect requested but followRedirects is disabled
18/08/2014 16:36:38 com.ibm.rqm.executiontool.ExecutionUtility executeCommands
SEVERE: Failed to connect to RQM Server
18/08/2014 16:36:38 com.ibm.rqm.executiontool.util.ExecutionLogger logError
SEVERE: Login failed. Either username or password is wrong.

I am using the Rational Quality Manager Execution Tool from 4.0.7.
https://jazz.net/downloads/rational-quality-manager/releases/4.0.7?p=allDownloads

Customer insists the correct credentials are being used. We just upgraded from 4.0.5 to 4.0.7 and migrated to WebSphere 8.5.   SSL Certificate is the same that was active when Tomcat was the application server.

I don't see much in the wiki with respect to the above. 

Suggestions?



Comments
Donald Nong commented Aug 20 '14, 3:26 a.m.

Note that the first SEVERE error is

SEVERE: Failed to connect to RQM ServerĀ 
So this is more likely a connection issue than password. If you suspect the SSL connection may have some problem, you can try to use openssl client to test it since it will give you more information about the handshake. Also check this port and see if it's related (whether the execution tool also specifies "SSL" when connecting).
https://jazz.net/forum/questions/153891/oslc-workshop-with-rtc-50-sslpeeruniverifiedexception


Kevin Ramer commented Aug 20 '14, 9:56 a.m.

I understand about the certificate trust, as I use an OSLC library that i must have a keystore with the ssl keys of the jazz server I want to point the OSLC toward.

I have a small 'certificate loader' I may share with the user so that the SSL certs from the qm server can be added to his jre/lib/cacerts.


Kevin Ramer commented Aug 20 '14, 4:26 p.m.

Response from user is that the value of -publicURI should not end with the / character.
All is well.

One answer



permanent link
John Nason (2.4k1012) | answered Aug 21 '14, 1:10 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
That error can be misleading. I tried to help clear it up a bit via Command Line adapter gives poor error message when required params are missing. Also the message strings are not externalized (112616). But that fix is later than 4.0.7.

Looking at your example, you're using -projectName as an arg. That should be -projectArea. That's your issue.

Regards,
John Nason
QM Development

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.