An error message appears when I run an IBM RIT project through of RQM
![](http://jazz.net/_images/myphoto/77bde4a536f1b7b8b0347f5094742117.jpg)
[CRRIT8792E] Error obtaining a database connection. [CRRIT4227E] Unable to load driver class. This should be configured in Library Manager (com.ibm.as400.access.AS400JDBCDriver).
If I try to execute the same RIT project from RQM pointing to RTCP server (installed on virtual machine) also with IBM RIT Agent running happens that
I set the library manager with jt400.jar but it does not work neither
Accepted answer
![](http://jazz.net/_images/myphoto/77bde4a536f1b7b8b0347f5094742117.jpg)
-
RQM runs tests through the "Rational Integration Tester Agent". The Rational Integration Tester Agent has its own Library Manager, separate from that of Rational Integration Tester. (Their UI looks the same, and when you first run the agent one it may pick up the values from the Rational Integration Tester one, but they can save values separately).
So make sure that the database driver class is configured in the Library Manager for the Rational Integration Tester Agent. - Make sure the Rational Integration Tester Agent has been restarted after Library Manager configuration changes have been completed.
As an aside, questions about the Integration Tester side of this RQM integration are more likely to get answers here: https://developer.ibm.com/answers/topics/integration-testing/?smartspace=continuous-testing (in this case, the fact that the error message identifier starts "CRRIT", and mentioned Library Manager, both indicate an Integration Tester problem, not an RQM problem). But I'm happy to provide this answer here as this is where you've asked it.
Comments
![](http://jazz.net/_images/myphoto/77bde4a536f1b7b8b0347f5094742117.jpg)
Thanks Martin Pain,
Effectively the issue was related with RIT Agent and its Library Manager, but I had to remove all Lab resources and adapaters contained in RQM, after that, I had to run the Agent.exe manually from command line using Administrator account, before the service was running with Local Service account, then I set the Administrator to run the service and newly set Lab resources in RQM, now it's working nice very smoothly.
Thanks for your help, even though, I set both Library managers same
Comments
Don Yang
Jun 07 '16, 8:41 p.m.Hi, Sergio
As there is an error to obtain a database connection for RIT, you may want to review the below technote first:
http://www-01.ibm.com/support/docview.wss?uid=swg21696360
Sergio Ruiz
Jun 08 '16, 4:14 p.m.Thanks Don Yang, your technote help me to validate if the DB connection was working or not, simply the issue was related with permissions and RIT Agent configuration.
Thanks again