DB Upgrade Fails With ORA-04021 Error (Doc ID 1105014.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 6.1 and later   [Release: 6.1 and later ]
Information in this document applies to any platform.

Goal

After a DB upgrade, the instructions ask for running the run_patch.sql. In some cases, this fails and an error similar to this one is received:

CREATE OR REPLACE PACKAGE Vpd AS
*
ERROR at line 1:
ORA-04021: timeout occurred while waiting to lock object

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms