[ https://issues.apache.org/jira/browse/JSPWIKI-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15187752#comment-15187752 ]
Harry Metske commented on JSPWIKI-932: -------------------------------------- Hmmm, this is a strange one. Assuming you run your jspwiki's in tomcat in the "normal way", meaning they run as separate webapps, and don't share jspwiki code (tomcat lib directory), that would mean that all your wiki's run with different classloaders and should not "see" each other. The ConcurrentModificationException occurs on a collection defined at http://svn.apache.org/viewvc/jspwiki/tags/jspwiki_2_10_1/jspwiki-war/src/main/java/org/apache/wiki/providers/CachingAttachmentProvider.java?view=markup#l287, which is a method variable. That would mean that during jspwiki start there are multiple threads running, that is weird. When you say "restart" , do you restart the tomcat process, or do you restart the individual wiki apps in tomcat? Anyone else ideas ? > 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 > > 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 (v6.3.4#6332)