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 jdbc URL

SA-25594

Summary



User was not able to connect to MSSQL server and assuming pega is not able to find the MS SQL Server jdbc driver while trying to create an Extract rule with output Format as Database Schema .

Even the Database rule Testconnection was failing.


Error Messages



No Instance found in the database

Could not open the target database information object : Database-General Problem encountered when getting connection for database insight 0 08001 No suitable driver found for jdbc:sqlserver://a.b.c.d:1433;DatabaseName=sampleDB;SelectMethod=cursor;


Steps to Reproduce



1. Open an existing extract rule.
2. Add new properties to the extract rule.
3. Run to generate the schema DDL.
4. Click Perform extract, and observe error.


Root Cause



The DB driver jar was not picked by the appserver classloader.

Resolution



Update the file (jboss-deployment-structure.xml) inside prpc_j2ee14_jboss61JBM.ear file to set the MS SQL module.

After making this change one can connect to external DB.

Published July 26, 2016 - 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