Unexpected Login Error. Please Contact Your Administrator "nested exception is java.sql.SQLException: ORA-01000: maximum open cursors exceeded" (Doc ID 1645714.1)

Last updated on OCTOBER 03, 2016

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 6.0 and later
Information in this document applies to any platform.

Symptoms

When trying to login to the P6 web application the user receives an "Unexpected login error. Please contact your administrator" error.

Further if you check in the %P6_HOME%\logs\P6WebAccess.html the following error can be found:

 org.springframework.jdbc.UncategorizedSQLException: CallableStatementCallback; uncategorized SQLException for SQL [{call get_safety_date(?, ?, ?)}]; SQL state [72000]; error code [1000]; ORA-01000: maximum open cursors exceeded
    ; nested exception is java.sql.SQLException: ORA-01000: maximum open cursors exceeded
    
     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:952)
     at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:985)
     at org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:117)
     at com.primavera.jobsvc.common.dao.PrmJdbcDaoSupport.getSafetyDate(Unknown Source)
     at sun.reflect.GeneratedMethodAccessor194.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
     at $Proxy105.getSafetyDate(Unknown Source)
     at com.primavera.jobsvc.common.JobMasterImpl.execute(Unknown Source)
     at com.primavera.infr.threadpool.ThreadPoolImpl.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
    Caused by: java.sql.SQLException: ORA-01000: maximum open cursors exceeded
    
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
     at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
     at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
     at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
     at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
     at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:204)
     at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1006)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
     at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3677)
     at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4714)
     at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
     at com.primavera.infr.db.PPreparedStatement.execute(Unknown Source)
     at org.springframework.jdbc.core.JdbcTemplate$5.doInCallableStatement(JdbcTemplate.java:987)
     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:936)

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