Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Deleting XMLSchema gor error ORA -04022 no wait requested, but had to wait to lock dictionary object

Reva812Jul 21 2015 — edited Jul 22 2015

I have registered an XMLschem in Oracle XDB repository to load XML file into oracle tables using object relational storage. In this process I am trying to
delete the xmlschema to register it again with some changes to the XSD file,but I am not able to delete it and I keep getting the ORA error 04022 no wait
requested, but had to wait to lock dictionary objects.. Before this I have deleted the xmlschem 2-3 times and it worked fine. But now I get the this error.

I tried to delete it with 'DELETE_CASCADE' and also tried 'DELETE_CASCADE_FORCE' and in both cases i get the same error.

I waited for 2-3 days and then retried still got the same error.

Could you please help me with resolving this issue.

Below is the screenshot of the error

Delete Schema No wait error.JPG

Also I tried to purge the schema, but I get the Access Denied error. I am stuck at this point, couldn't move forward

select * from dba_xml_schemas where qual_schema_url like '%HPO484%'; -- 1B01B74F95BE1C91E0540021287E70DC

BEGIN

DBMS_XMLSCHEMA.PURGESCHEMA(schema_id =>'1B01B74F95BE1C91E0540021287E70DC');

END;

It throws below error

ORA-31050: Access denied

ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 109

ORA-06512: at line 1

Could you please help me with this.

Thanks,

Reva

.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2015
Added on Jul 21 2015
2 comments
1,959 views