Support Article
GenerateDDL error when upgraded from Pega 7.1.5 to Pega 7.1.7
SA-8302
Summary
The user is unable to upgrade from Pega 7.1.5 to Pega 7.1.7. The upgrade package was downloaded according to the instructions. The database script requires manual generation. An error occurrs and the script fails when generateDDL script was run.
Error Messages
BUILD FAILED
Drive name:\Path: Unable to load driver class from the following path(s): db2jcc4.jar
Steps to Reproduce
1. Download and extract Pega 7.1.7.
2. Navigate to Pega7.1.7_Upgrade/scripts, and modify setupDatabase.properties file.
3. Copy Java Database Connectivity (JDBC) driver file db2jcc4.jar to the same folder.
4. Run command line: ".\generateddl.bat --action upgrade"
Root Cause
The JDBC driver must be in the class path. - /scripts is not in the class path. It should be included in /lib.
Resolution
Include the JDBC driver in /lib.
Published May 14, 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.