Support Article
Unable to setup Postgre RDS on AWS
SA-32032
Summary
Developers are trying to migrate Pega to Amazon Web Services (AWS) with Tomcat and make use of EC2 Postgre SQL.
However, they are encountering an issue while doing this setup and are unable to install the PL/Java extension.
This package is not available in the AWS list of supported extensions.
Amazon also does not give permission to install any other packages on the EC2 instances.
Error Messages
The database table installation will fail indicating that PL/Java extension is missing.
Steps to Reproduce
1. Get Pega with Tomcat/Postgre SQL for version Pega 7.1.9.
2. Begin installation of the database scripts.
Root Cause
Refer to the product documentation: https://pdn.pega.com/documents/pega-719-platform-installation-guide-postgresql-apache-tomcat
Page 14 says - Enable Java in the database if you plan to use User-Defined Functions (UDFs).
If there is no plan on using UDFs, PL/Java is not required.
Resolution
Here’s the explanation for the reported behavior:
In your setupdatabase.properties file, there is an option to skip UDFs:
# Generate UDF will be skipped if this property is set to true
# Note: Leave this property blank if you need to generate the UDF
bypass.udf.generation
Set this property to true and installing PL/java will not be required. Complete the installation after making these changes.
Published January 13, 2017 - 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.