Adding a third privilege to an access control entry ACE with two existing privileges in an access control list (ACL) fails with ORA-19279
(Doc ID 1336938.1)
Last updated on FEBRUARY 26, 2019
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 and later
Information in this document applies to any platform.
***Checked for relevance on 31-Dec-2012***
Adding a third privilege to a user's access control entry (ACE) with two existing privileges in an access control list (ACL) via the ADD_PRIVILEGE procedure in the DBMS_NETWORK_ACL_ADMIN PL/SQL package fails with following error:
"ORA-19279: XPTY0004 - XQuery dynamic type mismatch: expected singleton sequence - got multi-item sequence"
b varchar2(20) := 'SCOTT';
acl => 'acl_sl10.xml',
principal => b,
is_grant => true,
privilege => 'use-client-certificates');
ERROR at line 1:
ORA-19279: XPTY0004 - XQuery dynamic type mismatch: expected singleton sequence - got multi-item sequence
ORA-06512: at "SYS.DBMS_NETWORK_ACL_ADMIN", line 384
ORA-06512: at line 4
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