It's all about the answers!

Ask a question

RQM Adapter Error - Access to the specified resource has been forbidden


Brian DiCola (29311315) | asked May 03 '13, 4:19 p.m.
retagged May 03 '13, 7:56 p.m. by Laura Kuczarski (21137)
Getting error when connecting from RPT to RQM.

Running RQM 4.0.2
Rational Performance Tester 8.3.0.2
User has RQM Connector license
URL is https://server:port/qm
Project is taken from alias specified in qm/service/com.ibm.rqm.integration.service.IIntegrationService/projects
Error is: Access to the specified resource has been forbidden.

Details below

null
Error
Fri May 03 16:13:13 EDT 2013
RPTX2025E Error occurred while registering the adapter.com.ibm.rqm.adapter.library.data.AdapterException: Failed to send data
at com.ibm.rqm.adapter.library.data.NewRequester.internalUploadData(NewRequester.java:1547)
at com.ibm.rqm.adapter.library.data.NewRequester.putData(NewRequester.java:1514)
at com.ibm.rqm.adapter.library.data.NewRequester.putData(NewRequester.java:1491)
at com.ibm.rqm.adapter.library.data.NewRequester.register(NewRequester.java:263)
at com.ibm.rational.test.lt.rqm.adapter.execution.QMRPTAdapter.connect(QMRPTAdapter.java:212)
at com.ibm.rational.test.lt.rqm.adapter.gui.actions.ConnectAction$1.run(ConnectAction.java:85)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.net.ProtocolException: PUT[403] : <html><head><title>Apache Tomcat/7.0.32 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 403 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>Access to the specified resource has been forbidden.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.32</h3></body></html>
at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.internalSendToServer(RQMConnectionHelper.java:429)
at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.putToServer(RQMConnectionHelper.java:387)
at com.ibm.rqm.adapter.library.data.NewRequester.internalUploadData(NewRequester.java:1541)
... 6 more

java.lang.Throwable: com.ibm.rqm.adapter.library.data.AdapterException: Failed to send data
at com.ibm.rqm.adapter.library.data.NewRequester.internalUploadData(NewRequester.java:1547)
at com.ibm.rqm.adapter.library.data.NewRequester.putData(NewRequester.java:1514)
at com.ibm.rqm.adapter.library.data.NewRequester.putData(NewRequester.java:1491)
at com.ibm.rqm.adapter.library.data.NewRequester.register(NewRequester.java:263)
at com.ibm.rational.test.lt.rqm.adapter.execution.QMRPTAdapter.connect(QMRPTAdapter.java:212)
at com.ibm.rational.test.lt.rqm.adapter.gui.actions.ConnectAction$1.run(ConnectAction.java:85)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.net.ProtocolException: PUT[403] : <html><head><title>Apache Tomcat/7.0.32 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 403 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>Access to the specified resource has been forbidden.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.32</h3></body></html>
at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.internalSendToServer(RQMConnectionHelper.java:429)
at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.putToServer(RQMConnectionHelper.java:387)
at com.ibm.rqm.adapter.library.data.NewRequester.internalUploadData(NewRequester.java:1541)
... 6 more


Accepted answer


permanent link
Ara Masrof (3.2k15) | answered May 03 '13, 4:30 p.m.
JAZZ DEVELOPER
 Brian,
I would start by checking  the users (the one you are specifying when starting the adapter) project permissions 
View the project area admin page for the Quality Management project area that the adapter is connecting to and verify the following things:
o The adapter user is a member of the project area that the adapter is connecting to.
o The adapter user has been assigned the Test Team Member role and not the Test Team Contributor role.

Some more troubleshooting tips can be found here


Brian DiCola selected this answer as the correct answer

Comments
Brian DiCola commented May 03 '13, 4:36 p.m.

Thank you Ara.  I changed the role from "Service Account" to "Test Team Member".  And the problem is fixed.  Wonder why "Service Account" does not have the right level of access.

Your answer


Register or to post your answer.