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

Error when using runPega to generate password



When using runPega to generate the encrypted password, to be used by PRPCUtils script, an error is encountered.

Error Messages

SEVERE: Unable to connect to database. Will only use properties from file.
com.pega.pegarules.configdbcp.dbcp.SQLNestedException: Cannot load JDBC driver class ''
at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.createDataSource(
at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.getConnection(

Apr 3, 2015 12:13:35 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
============ PegaRULES Bootstrap Configuration ============
Date: Fri Apr 03 12:13:35 MST 2015
Java Version: IBM Corporation 1.5.0
Configuration: file://PRPC6.3/114235_PRPC_v6.3_SP1/prweb/WEB-INF/classes/
Pega-EngineCode: <none specified>

(!) Unable to use given database configuration
(!) Unable to locate classes on filesystem
=============== End Bootstrap Configuration ===============

Steps to Reproduce

Attempt to run the runPega script specifying the required arguments, including the PassGen class.

Root Cause

The root cause of this problem is defect/misconfiguration in the operating environment. The Java version in use is not compatible with the JDBC driver:

java.lang.UnsupportedClassVersionError: (com/ibm/db2/jcc/DB2DataSource) bad major version at offset=6

Java Version: IBM Corporation 1.5.0


This issue is resolved by making the following change to the operating environment: 

Ensure that the JDBC driver and version of Java are compatible with each other. Problem was resolved after upgrading to Java 6.

Published June 12, 2015 - 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