[
https://issues.apache.org/jira/browse/MARMOTTA-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergio Fernández resolved MARMOTTA-277.
---------------------------------------
Resolution: Fixed
Assignee: Sergio Fernández (was: Sebastian Schaffert)
I'd consider this issue fixed, since it has not reappeared after 5 days running
in the two different installations where we detect it.
We need to think how to tests these things...
> Fix the Monitoring (Task) Service
> ---------------------------------
>
> Key: MARMOTTA-277
> URL: https://issues.apache.org/jira/browse/MARMOTTA-277
> Project: Marmotta
> Issue Type: Bug
> Components: Platform
> Affects Versions: 3.0-incubating
> Reporter: Jakob Frank
> Assignee: Sergio Fernández
> Priority: Critical
> Fix For: 3.1-incubating
>
>
> In some installations, the current tasks list in the admin-ui is filled up
> with entries that are no longer valid (i.e. tasks that are already finished)
> Now i found the following stacktrace in tomcat's localhost.log:
> Jul 23, 2013 4:40:49 PM org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet [default] in context with path [] threw
> exception
> org.jboss.resteasy.spi.UnhandledException:
> java.util.ConcurrentModificationException
> at
> org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:365)
> at
> org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:233)
> at
> org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:209)
> at
> org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:557)
> at
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:524)
> at
> org.jboss.resteasy.core.SynchronousDispatcher.invokePropagateNotFound(SynchronousDispatcher.java:169)
> at
> org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:212)
> at
> org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:59)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.marmotta.platform.core.servlet.MarmottaResourceFilter$LMFFilterChain.doFilter(MarmottaResourceFilter.java:186)
> at
> org.apache.marmotta.platform.core.filters.ModuleResourceFilter.doFilter(ModuleResourceFilter.java:163)
> at
> org.apache.marmotta.platform.core.filters.ModuleResourceFilter$Proxy$_$$_WeldClientProxy.doFilter(ModuleResourceFilter$Proxy$_$$_We
> ldClientProxy.java)
> at
> org.apache.marmotta.platform.core.servlet.MarmottaResourceFilter$LMFFilterChain.doFilter(MarmottaResourceFilter.java:181)
> at
> org.apache.marmotta.platform.core.servlet.MarmottaResourceFilter$LMFFilterChain.doFilter(MarmottaResourceFilter.java:183)
> at
> org.apache.marmotta.platform.core.filters.MarmottaServerNameFilter.doFilter(MarmottaServerNameFilter.java:104)
> at
> org.apache.marmotta.platform.core.servlet.MarmottaResourceFilter$LMFFilterChain.doFilter(MarmottaResourceFilter.java:181)
> at
> org.apache.marmotta.platform.core.filters.TemplatingFilter.doFilter(TemplatingFilter.java:176)
> at
> org.apache.marmotta.platform.core.filters.TemplatingFilter$Proxy$_$$_WeldClientProxy.doFilter(TemplatingFilter$Proxy$_$$_WeldClient
> Proxy.java)
> at
> org.apache.marmotta.platform.core.servlet.MarmottaResourceFilter$LMFFilterChain.doFilter(MarmottaResourceFilter.java:181)
> at
> org.apache.marmotta.platform.core.servlet.MarmottaResourceFilter$LMFFilterChain.doFilter(MarmottaResourceFilter.java:183)
> at
> org.apache.marmotta.platform.security.filters.MarmottaAccessControlFilter.doFilter(MarmottaAccessControlFilter.java:142)
> at
> org.apache.marmotta.platform.security.filters.MarmottaAccessControlFilter$Proxy$_$$_WeldClientProxy.doFilter(MarmottaAccessControlF
> ilter$Proxy$_$$_WeldClientProxy.java)
> at
> org.apache.marmotta.platform.core.servlet.MarmottaResourceFilter$LMFFilterChain.doFilter(MarmottaResourceFilter.java:181)
> at
> org.apache.marmotta.platform.user.filters.MarmottaAuthenticationFilter.doFilter(MarmottaAuthenticationFilter.java:163)
> at
> org.apache.marmotta.platform.user.filters.MarmottaAuthenticationFilter$Proxy$_$$_WeldClientProxy.doFilter(MarmottaAuthenticationFil
> ter$Proxy$_$$_WeldClientProxy.java)
> [...]
> Caused by: java.util.ConcurrentModificationException
> at java.util.WeakHashMap$HashIterator.nextEntry(WeakHashMap.java:784)
> at java.util.WeakHashMap$ValueIterator.next(WeakHashMap.java:811)
> at
> org.apache.marmotta.platform.core.services.task.TaskManagerServiceImpl.getTasks(TaskManagerServiceImpl.java:99)
> at
> org.apache.marmotta.platform.core.services.task.TaskManagerServiceImpl.getTasksByGroup(TaskManagerServiceImpl.java:182)
> at
> org.apache.marmotta.platform.core.services.task.TaskManagerServiceImpl$Proxy$_$$_WeldClientProxy.getTasksByGroup(TaskManagerServiceImpl$Proxy$_$$_WeldClientProxy.java)
> at
> org.apache.marmotta.platform.core.webservices.task.TaskManagerWebService.list(TaskManagerWebService.java:69)
> at
> org.apache.marmotta.platform.core.webservices.task.TaskManagerWebService$Proxy$_$$_WeldClientProxy.list(TaskManagerWebService$Proxy$_$$_WeldClientProxy.java)
> at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at
> org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167)
> at
> org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
> at
> org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
> at
> org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
> at
> org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:542)
> ... 50 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira