> --------------------------------------------------------------------------------
> Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit
> Production
> PL/SQL Release 11.2.0.2.0 - Production
> CORE 11.2.0.2.0 Production
> TNS for HPUX: Version 11.2.0.2.0 - Production
> NLSRTL Version 11.2.0.2.0 - Production
>
> SQL> select comp_name, status from dba_registry;
>
> COMP_NAME
> ------------------------------------------------------------------------------------------------------------------------------------
> STATUS
> -----------
> Oracle XML Database
> VALID
>
> Oracle Database Catalog Views
> VALID
>
> Oracle Database Packages and Types
> VALID
>
> Regards
> Rajeev
Hi again,
I put up a trace on session and executed the query which was throwing
error :
SQL> BEGIN
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(acl => 'kt.xml',
host => 'mailserver',
lower_port => null,
upper_port => null);
commit;
END;
/ 2 3 4 5 6 7 8
BEGIN
*
ERROR at line 1:
ORA-06553: PLS-306: wrong number or types of arguments in call to
'OBJECT_ID'
ORA-06512: at line 6
And I see the below query in trace file:
SELECT A.OBJECT_ID FROM XDB.XDB$ACL A, PATH_VIEW P WHERE
XMLCAST(XMLQUERY(
'declare default element namespace "
http://xmlns.oracle.com/xdb/
XDBResource.xsd";
fn:data(/Resource/XMLRef)' PASSING P.RES RETURNING CONTENT) AS REF
XMLTYPE)
= REF(A) AND EQUALS_PATH(P.RES, :B1 ) = 1
It seems to me the error w.r.t to OBJECT ID and this query is related.
Any pointers for moving further ?
Regards
Rajeev