10 Replies Latest reply: Dec 11, 2013 4:06 AM by Marco Gralike RSS

    System won't allow deletion of resource configuration even though it should have been deleted from all resources

    user1017753

      Hi,

       

      I have an issue were I cannot delete a resource configuration file and receive the below error:

       

      ORA-31134: Cannot delete a configuration that is referenced by other resources

      ORA-06512: at "XDB.DBMS_XDB", line 355

      ORA-06512: at line 9

       

      However I have ran the command below over my repository first

       

          DBMS_RESCONFIG.DELETERESCONFIG(
         '/repository',
         '/repository/config/XXXXXX.xml',
         dbms_resconfig.DELETE_RECURSIVE);
      
      

       

      Then tried to delete the the resource

       

      DBMS_XDB.DeleteResource('/repository/config/XXXXXX.xml',
                               DBMS_XDB.DELETE_RECURSIVE_FORCE);
      
      

       

      However the error message always occurs.  How can resources be referencing the configuration if I have removed it from my repository?

       

      Regards

       

      Rhys