Unable to setup Postgre RDS on AWS
SummaryDevelopers 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 MessagesThe database table installation will fail indicating that PL/Java extension is missing.
Steps to Reproduce1. Get Pega with Tomcat/Postgre SQL for version Pega 7.1.9.
2. Begin installation of the database scripts.
Root CauseRefer to the product documentation:
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.
ResolutionHere’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
Set this property to true and installing PL/java will not be required. Complete the installation after making these changes.
Published December 30, 2016 - Updated January 13, 2017