glassfish
  1. glassfish
  2. GLASSFISH-20924

ConcurrentModificationException in StatsProviderManager.unregister() at startup

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: monitoring
    • Labels:
      None

      Description

      On large scale GlassFish cluster testing we sometimes see the following exception on GlassFish instance startup resulting in the instance not coming up:

      [#|2013-12-04T20:20:41.483+0000|SEVERE|glassfish 4.0|javax.enterprise.system.core|_ThreadID=1;_ThreadName=main;_TimeMillis=1386188441483;_LevelValue=1000;_MessageID=NCLS-CORE-00019;|
        Shutting down server due to startup exception
      java.util.ConcurrentModificationException
          at java.util.Vector$Itr.checkForComodification(Vector.java:1156)
          at java.util.Vector$Itr.next(Vector.java:1133)
          at org.glassfish.external.probe.provider.StatsProviderManager.unregister(StatsProviderManager.java:100)
          at com.sun.enterprise.v3.services.impl.monitor.GrizzlyMonitoring.registerThreadPoolStatsProvider(GrizzlyMonitoring.java:145)
          at com.sun.enterprise.v3.services.impl.GlassfishNetworkListener.registerMonitoringStatsProviders(GlassfishNetworkListener.java:289)
          at com.sun.enterprise.v3.services.impl.GlassfishNetworkListener.start(GlassfishNetworkListener.java:107)
          at com.sun.enterprise.v3.services.impl.GrizzlyProxy.start0(GrizzlyProxy.java:267)
          at com.sun.enterprise.v3.services.impl.GrizzlyProxy.start(GrizzlyProxy.java:241)
          at com.sun.enterprise.v3.services.impl.GrizzlyService.createNetworkProxy(GrizzlyService.java:567)
          at com.sun.enterprise.v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:490)
          at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:298)
          at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:346)
          at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456)
          at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225)
          at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82)
          at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2358)
          at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98)
          at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
          at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
          at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          at java.lang.Thread.run(Thread.java:744) 
      
      1. diff.txt
        2 kB
        Jennifer Chou
      2. StatsProviderManager.java
        5 kB
        Jennifer Chou

        Issue Links

          Activity

          Hide
          Jennifer Chou added a comment -

          Synchronize the methods on StatsProviderManager that update the Vector toBeRegistered: registerStatsProvider, unregister,and setStatsProviderManagerDelegate. Hopefully, performance will not be an issue since these methods are very small.

          Show
          Jennifer Chou added a comment - Synchronize the methods on StatsProviderManager that update the Vector toBeRegistered: registerStatsProvider, unregister,and setStatsProviderManagerDelegate. Hopefully, performance will not be an issue since these methods are very small.
          Hide
          oleksiys added a comment -

          Jennifer, pls. change Vector to ArrayList. The Vector class is thread-safe itself (its methods are synchronized), but as we synchronize StatsProviderManager methods - we don't need extra synchronization.

          Show
          oleksiys added a comment - Jennifer, pls. change Vector to ArrayList. The Vector class is thread-safe itself (its methods are synchronized), but as we synchronize StatsProviderManager methods - we don't need extra synchronization.
          Hide
          Jennifer Chou added a comment -

          Changed Vector to ArrayList.

          Show
          Jennifer Chou added a comment - Changed Vector to ArrayList.
          Hide
          Jennifer Chou added a comment -

          Integrated management-api-3.2.1-b002 which contains the fix. This should fix the ConcurrentModificationException. If the problem is still seen in the large scale cluster test, please reopen this issue.

          r63025 | jc129909 | 2013-12-16 10:52:43 -0500 (Mon, 16 Dec 2013) | 4 lines

          Integrate management-api-3.2.1-b002 which contains the fix for GLASSFISH-20924.
          Approved by Romain Grecourt.
          Passed QL, admin devtests.

          Index: pom.xml
          ===================================================================
          — pom.xml (revision 63024)
          +++ pom.xml (working copy)
          @@ -161,7 +161,7 @@
          <jax-rs-api.version>2.0</jax-rs-api.version>
          <mimepull.version>1.9.3</mimepull.version>
          <jbi.version>1.0</jbi.version>

          • <glassfish-management-api.version>3.2.0-b001</glassfish-management-api.version>
            + <glassfish-management-api.version>3.2.1-b002</glassfish-management-api.version>
            <btrace.version>1.0.5</btrace.version>
            <opendmk.version>1.0-b01-ea</opendmk.version>
            <v3-docs.version>4.0-b27</v3-docs.version>
          Show
          Jennifer Chou added a comment - Integrated management-api-3.2.1-b002 which contains the fix. This should fix the ConcurrentModificationException. If the problem is still seen in the large scale cluster test, please reopen this issue. r63025 | jc129909 | 2013-12-16 10:52:43 -0500 (Mon, 16 Dec 2013) | 4 lines Integrate management-api-3.2.1-b002 which contains the fix for GLASSFISH-20924 . Approved by Romain Grecourt. Passed QL, admin devtests. Index: pom.xml =================================================================== — pom.xml (revision 63024) +++ pom.xml (working copy) @@ -161,7 +161,7 @@ <jax-rs-api.version>2.0</jax-rs-api.version> <mimepull.version>1.9.3</mimepull.version> <jbi.version>1.0</jbi.version> <glassfish-management-api.version>3.2.0-b001</glassfish-management-api.version> + <glassfish-management-api.version>3.2.1-b002</glassfish-management-api.version> <btrace.version>1.0.5</btrace.version> <opendmk.version>1.0-b01-ea</opendmk.version> <v3-docs.version>4.0-b27</v3-docs.version>
          Hide
          dpandulev added a comment -

          After having similar issue and upgrading to glassfish 4.1 i have the following exception:

          Local Exception Stack:
          Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
          Internal Exception: java.sql.SQLException
          Error Code: 0
          Call: SELECT channel_core_timer_timestamp FROM channel_core_timers WHERE channel_core_timer_id = 1
          Query: DataReadQuery(sql="SELECT channel_core_timer_timestamp FROM channel_core_timers WHERE channel_core_timer_id = 1")
          at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:316)
          at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:135)
          at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
          at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:346)
          at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:307)
          at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.reconnect(DatasourceAccessor.java:581)
          at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.reconnect(DatabaseAccessor.java:1625)
          at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.incrementCallCount(DatasourceAccessor.java:321)
          at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:613)
          at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:558)
          at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:2002)
          at org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:298)
          at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:242)
          at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:228)
          at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:299)
          at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelect(DatasourceCallQueryMechanism.java:281)
          at org.eclipse.persistence.queries.DataReadQuery.executeNonCursor(DataReadQuery.java:197)
          at org.eclipse.persistence.queries.DataReadQuery.executeDatabaseQuery(DataReadQuery.java:152)
          at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:899)
          at org.eclipse.persistence.queries.DataReadQuery.execute(DataReadQuery.java:137)
          at org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:798)
          at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2896)
          at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1804)
          at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1786)
          at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1751)
          at org.eclipse.persistence.internal.jpa.QueryImpl.executeReadQuery(QueryImpl.java:258)
          at org.eclipse.persistence.internal.jpa.QueryImpl.getSingleResult(QueryImpl.java:517)
          at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getSingleResult(EJBQueryImpl.java:400)
          at com.egt.nse.services.aggregations.ArchiveChannelsTimerBean.getValidChannelTimersDate(ArchiveChannelsTimerBean.java:32)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:497)
          at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)
          at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)
          at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786)
          at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)
          at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
          at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
          at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:46)
          at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)
          at sun.reflect.GeneratedMethodAccessor331.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:497)
          at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
          at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
          at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
          at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)
          at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:140)
          at sun.reflect.GeneratedMethodAccessor332.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:497)
          at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
          at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
          at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369)
          at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4758)
          at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746)
          at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:212)
          at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
          at com.sun.proxy.$Proxy416.getValidChannelTimersDate(Unknown Source)
          at com.egt.nse.services.aggregations._EJB31_GeneratedArchiveChannelsTimerBeanIntf__Bean_.getValidChannelTimersDate(Unknown Source)
          at com.egt.nse.services.aggregations.TransactionsAggregationManagerBean.aggregateData(TransactionsAggregationManagerBean.java:37)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:497)
          at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)
          at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)
          at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786)
          at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)
          at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
          at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
          at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:46)
          at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)
          at sun.reflect.GeneratedMethodAccessor331.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:497)
          at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
          at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
          at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
          at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)
          at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:140)
          at sun.reflect.GeneratedMethodAccessor332.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:497)
          at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
          at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
          at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369)
          at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4758)
          at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746)
          at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:212)
          at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
          at com.sun.proxy.$Proxy384.aggregateData(Unknown Source)
          at com.egt.nse.services.aggregations._EJB31_GeneratedTransactionsAggregationManagerBeanIntf__Bean_.aggregateData(Unknown Source)
          at com.egt.nse.services.aggregations.AggregationManagerBean.tryUpdateTime(AggregationManagerBean.java:30)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:497)
          at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)
          at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)
          at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786)
          at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)
          at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
          at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
          at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:55)
          at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)
          at sun.reflect.GeneratedMethodAccessor331.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:497)
          at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
          at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
          at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
          at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)
          at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundTimeout(SystemInterceptorProxy.java:145)
          at sun.reflect.GeneratedMethodAccessor346.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:497)
          at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
          at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
          at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369)
          at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4758)
          at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746)
          at com.sun.ejb.containers.BaseContainer.callEJBTimeout(BaseContainer.java:4051)
          at com.sun.ejb.containers.EJBTimerService.deliverTimeout(EJBTimerService.java:1199)
          at com.sun.ejb.containers.EJBTimerService.access$000(EJBTimerService.java:89)
          at com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.run(EJBTimerService.java:1919)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at java.lang.Thread.run(Thread.java:745)
          Caused by: java.sql.SQLException
          at com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.getConnection(ConnectorConnectionPoolAdminServiceImpl.java:1643)
          at com.sun.enterprise.connectors.ConnectorRuntime.getConnection(ConnectorRuntime.java:639)
          at org.glassfish.jdbcruntime.service.JdbcDataSource.getConnection(JdbcDataSource.java:86)
          at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:123)
          ... 130 more
          Caused by: java.util.ConcurrentModificationException
          at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
          at java.util.ArrayList$Itr.remove(ArrayList.java:865)
          at org.glassfish.jdbcruntime.JdbcPoolMonitoringExtension.unregisterPool(JdbcPoolMonitoringExtension.java:147)
          at com.sun.enterprise.resource.pool.monitor.ConnectionPoolStatsProviderBootstrap.poolDestroyed(ConnectionPoolStatsProviderBootstrap.java:367)
          at com.sun.enterprise.resource.pool.PoolLifeCycleRegistry.poolDestroyed(PoolLifeCycleRegistry.java:126)
          at com.sun.enterprise.resource.pool.PoolManagerImpl.killPool(PoolManagerImpl.java:472)
          at com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.killPool(ConnectorConnectionPoolAdminServiceImpl.java:389)
          at com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.unloadAndKillPool(ConnectorConnectionPoolAdminServiceImpl.java:1391)
          at com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.getUnpooledConnection(ConnectorConnectionPoolAdminServiceImpl.java:629)
          at com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.getConnection(ConnectorConnectionPoolAdminServiceImpl.java:1627)
          ... 133 more

          Show
          dpandulev added a comment - After having similar issue and upgrading to glassfish 4.1 i have the following exception: Local Exception Stack: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException Error Code: 0 Call: SELECT channel_core_timer_timestamp FROM channel_core_timers WHERE channel_core_timer_id = 1 Query: DataReadQuery(sql="SELECT channel_core_timer_timestamp FROM channel_core_timers WHERE channel_core_timer_id = 1") at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:316) at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:135) at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162) at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:346) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:307) at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.reconnect(DatasourceAccessor.java:581) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.reconnect(DatabaseAccessor.java:1625) at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.incrementCallCount(DatasourceAccessor.java:321) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:613) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:558) at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:2002) at org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:298) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:242) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:228) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:299) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelect(DatasourceCallQueryMechanism.java:281) at org.eclipse.persistence.queries.DataReadQuery.executeNonCursor(DataReadQuery.java:197) at org.eclipse.persistence.queries.DataReadQuery.executeDatabaseQuery(DataReadQuery.java:152) at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:899) at org.eclipse.persistence.queries.DataReadQuery.execute(DataReadQuery.java:137) at org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:798) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2896) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1804) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1786) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1751) at org.eclipse.persistence.internal.jpa.QueryImpl.executeReadQuery(QueryImpl.java:258) at org.eclipse.persistence.internal.jpa.QueryImpl.getSingleResult(QueryImpl.java:517) at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getSingleResult(EJBQueryImpl.java:400) at com.egt.nse.services.aggregations.ArchiveChannelsTimerBean.getValidChannelTimersDate(ArchiveChannelsTimerBean.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081) at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153) at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786) at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656) at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822) at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608) at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:46) at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52) at sun.reflect.GeneratedMethodAccessor331.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883) at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822) at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608) at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163) at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:140) at sun.reflect.GeneratedMethodAccessor332.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883) at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822) at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369) at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4758) at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746) at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:212) at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88) at com.sun.proxy.$Proxy416.getValidChannelTimersDate(Unknown Source) at com.egt.nse.services.aggregations._ EJB31_Generated ArchiveChannelsTimerBean Intf __ Bean _.getValidChannelTimersDate(Unknown Source) at com.egt.nse.services.aggregations.TransactionsAggregationManagerBean.aggregateData(TransactionsAggregationManagerBean.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081) at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153) at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786) at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656) at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822) at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608) at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:46) at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52) at sun.reflect.GeneratedMethodAccessor331.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883) at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822) at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608) at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163) at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:140) at sun.reflect.GeneratedMethodAccessor332.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883) at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822) at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369) at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4758) at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746) at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:212) at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88) at com.sun.proxy.$Proxy384.aggregateData(Unknown Source) at com.egt.nse.services.aggregations._ EJB31_Generated TransactionsAggregationManagerBean Intf __ Bean _.aggregateData(Unknown Source) at com.egt.nse.services.aggregations.AggregationManagerBean.tryUpdateTime(AggregationManagerBean.java:30) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081) at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153) at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786) at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656) at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822) at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608) at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:55) at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52) at sun.reflect.GeneratedMethodAccessor331.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883) at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822) at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608) at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163) at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundTimeout(SystemInterceptorProxy.java:145) at sun.reflect.GeneratedMethodAccessor346.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883) at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822) at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369) at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4758) at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746) at com.sun.ejb.containers.BaseContainer.callEJBTimeout(BaseContainer.java:4051) at com.sun.ejb.containers.EJBTimerService.deliverTimeout(EJBTimerService.java:1199) at com.sun.ejb.containers.EJBTimerService.access$000(EJBTimerService.java:89) at com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.run(EJBTimerService.java:1919) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.sql.SQLException at com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.getConnection(ConnectorConnectionPoolAdminServiceImpl.java:1643) at com.sun.enterprise.connectors.ConnectorRuntime.getConnection(ConnectorRuntime.java:639) at org.glassfish.jdbcruntime.service.JdbcDataSource.getConnection(JdbcDataSource.java:86) at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:123) ... 130 more Caused by: java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901) at java.util.ArrayList$Itr.remove(ArrayList.java:865) at org.glassfish.jdbcruntime.JdbcPoolMonitoringExtension.unregisterPool(JdbcPoolMonitoringExtension.java:147) at com.sun.enterprise.resource.pool.monitor.ConnectionPoolStatsProviderBootstrap.poolDestroyed(ConnectionPoolStatsProviderBootstrap.java:367) at com.sun.enterprise.resource.pool.PoolLifeCycleRegistry.poolDestroyed(PoolLifeCycleRegistry.java:126) at com.sun.enterprise.resource.pool.PoolManagerImpl.killPool(PoolManagerImpl.java:472) at com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.killPool(ConnectorConnectionPoolAdminServiceImpl.java:389) at com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.unloadAndKillPool(ConnectorConnectionPoolAdminServiceImpl.java:1391) at com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.getUnpooledConnection(ConnectorConnectionPoolAdminServiceImpl.java:629) at com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.getConnection(ConnectorConnectionPoolAdminServiceImpl.java:1627) ... 133 more

            People

            • Assignee:
              Jennifer Chou
              Reporter:
              Joe Di Pol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: