Support Article
Pega 719 PAD schema privileges
SA-16511
Summary
JBoss
Oracle 11.2
-----------------------
When installing DSM, there is a separate schema for Predictive Analytics Director (PAD). The PAD schema user has grants
grant create table to pega_pad;
grant create index to pega_pad;
grant create view to pega_pad;
grant create sequence to pega_pad;
grant select any table to pega_pad;
Error Messages
msg="ORA-01031: insufficient privileges" state="42000" code=1031
java.sql.SQLSyntaxErrorException: ORA-01031: insufficient privileges
Steps to Reproduce
1) Attempt to set assign the database in PAD Settings landing page.
Root Cause
A defect or configuration issue in the operating environment . when setting a new database in the PAD Setting landing page, there is an implementation to check the project status for the existing PAD Setup.
On the first install time, because there are no tables, the process tries to setup PAD schema on the pre-defined PegaDATA database rule.
the failure occurs because, in the split schema, the current PRPC user doesn't have create table privileges
Resolution
Perform the following local-change: provide the following privileges to PegaDATA user.
grant create table to pega_data;
grant create index to pega_data;
grant create view to pega_data;
grant create sequence to pega_data;
grant select any table to pega_data;
Afterwards navigate to PAD setting landing page and change it to new database rule setup for external PAD schema.
Log on to PADPortal, the first time log-in will generate the PAD table on the set Database schema.
The issue of trying to create tables when updating the database rule in PAD setting landing page will be addressed in Pega 7.1.11.
Published January 31, 2016 - 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.