Oracle Solution for Error ora-31127

Solution for Oracle Error ORA-31127

ORA-31127: RCList cannot contain noncommitted resource configuration

What triggered the Error:

A commit was not executed after adding a resource configuration to an RCList by calling DBMS_RESCONFIG.ADDRESCONFIG()

What should we do to fix it:

Make sure a commit is executed after calling DBMS_RESCONFIG.ADDRESCONFIG()