My Oracle Support Banner

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.


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(
  at oracle.jdbc.driver.T4CTTIoer.processError(
  at oracle.jdbc.driver.T4CTTIoer.processError(
  at oracle.jdbc.driver.T4CTTIfun.processError(
  at oracle.jdbc.driver.T4CTTIoauthenticate.processError(
  at oracle.jdbc.driver.T4CTTIfun.receive(
  at oracle.jdbc.driver.T4CTTIfun.doRPC(
  at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(
  at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(
  at oracle.jdbc.driver.T4CConnection.logon(
  at oracle.jdbc.driver.PhysicalConnection.(
  at oracle.jdbc.driver.T4CConnection.(
  at oracle.jdbc.driver.T4CDriverExtension.getConnection(
  at oracle.jdbc.driver.OracleDriver.connect(
  at java.sql.DriverManager.getConnection(
  at java.sql.DriverManager.getConnection(
  at PortC.ConfigurePorts.createPropertiesFile(
  at PortC.ConfigurePorts.main(


To view full details, 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 a vibrant support community of peers and Oracle experts.