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 installing Pega 7.19 on postresql DB (server 9.4.4)



User gets the following error after running the rulebase installer on Postgresql DB and the build gets failed due to an error while applying UDF's.

Error Messages

Install UDF Jar:
[java] 2016-01-17 22:22:22,321 ( DatabaseLibraryLoader) INFO - Loading user-defined functions into the database.
[java] 2016-01-17 22:22:22,353 ( DatabaseLibraryLoader) INFO - Using a Postgres database.
[java] 2016-01-17 22:22:22,424 ( DatabaseLibraryLoader) WARNING - Encountered a database problem when attempting to load jar onto PostgreSQL: ERROR: relation "sqlj.jar_repository" does not exist
[java] Position: 21
[java] org.postgresql.util.PSQLException: ERROR: relation "sqlj.jar_repository" does not exist

/tmp/pega_install/scripts/setupDatabase.xml:323: The following error occurred while executing this line:
/tmp/pega_install/scripts/setupDatabase.xml:1572: The following error occurred while executing this line:
/tmp/pega_install/scripts/setupUDF.xml:66: Java returned: 1

Total time: 40 seconds

Steps to Reproduce

1. Initiate installation of Postgresql DB.
2. Create the DB, users, schema, and assign permissions.
3. Run install script.

Root Cause

A third-party product issue:

The Pega 7 Platform depends on Java user-defined functions (UDFs) for certain operations. In order for UDFs to work with PostgreSQL, one must install the PL/Java add-on for PostgreSQL DB.

User did not have PL or Java class at their end.


Make the following change to the operating environment: 

Configure PL or Java add-on for Postgresql DB and by having the required class libraries.


Published January 31, 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