java.sql.SQLException: [BEA][Oracle JDBC Driver][Oracle]ORA-00001: unique constraint (PK_LEASE) violated (Doc ID 976100.1)

Last updated on FEBRUARY 22, 2017

Applies to:

Oracle WebLogic Portal - Version 10.2.0 to 10.3.1.0.3
Information in this document applies to any platform.

Symptoms

The following exception is observed in the server log files, potentially causing the log files to grow significantly bigger.

java.sql.SQLException: [BEA][Oracle JDBC Driver][Oracle]ORA-00001: unique constraint (DB.PK_LEASE) violated

at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
at weblogic.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at weblogic.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:125)
at com.bea.p13n.util.lease.JDBCLeaseManager.createLeaseInDatabase(JDBCLeaseManager.java:313)
at com.bea.p13n.util.lease.JDBCLeaseManager.createDatabaseLease(JDBCLeaseManager.java:146)
at com.bea.p13n.util.lease.JDBCLeaseManager.obtainLease(JDBCLeaseManager.java:92)
at com.bea.p13n.jobmanager.JobManager.timerExpired(JobManager.java:877)
at weblogic.timers.internal.commonj.ListenerWrap.timerExpired(ListenerWrap.java:37)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

Cause

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