Command java -jar PortC.jar DMP throwing java.sql.SQLException: ORA-04021: timeout occurred while waiting to lock objects

(Doc ID 2400020.1)

Last updated on MAY 22, 2018

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 8.0.3 and later
Information in this document applies to any platform.

Goal

While starting cloning on one of the environment command "java -jar PortC.jar DMP" got hanged and returned  below error in console
java.sql.SQLException: ORA-04021: timeout occurred while waiting to lock object

  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:382)
  at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:573)
  at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:431)
  at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
  at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
  at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:366)
  at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:752)
  at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:366)
  at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:536)
  at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:228)
  at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
  at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
  at java.sql.DriverManager.getConnection(DriverManager.java:664)
  at java.sql.DriverManager.getConnection(DriverManager.java:247)
  at PortC.ConfigurePorts.createPropertiesFile(ConfigurePorts.java:1475)
  at PortC.ConfigurePorts.main(ConfigurePorts.java:7863)

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