My Oracle Support Banner

ORA-1031 AND ORA-942 WHILE ACCESSING SYSTEM.AQ$_INTERNET_AGENT_PRIVS IN DBMS_AQJMS.GET_DB_USERNAME_FOR_AGENT (Doc ID 2812919.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 19.11.0.0.0 and later
Information in this document applies to any platform.

Symptoms

One may see below error after upgrading database to 19c if using Advanced Queue custom applications:

<application log>

error_message>JMS-410: XML SQL Exception
ORA-00604: error occurred at recursive SQL level 1
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_AQJMS_INTERNAL", line 46
ORA-06512: at "SYS.DBMS_AQJMS", line 456

Changes

 Database upgrade to 19c.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.