Team Member Does Not Load When Global Activity Code Is Configured Or When Adding 2+ Global Activities

(Doc ID 2113333.1)

Last updated on JANUARY 30, 2017

Applies to:

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

Symptoms

ACTUAL BEHAVIOR
---------------
When adding multiple Global Activity Codes to be displayed in Teammember (from Project Preferences--Team Member-- Activity Updates--Add Code or UDF), TM hangs and Stuck Threads start to grow. Memory utilization by the Team Member Weblogic server grows indefinitely.

 

The following errors might be experienced in the Team Member Weblogic server logs :

Feb-11-2016 09:10:35 227 [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' ERROR com.primavera.infr.db.SQLConnectionPoolMgrImpl ?:? An error occurred while initializing SQLConnectionPool MBean.
javax.management.InstanceAlreadyExistsException: com.primavera.p6web.jmx:type=SQLConnectionPoolInfo_LongRunning_1
at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:445)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:462)
at com.primavera.infr.db.SQLConnectionPoolMgrImpl.a(SQLConnectionPoolMgrImpl.java:159)
at com.primavera.infr.db.SQLConnectionPoolMgrImpl.a(SQLConnectionPoolMgrImpl.java:142)
at com.primavera.infr.db.SQLConnectionPoolMgrImpl.a(SQLConnectionPoolMgrImpl.java:426)
at com.primavera.infr.db.SQLConnectionPoolMgrImpl.a(SQLConnectionPoolMgrImpl.java:226)
at com.primavera.infr.db.SQLConnectionPoolMgrImpl.c(SQLConnectionPoolMgrImpl.java:813)
at com.primavera.infr.db.SQLConnectionPoolMgrImpl.getAuthenticationMode(SQLConnectionPoolMgrImpl.java:764)
at com.primavera.bre.SystemFacadeImpl.getAuthenticationMode(SystemFacadeImpl.java:217)
at com.primavera.bo.common.a.a(LoginHelper.java:102)
at com.primavera.bo.remotable.SessionLifetime.login(SessionLifetime.java:57)
at com.primavera.bo.remotable.qproxy.SessionLifetime.login(SessionLifetime.java:76)
at com.primavera.bo.DBSessionLifetime.login(DBSessionLifetime.java:28)
at com.primavera.integration.server.ServerFacadeBase.login(ServerFacadeBase.java:485)
at com.primavera.integration.server.ServerFacade.login(ServerFacade.java:21)
at com.primavera.integration.client.LocalSession.login(LocalSession.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.primavera.integration.client.Session.a(Session.java:372)
at com.primavera.integration.client.Session.login(Session.java:360)
at com.oracle.pgbu.teammember.security.p6.P6AuthenticatorImpl.authenticateUser(P6AuthenticatorImpl.java:55)
at com.primavera.tm.authentication.P6AuthenticationConnector.authenticateUser(P6AuthenticationConnector.java:88)
at com.primavera.tm.TeamMemberOrchestrator.authenticateUser(TeamMemberOrchestrator.java:196)
at com.oracle.pgbu.servlets.AuthController.login(AuthController.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:421)
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:136)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:326)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:313)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
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.oracle.pgbu.filters.NoCacheNoStoreFilter.doFilter(NoCacheNoStoreFilter.java:30)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
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)
Feb-11-2016 09:10:35 229 [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' ERROR com.primavera.infr.db.SQLConnectionPoolMgrImpl ?:? An error occurred while initializing SQLConnectionPoolPerformance MBean.
javax.management.InstanceAlreadyExistsException: com.primavera.p6web.jmx:type=SQLConnectionPoolPerformanceInfo_LongRunning_1
at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:445)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:462)
at com.primavera.infr.db.SQLConnectionPoolMgrImpl.b(SQLConnectionPoolMgrImpl.java:180)
at com.primavera.infr.db.SQLConnectionPoolMgrImpl.a(SQLConnectionPoolMgrImpl.java:143)
at com.primavera.infr.db.SQLConnectionPoolMgrImpl.a(SQLConnectionPoolMgrImpl.java:426)
at com.primavera.infr.db.SQLConnectionPoolMgrImpl.a(SQLConnectionPoolMgrImpl.java:226)
at com.primavera.infr.db.SQLConnectionPoolMgrImpl.c(SQLConnectionPoolMgrImpl.java:813)
at com.primavera.infr.db.SQLConnectionPoolMgrImpl.getAuthenticationMode(SQLConnectionPoolMgrImpl.java:764)
at com.primavera.bre.SystemFacadeImpl.getAuthenticationMode(SystemFacadeImpl.java:217)
at com.primavera.bo.common.a.a(LoginHelper.java:102)
at com.primavera.bo.remotable.SessionLifetime.login(SessionLifetime.java:57)
at com.primavera.bo.remotable.qproxy.SessionLifetime.login(SessionLifetime.java:76)
at com.primavera.bo.DBSessionLifetime.login(DBSessionLifetime.java:28)
at com.primavera.integration.server.ServerFacadeBase.login(ServerFacadeBase.java:485)
at com.primavera.integration.server.ServerFacade.login(ServerFacade.java:21)
at com.primavera.integration.client.LocalSession.login(LocalSession.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.primavera.integration.client.Session.a(Session.java:372)
at com.primavera.integration.client.Session.login(Session.java:360)
at com.oracle.pgbu.teammember.security.p6.P6AuthenticatorImpl.authenticateUser(P6AuthenticatorImpl.java:55)
at com.primavera.tm.authentication.P6AuthenticationConnector.authenticateUser(P6AuthenticationConnector.java:88)
at com.primavera.tm.TeamMemberOrchestrator.authenticateUser(TeamMemberOrchestrator.java:196)
at com.oracle.pgbu.servlets.AuthController.login(AuthController.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:421)
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:136)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:326)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:313)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
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.oracle.pgbu.filters.NoCacheNoStoreFilter.doFilter(NoCacheNoStoreFilter.java:30)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
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)

 

 

EXPECTED BEHAVIOR
-----------------------
The TM Web should load without any problems.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Login to Primavera P6 Web Client
2. Go to Projects tab and select the EPS area;
3. Right-click on a project and select "Set Project Preferences..."
4. Select the "Team Member" area in the project preferences popup;
5. Select the "Activity Updates" tab;
6. Click on the "Add Code or UDF" button and select one or two entries from the Global Activity Codes list in the new dropdown;
7. Save and close the popup;
8. Login to the Team Member and notice the loading spinner without any data being ever loaded

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