This section explains how to set up PL/extJava.
See
Refer to "Setting up and Operating PL/extJava" in the Operation Guide for details.
Perform the following procedure:
Set up the primary server
Set up the PL/extJava environment on the primary server.
Set up the standby server
Set up the PL/extJava environment on the standby server, using the same port number, user name, and directory name as the primary server.
Perform the following setup on the standby server:
Create the domain
Configure the database cluster
Configure the postgresql.conf file and the pg_hba.conf file. There is no need to add the users who connect to the database.
Create the container
Create the container, and add the server instance (JavaVM). There is no need to extend PL/extJava using the CREATE EXTENSION statement.
Register the Java functions
Store the Java application. There is no need to register the Java functions using the CREATE FUNCTION and GRANT statements.