It's all about the answers!

Ask a question

Problem while running RQM Copy utility. Authentication expired error.


vikrant kamble (1322996) | asked Jul 03 '18, 1:58 a.m.

 Hello, I am running RQM utility to copy test artifacts from project to other project but resulting into below error. Let me give you background of our environment, Initially we had CLM 5.0.2 all applications on single server and proxy server to access CLM. Later we distributed CLM applications. Then these applications were upgraded to CLM 6.0.5 therefore current env is CLM 6.0.5 with distributed topology (QM is installed on dedicated server) being accessed using IHS proxy. While running rqm copy utility on CLM 6.0.5 I am getting below error


********************
02 Jul 2018 19:18:30,851+0530 [main]  INFO com.ibm.rqm.ct.CopyUtil: Attempting to create SSL_TLS context
02 Jul 2018 19:18:33,478+0530 [main]  INFO com.ibm.rqm.ct.CopyUtil: Starting: testcase urn:com.ibm.rqm:testcase:401289
02 Jul 2018 19:18:33,497+0530 [main]  INFO com.ibm.rqm.ct.CopyUtil: Authentication expired, relogin required
02 Jul 2018 19:18:33,552+0530 [main] ERROR com.ibm.rqm.ct.CopyUtil: javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"html"). Expected elements are <{http://www.w3.org/1999/02/22-rdf-syntax-ns#}Description>,<{http://jazz.net/xmlns/alm/qm/v0.1/}Error>,<{http://jazz.net/xmlns/prod/jazz/rqm/process/1.0/}Priority>
    
02 Jul 2018 19:18:33,615+0530 [main] ERROR com.ibm.rqm.ct.CopyUtil: FAILURE!
02 Jul 2018 19:18:33,615+0530 [main]  INFO com.ibm.rqm.ct.CopyUtil: Disconnecting from the source IBM Rational Quality Manager server.
02 Jul 2018 19:18:33,648+0530 [main]  INFO com.ibm.rqm.ct.CopyUtil: Disconnecting from the destination IBM Rational Quality Manager server.
********************
I have cropped most of the error message and kept only relevant error


Comments
vikrant kamble commented Jul 03 '18, 2:01 a.m.

I was looking on jazz.net for similar issue and found this link - 


I am using project alias name in the commands and tried running utility with multiple versions like 6.0.2, 6.0.3, 6.0.4 and 6.0.5 but every time results were same 


Paul Slauenwhite commented Jul 03 '18, 6:02 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

A couple of questions:


1. Are you copying to/from the same version of the RQM server (see https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Compatibility)?

2. What is the RQM Copy Utility command? 

3. Did you check your RQM credentials in the RQM Copy Utility command? 


vikrant kamble commented Jul 03 '18, 9:45 a.m. | edited Jul 03 '18, 9:46 a.m.

Hello Paul,

Please find my comments for your questions
1. I am copying on same RQM server from ProjectA to ProjectB


vikrant kamble commented Jul 03 '18, 9:59 a.m.

 Please note that we are using proxy server to access CLM. 


Reply for third question
3. I did not get exactly how to check RQM credentials in the RQM copy utility command but I am able to login to RQM using same credentials and create test artifacts in source and target project.


Paul Slauenwhite commented Jul 03 '18, 10:29 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

 Hi Vikrant,


Everything looks good.  I would assume it's the proxy server causing your issues.  Can you use the public root URL for the RQM server (see Techniques for changing your topology).


vikrant kamble commented Jul 03 '18, 2:23 p.m.

Do you mean to login into QM with public url?

I am able to login into QM server with public url routed via reverse proxy as well as directly use host name of the system where qm is installed along with port number. In our public url port number is hidden. 


Paul Slauenwhite commented Jul 03 '18, 2:51 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

Right, I was suggesting to use the public root URL for the RQM Copy Utility configuration. 


vikrant kamble commented Jul 04 '18, 1:02 a.m.

Our public url for qm is is https://public_url/qm and the host where it is installed is https://qm_host:9443/qm. I tried running utility with both URL and both times I failed with error mentioned in the question.


vikrant kamble commented Jul 04 '18, 7:24 a.m.

Is there a way to debug copy utility? 


Paul Slauenwhite commented Jul 04 '18, 8:06 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

Unfortunately, no. 

showing 5 of 10 show 5 more comments

One answer



permanent link
Paul Slauenwhite (8.4k12) | answered Jul 04 '18, 8:07 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

Please open a PMR (http://www-01.ibm.com/software/rational/support/eps/#CREATE_a_new_PMR_%28Problem_Management_Record%29_ or https://jazz.net/help >> Open a service ticket) for IBM Support to investigate this symptom in your environment.


Comments
vikrant kamble commented Jul 05 '18, 1:12 a.m.

Hello Paul,


I already opened a PMR and IBM team was investigating the problem but we couldn't find any solution yet. While running RQM utility we were running with additional parameter "-Djavax.net.debug=true" in the command. Because of this parameter we were able to look into logs generated by Java while running the command. Below is one of the error which seemed more relavant

"SSLv3 protocol was requested but was not enabled"
  


vikrant kamble commented Jul 05 '18, 1:15 a.m.

 We tried enabling sslv3 protocol but same problem persisted


Your answer


Register or to post your answer.