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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.