[ https://issues.apache.org/jira/browse/JSPWIKI-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juan Pablo Santos RodrÃguez resolved JSPWIKI-932. ------------------------------------------------- Resolution: Fixed Fix Version/s: 2.11.0-M1 The innermost exception on the stacktrace shows: {code:java} Caused by: java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901) at java.util.ArrayList$Itr.next(ArrayList.java:851) at org.apache.wiki.providers.CachingAttachmentProvider.findAttachmentFromCollection(CachingAttachmentProvider.java:247) {code} which refers to a collection passed by parameter, which in turn is a list of attachments obtained from ehcache, so it seems that ehcache is refreshing the list somewhere else while the iteration is taking place, which yields the {{ConcurrentModificationException}}. Should be fixed on 2.11.0-M1-git-01, please feel free to reopen if you see that the error persists. thx, juan pablo > Failed to start managers. java.util.ConcurrentModificationException > ------------------------------------------------------------------- > > Key: JSPWIKI-932 > URL: https://issues.apache.org/jira/browse/JSPWIKI-932 > Project: JSPWiki > Issue Type: Bug > Affects Versions: 2.10.1 > Reporter: Christopher Janitschke > Priority: Minor > Fix For: 2.11.0-M1 > > > Hi, > if i restart the tomcat, sometimes one of the JSPWiki's won't come up again, > due to java.util.ConcurrentModificationException. > Any ideas? > I have about 16 JSPWiki's on one server. Is it simply too much? > Tomcat Version 8.0.22 > JSP-Log: > 2016-03-03 04:31:23,386 [wikiland.de-startStop-1] FATAL > org.apache.wiki.WikiEngine - Failed to start managers. > java.util.ConcurrentModificationException > 2016-03-03 04:31:23,387 [wikiland.de-startStop-1] ERROR > org.apache.wiki.WikiEngine - ERROR: Failed to create a Wiki engine, > stacktrace follows > org.apache.wiki.api.exceptions.WikiException: JSPWiki: Unable to load and > setup properties from jspwiki.properties. Failed to start managers: null > 2016-03-03 04:31:23,460 [JSPWiki Lucene Indexer] ERROR > org.apache.wiki.search.LuceneSearchProvider - Unable to start lucene > java.lang.IllegalStateException: Can't overwrite cause with > java.lang.IllegalStateException: Illegal access: this web application > instance has been stopped already. -- This message was sent by Atlassian JIRA (v7.6.3#76005)