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.
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.
3 answers
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}]
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}]