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

Running RQM Command Line adapter

 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

0 votes


Accepted answer

Permanent link
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

0 votes

Comments

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



6 other answers

Permanent link
 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!

1 vote

Comments

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

0 votes

Comments

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


Ara 

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
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)

0 votes


Permanent link
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.

0 votes


Permanent link
 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 

0 votes


Permanent link
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?

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
× 87

Question asked: Jun 18 '13, 8:50 a.m.

Question was seen: 10,058 times

Last updated: Oct 17 '14, 4:38 a.m.

Confirmation Cancel Confirm