Recreating advanced queuing objects during database upgrade
Expert Brian Peasland explains how solving the ORA-28031 error will enable an Oracle user to recreate queue tables.
ORA-28031: maximum of 148 enabled roles exceeded
ORA-06512: at "SYS.DBMS_RULEADM_INTERNAL", line 28
ORA-06512: at "SYS.DBMS_RULE_ADM", line 138
ORA-06512: at "SYS.DBMS_PRVTAQIS",line 2938
ORE-00904: "QT"."USER_PROP":invalid identifier
How can I recreate the queue tables on the 10.2.0.1 database?
@?/rdbms/admin/catalog.sql
@?/rdbms/admin/catproc.sql
Running those two scripts should recreate the AQ tables.