Running RQM Command Line adapter
Accepted answer
Fernando, it seems that the server url given is wrong.. Here are a few things you could check:
0. The executable file "java.exe" must be accessible in the System path. Confirm running "java" on cmd.'
1. Repository URL is in format : "https://qmserver:port/qm"
2. User credentials with "Quality Professional" license available and repository permissions
3. Name of the project area eg: JKE%20Banking%20%28Quality%20Management%29 if it has special chars in the name.
The above name is for "JKE Banking (Quality Management)"
Please share the adapter log once you verify the above and retry, if the issue persists?
Best Regards, Sunil
6 other answers
Fernando,
Does the error occur when you are tying to start the adapter? If so, can you provided the syntax you are using and the full error message?
Thanks!
Hi Sunil, I am also getting same error message as mentioned above and I have done path setting, java version is 1.8.0_25 and command which I am using to start .bat file is given below:
C:\ start.bat -repository https://igarqm01.swg.usma.ibm.com/jazz/web/console/ -user shubh@in.ibm.com -password abc123 [-adapter RQMCommandLineAdapter] \ [-projectArea IRET RQM Project] [-sleepTime 5 sec] \ [-configFile Config.ini]
but still getting same error, can you please help me
C:\ start.bat -repository https://igarqm01.swg.usma.ibm.com/jazz/web/console/ -user shubh@in.ibm.com -password abc123 [-adapter RQMCommandLineAdapter] \ [-projectArea IRET RQM Project] [-sleepTime 5 sec] \ [-configFile Config.ini]
but still getting same error, can you please help me
Comments
Is the repository value you are supplying -repository https://igarqm01.swg.usma.ibm.com/jazz/web/console/ ?
If so, it should be modified to either
-repository https://igarqm01.swg.usma.ibm.com/jazz (If you are running with a 2.x context root)
or
-repository https://igarqm01.swg.usma.ibm.com/qm (if you are running a 3.x/4.x/5.x context root)
RQMCommandLineAdapter\start.bat -repository https://igarqm01.swg.usma.ibm.com/qm/ -user shubyada@in.ibm.com -password @papa753# [-adapter RQMCommandLineAdapter] [-projectArea IRET RQM Project] [-sleepTime 2 sec] [-configFile config.ini]
Logs:
01:09:18,724 [main] WARN com.ibm.rqm.adapter.library - Unable to determine RQM server version. This is expected for RQM 2.x and earlier servers.
01:09:18,724 [main] ERROR com.ibm.rqm.adapter.commandline - Failed to log in to server at https://igarqm01.swg.usma.ibm.com/qm. Please check the repository URL https://igarqm01.swg.usma.ibm.com/qm, user name shubyada@in.ibm.com and its password and try again. Make sure that the Server is available.
01:12:03,588 [main] WARN com.ibm.rqm.adapter.commandline - Configuration file C:\\Config2.ini does not exist, adapter will use the arguments passed
01:12:04,188 [main] INFO com.ibm.rqm.adapter.library - Successfully created an HTTP client
01:12:07,788 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
01:12:07,798 [main] ERROR com.ibm.rqm.integration.client.clientlib - login error (response code) - 404
Response Body: <H1>SRVE0255E: A WebGroup/Virtual Host to handle /qm/j_security_check has not been defined.</H1><BR><H3>SRVE0255E: A WebGroup/Virtual Host to handle igarqm01.swg.usma.ibm.com:443 has not been defined.</H3><BR><I>IBM WebSphere Application Server</I>
01:12:09,018 [main] ERROR com.ibm.rqm.adapter.library - The adapter failed to connect to the server
com.ibm.rqm.integration.client.clientlib.RQMProtocolException: Unable to log into server: 404: https://igarqm01.swg.usma.ibm.com:-1/qm
at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.login(RQMConnectionHelper.java:198)
at com.ibm.rqm.adapter.library.data.ServerInformation.login(ServerInformation.java:184)
at com.ibm.rqm.adapter.library.data.NewRequester.<init>(NewRequester.java:138)
at com.ibm.rqm.adapter.commandline.QMCommandLineAdapter.main(QMCommandLineAdapter.java:278)
01:12:10,258 [main] WARN com.ibm.rqm.adapter.library - Unable to determine RQM server version. This is expected for RQM 2.x and earlier servers.
01:12:10,268 [main] ERROR com.ibm.rqm.adapter.commandline - Failed to log in to server at https://igarqm01.swg.usma.ibm.com/qm/. Please check the repository URL https://igarqm01.swg.usma.ibm.com/qm/, user name shubyada@in.ibm.com and its password and try again. Make sure that the Server is available.
Logs:
01:09:18,724 [main] WARN com.ibm.rqm.adapter.library - Unable to determine RQM server version. This is expected for RQM 2.x and earlier servers.
01:09:18,724 [main] ERROR com.ibm.rqm.adapter.commandline - Failed to log in to server at https://igarqm01.swg.usma.ibm.com/qm. Please check the repository URL https://igarqm01.swg.usma.ibm.com/qm, user name shubyada@in.ibm.com and its password and try again. Make sure that the Server is available.
01:12:03,588 [main] WARN com.ibm.rqm.adapter.commandline - Configuration file C:\\Config2.ini does not exist, adapter will use the arguments passed
01:12:04,188 [main] INFO com.ibm.rqm.adapter.library - Successfully created an HTTP client
01:12:07,788 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
01:12:07,798 [main] ERROR com.ibm.rqm.integration.client.clientlib - login error (response code) - 404
Response Body: <H1>SRVE0255E: A WebGroup/Virtual Host to handle /qm/j_security_check has not been defined.</H1><BR><H3>SRVE0255E: A WebGroup/Virtual Host to handle igarqm01.swg.usma.ibm.com:443 has not been defined.</H3><BR><I>IBM WebSphere Application Server</I>
01:12:09,018 [main] ERROR com.ibm.rqm.adapter.library - The adapter failed to connect to the server
com.ibm.rqm.integration.client.clientlib.RQMProtocolException: Unable to log into server: 404: https://igarqm01.swg.usma.ibm.com:-1/qm
at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.login(RQMConnectionHelper.java:198)
at com.ibm.rqm.adapter.library.data.ServerInformation.login(ServerInformation.java:184)
at com.ibm.rqm.adapter.library.data.NewRequester.<init>(NewRequester.java:138)
at com.ibm.rqm.adapter.commandline.QMCommandLineAdapter.main(QMCommandLineAdapter.java:278)
01:12:10,258 [main] WARN com.ibm.rqm.adapter.library - Unable to determine RQM server version. This is expected for RQM 2.x and earlier servers.
01:12:10,268 [main] ERROR com.ibm.rqm.adapter.commandline - Failed to log in to server at https://igarqm01.swg.usma.ibm.com/qm/. Please check the repository URL https://igarqm01.swg.usma.ibm.com/qm/, user name shubyada@in.ibm.com and its password and try again. Make sure that the Server is available.
Ara, I have tried with https://igarqm01.swg.usma.ibm.com/jazz/ web/, https://igarqm01.swg.usma.ibm.com/qm/(this is not working on browser), https://igarqm01.swg.usma.ibm.com/jazz, which is correct URL but still getting same error.
Can you please tell me which license is required to use this utility?
Can you please tell me which license is required to use this utility?