[teiid-issues] [JBoss JIRA] Resolved: (TEIID-733) ConcurrentModificationException in SessionMonitor

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Thu Jul 23 17:09:29 EDT 2009


     [ https://jira.jboss.org/jira/browse/TEIID-733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-733.
----------------------------------

    Resolution: Done


Changed the dqpcore stop to call shutdownnow on the threadpool.  If we are still seeing exceptions after this we'll need to have more log output and/or add some null checks in the cache code to at least get a better exception.

> ConcurrentModificationException in SessionMonitor
> -------------------------------------------------
>
>                 Key: TEIID-733
>                 URL: https://jira.jboss.org/jira/browse/TEIID-733
>             Project: Teiid
>          Issue Type: Bug
>          Components: Embedded, Query Engine
>    Affects Versions: 6.1.0
>            Reporter: Ted Jones
>            Assignee: Steven Hawkins
>             Fix For: 6.2.0
>
>
> While running a Seam CRUD Web App against Teiid, I am seeing the following intermittent error:
> 14:00:51,806 ERROR [STDERR] Exception in thread "SessionMonitor" 
> 14:00:51,814 ERROR [STDERR] java.util.ConcurrentModificationException
> 14:00:51,815 ERROR [STDERR] 	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
> 14:00:51,815 ERROR [STDERR] 	at java.util.HashMap$ValueIterator.next(HashMap.java:822)
> 14:00:51,815 ERROR [STDERR] 	at com.metamatrix.platform.security.session.service.SessionServiceImpl.monitorSessions(SessionServiceImpl.java:97)
> 14:00:51,815 ERROR [STDERR] 	at com.metamatrix.platform.security.session.service.SessionServiceImpl.access$000(SessionServiceImpl.java:71)
> 14:00:51,815 ERROR [STDERR] 	at com.metamatrix.platform.security.session.service.SessionServiceImpl$1.run(SessionServiceImpl.java:340)
> 14:00:51,815 ERROR [STDERR] 	at java.util.TimerThread.mainLoop(Timer.java:512)
> 14:00:51,815 ERROR [STDERR] 	at java.util.TimerThread.run(Timer.java:462)
> 14:02:55,126 ERROR [STDERR] Exception in thread "Worker10" 
> 14:02:55,135 ERROR [STDERR] java.lang.NullPointerException
> 14:02:55,135 ERROR [STDERR] 	at com.metamatrix.cache.jboss.JBossCache.getChild(JBossCache.java:145)
> 14:02:55,135 ERROR [STDERR] 	at org.teiid.dqp.internal.cache.DQPContextCache.removeRequestScopedCache(DQPContextCache.java:60)
> 14:02:55,135 ERROR [STDERR] 	at org.teiid.dqp.internal.process.DQPCore.removeRequest(DQPCore.java:304)
> 14:02:55,135 ERROR [STDERR] 	at org.teiid.dqp.internal.process.RequestWorkItem.attemptClose(RequestWorkItem.java:357)
> 14:02:55,135 ERROR [STDERR] 	at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:247)
> 14:02:55,135 ERROR [STDERR] 	at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:44)
> 14:02:55,135 ERROR [STDERR] 	at com.metamatrix.common.queue.WorkerPoolFactory$StatsCapturingSharedThreadPoolExecutor$1.run(WorkerPoolFactory.java:211)
> 14:02:55,135 ERROR [STDERR] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 14:02:55,135 ERROR [STDERR] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 14:02:55,135 ERROR [STDERR] 	at java.lang.Thread.run(Thread.java:619)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list