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

Add to provider in RQM giving internal error when integrated with Build Forge

Hi,

In Lab management -> create machine, entered the hostname and IP details of the server. then clicked on Add Provider and entered username password of the server. Provider was displayed automatically which was defined in integration_config.xml. In Temp path gave the path of build forge agent. Later when clicked on save button encountered this error.

An internal error has occurred within provider server, please see server log for more details

In qm.log I see the below error. Please let me know if this is error is authentication error while connecting from RQM to Build forge.
2012-06-07 19:29:54,821 [              WebContainer : 2]  INFO com.ibm.rational.test.lm.spi.bf.v71                 - class com.ibm.rational.test.lm.spi.bf.v71.BFRestSPIImpl:connectAsSystem AQXSP0001I The external provider SPI is logging information: >>>Connecting as SYSTEM
2012-06-07 19:29:54,859 [              WebContainer : 2]  INFO com.ibm.rational.test.lm.spi.bf.v71                 - class com.ibm.rational.test.lm.spi.bf.v71.BFRestSPIImpl:connectAsSystem AQXSP0001I The external provider SPI is logging information: >>>Connecting as SYSTEM
2012-06-07 19:29:54,882 [              WebContainer : 2] ERROR com.ibm.rational.test.lm.service                    - class com.ibm.rational.test.lm.service.spi.integration.IntegrationService:addAsset AQXSP5007E Encountered an error within the external provider SPI: com.ibm.rational.test.lm.spi.common.SPIException: BuildForge APIException: API: Authentication Error.

0 votes



3 answers

Permanent link
I'm not familiar with the RQM/BF integration, but the APIException here occurs when the user/password does not match a Build Forge user.  Perhaps the credentials you gave should have been a BF user/password, instead of a server user/password.

0 votes


Permanent link
Hi ,

Thanks for the reply. I have fixed the authentication error but seeing some other error now while adding a machine.

This is the error "Failed adding lab resource to provider"
2012-06-08 18:48:37,430 [             WebContainer : 41] ERROR com.ibm.rational.test.lm.service                    - class com.ibm.rational.test.lm.service.spi.integration.IntegrationService:addAsset AQXSP5007E Encountered an error within the external provider SPI: com.ibm.rational.test.lm.spi.common.SPIException: BuildForge ServiceException: Message[uuid=null, timestamp=1339161641, userUuid=, processId=0, severity=ERROR, type=, componentUuid=null, messageKey=DBQueryFailed, indirectionMask=0, args={org.apache.commons.dbcp.DelegatingPreparedStatement@675a675a|com.ibm.db2.jcc.b.lm: DB2 SQL Error: SQLCODE=-530, SQLSTATE=23503, SQLERRMC=BFSCHEMA.BF_MESSAGES.FK_BF_MESSAGE1, DRIVER=3.50.152}]

0 votes


Permanent link
That error is for a foreign key constraint violation.  RQM is trying to insert something into the bf_messages table that does not satisfy the constraints.  You will probably have to open a PMR with Build Forge to dig down to figure out how the constraint is getting violated.

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
× 6,125

Question asked: Jun 07 '12, 10:33 a.m.

Question was seen: 7,178 times

Last updated: Jun 08 '12, 10:31 a.m.

Confirmation Cancel Confirm