Errors: "An uncaught thread exception was caught by the threadpool. java.lang.OutOfMemoryError", "A Database connection was not recycled" After Logging Into P6 Web

(Doc ID 2109007.1)

Last updated on MARCH 21, 2018

Applies to:

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

Symptoms

After logging in to P6 Web and attempting to navigate to Projects tab, the following errors occur:

ERROR
-----------------------

In the P6 Web Access page:

Red Exclamation Error: Click for details

In the WebLogic P6 Managed Server log (i.e P6.log):

####<Feb 3, 2016 9:54:50 AM AST> <Error> <Socket> <D1WPRVWBP02> <P6> <ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'> <> <> <> <1454482490859> <BEA-000421> <Uncaught Throwable in processSockets
java.lang.OutOfMemoryError: getNewTla.
java.lang.OutOfMemoryError: getNewTla
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:111)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
>
####<Feb 3, 2016 9:54:50 AM AST> <Critical> <WorkManager> <D1WPRVWBP02> <P6> <weblogic.timers.TimerThread> <> <> <> <1454482490874> <BEA-002911> <WorkManager weblogic.kernel.Default failed to schedule a request due to java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
>

In the P6WebAccess.html log:

Feb-03-2016 11:44:06 447 PrmThread-23 WARN com.primavera.infr.db.DBCloserUtils ?:? SQL Exception attempting to close a Connection
java.sql.SQLException: Protocol violation: [8, 1]
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:464)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
at oracle.jdbc.driver.T4C7Ocommoncall.doOROLLBACK(T4C7Ocommoncall.java:68)
at oracle.jdbc.driver.T4CConnection.doRollback(T4CConnection.java:694)
at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:3943)
at com.primavera.infr.db.PoolableConnection.rollback(Unknown Source)
at com.primavera.infr.db.PConnection.close(Unknown Source)
at com.primavera.infr.db.DBCloserUtils.close(Unknown Source)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.getJobInfo(Unknown Source)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.doImport(Unknown Source)
at com.primavera.guiservices.impexp.ImportExportWorker.execute(Unknown Source)
at com.primavera.infr.threadpool.ThreadPoolImpl.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Feb-03-2016 11:44:14 838 PrmThread-23 ERROR com.primavera.infr.threadpool.ThreadPoolImpl ?:? An uncaught thread exception was caught by the threadpool.
java.lang.OutOfMemoryError: allocLargeObjectOrArray: [B, size 524304
at java.lang.reflect.Array.newArray(Native Method)
at java.lang.reflect.Array.newInstance(Array.java:52)
at oracle.jdbc.driver.BufferCache.get(BufferCache.java:226)
at oracle.jdbc.driver.PhysicalConnection.getByteBuffer(PhysicalConnection.java:7659)
at oracle.jdbc.driver.OracleStatement.prepareAccessors(OracleStatement.java:992)
at oracle.jdbc.driver.T4CTTIdcb.receiveCommon(T4CTTIdcb.java:277)
at oracle.jdbc.driver.T4CTTIdcb.receive(T4CTTIdcb.java:146)
at oracle.jdbc.driver.T4C8Oall.readDCB(T4C8Oall.java:844)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:358)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:884)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1167)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1281)
at oracle.jdbc.driver.OracleStatement.doScrollExecuteCommon(OracleStatement.java:4740)
at oracle.jdbc.driver.OraclePreparedStatement.doScrollPstmtExecuteUpdate(OraclePreparedStatement.java:10514)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3591)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3637)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1495)
at com.primavera.infr.db.PPreparedStatement.executeQuery(Unknown Source)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.getJobInfo(Unknown Source)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.doImport(Unknown Source)
at com.primavera.guiservices.impexp.ImportExportWorker.execute(Unknown Source)
at com.primavera.infr.threadpool.ThreadPoolImpl.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Feb-03-2016 11:44:14 791 PrmThread-1 ERROR com.primavera.infr.threadpool.ThreadPoolImpl ?:? An uncaught thread exception was caught by the threadpool.
java.lang.OutOfMemoryError
Feb-03-2016 11:44:14 791 PrmThread-22 ERROR com.primavera.infr.threadpool.ThreadPoolImpl ?:? An uncaught thread exception was caught by the threadpool.
java.lang.OutOfMemoryError: getNewTla
at com.primavera.jobsvc.common.JobServiceExecutable.execute(Unknown Source)
at com.primavera.infr.threadpool.ThreadPoolImpl.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Feb-03-2016 11:44:14 869 [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' ERROR com.primavera.bo.remotable.RemoteLogger ?:? ProjectsApplet: com.primavera.pvapplets.projects.ProjectsApplet @QPD1203973[172.30.40.252] Failed starting the Projects Applet: java.lang.reflect.UndeclaredThrowableException null java.lang.reflect.UndeclaredThrowableException at com.primavera.bo.remotable.qproxy.RemoteRequest.loadData(Unknown Source) at com.primavera.pvapplets.gantt.GanttContainer.loadDataStore(Unknown Source) at com.primavera.pvapplets.gantt.GanttContainer.loadData(Unknown Source) at com.primavera.pvapplets.gantt.ToolbarGanttContainer.loadData(Unknown Source) at com.primavera.pvapplets.gantt.ToolbarGanttContainer.reloadDataAndReinitGUI(Unknown Source) at com.primavera.pvapplets.projects.ProjectsContainer.reloadDataAndReinitGUI(Unknown Source) at com.primavera.pvapplets.gantt.ToolbarGanttContainer.reloadData(Unknown Source) at com.primavera.pvapplets.projects.ProjectsContainer.reloadData(Unknown Source) at com.primavera.pvapplets.gantt.GanttContainer.initialize(Unknown Source) at com.primavera.pvapplets.projects.ProjectsContainer.<init>(Unknown Source) at com.primavera.pvapplets.projects.ProjectsApplet.start(Unknown Source) at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.start(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.primavera.PhoenixException: Remote queue method exception. at com.primavera.infr.q.AbstractQProxyObject.performAction(Unknown Source) at com.primavera.infr.q.AbstractQProxyObject.execute(Unknown Source) at com.primavera.oriweb.preshelpers.BusinessObjectServletServices.executeProxyObject(Unknown Source) at com.primavera.pvweb.servlet.BusinessObjectServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at com.primavera.pvweb.XSSFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at com.primavera.pvweb.FrontFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at com.primavera.pvweb.filters.ApplicationContextInjector.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused by: java.lang.OutOfMemoryError
java.lang.reflect.UndeclaredThrowableException
at com.primavera.bo.remotable.qproxy.RemoteRequest.loadData(Unknown Source)
at com.primavera.pvapplets.gantt.GanttContainer.loadDataStore(Unknown Source)
at com.primavera.pvapplets.gantt.GanttContainer.loadData(Unknown Source)
at com.primavera.pvapplets.gantt.ToolbarGanttContainer.loadData(Unknown Source)
at com.primavera.pvapplets.gantt.ToolbarGanttContainer.reloadDataAndReinitGUI(Unknown Source)
at com.primavera.pvapplets.projects.ProjectsContainer.reloadDataAndReinitGUI(Unknown Source)
at com.primavera.pvapplets.gantt.ToolbarGanttContainer.reloadData(Unknown Source)
at com.primavera.pvapplets.projects.ProjectsContainer.reloadData(Unknown Source)
at com.primavera.pvapplets.gantt.GanttContainer.initialize(Unknown Source)
at com.primavera.pvapplets.projects.ProjectsContainer.<init>(Unknown Source)
at com.primavera.pvapplets.projects.ProjectsApplet.start(Unknown Source)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.start(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.primavera.PhoenixException: Remote queue method exception.
at com.primavera.infr.q.AbstractQProxyObject.performAction(Unknown Source)
at com.primavera.infr.q.AbstractQProxyObject.execute(Unknown Source)
at com.primavera.oriweb.preshelpers.BusinessObjectServletServices.executeProxyObject(Unknown Source)
at com.primavera.pvweb.servlet.BusinessObjectServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.primavera.pvweb.XSSFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.primavera.pvweb.FrontFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.primavera.pvweb.filters.ApplicationContextInjector.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.lang.OutOfMemoryError

Feb-18-2016 14:00:27 985 Finalizer WARN com.primavera.infr.db.PConnection ?:? A Database connection was not recycled. Automatically recycled. Database Name PRIMA pool PML
Feb-18-2016 14:00:27 985 Finalizer WARN com.primavera.infr.db.PConnection ?:? A Database connection was not recycled. Automatically recycled. Database Name PRIMA pool PML

STEPS TO REPRODUCE
-----------------------
The issue can be reproduced at will with the following steps:

  1. Log in to P6 Web Application
  2. Go to projects tab
  3. Red Exclamation Error: Click for details

Changes

 

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