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

Build fails with an error when the setup.sh file is run

SA-52636

Summary



Build fails with an error when the setup.sh file is run.


Error Messages



BUILD FAILED
/opt/pega/install/115672_PCRM7.31/ResourceKit/setup/core/tools/utilities.xml:796:
** JDBC jar file /opt/drivers/db2/db2jcc4.jar not found in lib folder /opt/pega/install/ResourceKit/setup/core/lib **



Steps to Reproduce

  1. Navigate to the database.properties file
  2. Specify the db.jdbc.driver.jar property:
    db.jdbc.driver.jar=/opt/drivers/db2/db2jcc4.jar,
    where the value given is a valid path or filename
  3. Run the file


Root Cause



When the script is run, the driver jar file should be present in the ResourceKit/setup/core/lib directory.
Any path specified as part of the driver.jar property is not used as the path for the lookup. Instead, the lookup evaluates the full specification as the filename, which results in the failure.


Resolution



Perform the following local-change:
  1. Copy the driver jar file into the ResourceKit/setup/core/lib directory
  2. Specify the filename for the property value. For example, db.jdbc.driver.jar=db2jcc4.jar


Published March 19, 2018 - Updated December 2, 2021

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