Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to Connect to an external DB2 database

SA-65554

Summary



Unable to connect to an external DB2 database.


Error Messages



Problem encountered when getting a database connection: code: 0 SQLState: 08001 Message: No suitable driver found for jdbc:db2://1X.X.XX:X0000/cm DatabaseException caused by prior exception: java.sql.SQLException: No suitable driver found for jdbc:db2://1X.XX.XX:X0000/cm | SQL Code: 0 | SQL State: 08001
Fail



Steps to Reproduce



Create a database rule in the application as external database with DB2.


Root Cause



An issue in the custom application code or rules.

Issue with loading the DB2 driver.



Resolution



Perform the following local-change:
  1. Import the DB2 driver RAR files from the Developer portal to the Customer CodeSet.
  2. Add the below prconfig.xml.

    <env name="database/drivers" value="com.ibm.db2.jcc.DB2Driver"/>
     
  3. Restart the server.

Published October 12, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us