You cannot exit an Oracle database without committing or rolling back. It is possible that the client application crashed or was forced to terminate, and it was not possible to exit the session on the server where the locks are stored. If so, the DBA will have to kill this session.
, , , , , .
SELECT ses.sid, ses.serial
FROM v$session ses,
dba_blockers blk
WHERE blk.holding_session = ses.sid
,
ALTER SYSTEM KILL SESSION '<<sid>>, <<serial#>>'