It's all about the answers!

Ask a question

Running RQM Command Line adapter


Fernando Ruscitti (312) | asked Jun 18 '13, 8:50 a.m.
JAZZ DEVELOPER
 Hello. I'm trying to run the RQM Command Line Adapter, and getting this error:

Encountered an error while validating the specified server information.  Status code: 3

Any hint? It is on CLM 4.0.2

Thanks
fernando

Accepted answer


permanent link
Sunil Kumar R (1.1k13344) | answered Jun 18 '13, 9:00 a.m.
JAZZ DEVELOPER
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
Fernando Ruscitti selected this answer as the correct answer

Comments
Fernando Ruscitti commented Jun 18 '13, 9:30 a.m.
JAZZ DEVELOPER

I was not setting the -projectArea and got that message. Setting it as you said solve the problem. Thanks.


6 other answers



permanent link
Ara Masrof (3.2k15) | answered Jun 18 '13, 9:00 a.m.
JAZZ DEVELOPER
 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!

Comments
Fernando Ruscitti commented Jun 18 '13, 9:29 a.m.
JAZZ DEVELOPER

Tanks Ara/Sunil, I was not setting the project area at all and that gave the error. Just setting the -projectArea solve the problem.


Thanks very much.
regards;
fernando. 


permanent link
shubhangi yadav (4810) | answered Oct 16 '14, 2:05 p.m.
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

Comments
Ara Masrof commented Oct 16 '14, 2:14 p.m.
JAZZ DEVELOPER

Are you adding double quotes around the RQM Project Area? If not, I would add add that and attempt to connect again 


Ara 


shubhangi yadav commented Oct 16 '14, 2:25 p.m. | edited Oct 16 '14, 2:59 p.m.

Hi Ara, thanks for your reply but still getting
 same error
this is log file:
19:27:31,217 [main]  WARN com.ibm.rqm.adapter.commandline                    - Configuration file C:\Config2.ini does not exist, adapter will use the arguments passed
19:27:32,325 [main]  INFO com.ibm.rqm.adapter.library                        - Successfully created an HTTP client
19:27:37,738 [main]  INFO com.ibm.rqm.adapter.library                        - The adapter is now connected
19:27:40,437 [main] ERROR com.ibm.rqm.adapter.commandline                    - Encountered an error while validating the specified server information.  Status code: 3


permanent link
Ara Masrof (3.2k15) | answered Oct 16 '14, 3:25 p.m.
JAZZ DEVELOPER
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)

permanent link
shubhangi yadav (4810) | answered Oct 16 '14, 3:47 p.m.
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.


permanent link
Ara Masrof (3.2k15) | answered Oct 16 '14, 3:59 p.m.
JAZZ DEVELOPER
 Are you sure the context root that you are using is correct (i.e. /qm)?
If you log in with a browser, what is URI used to connect to RQM? The Context root should be same as the one you use for the Command Line Adapter 

permanent link
shubhangi yadav (4810) | answered Oct 17 '14, 4:38 a.m.
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?

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.