https://issues.apache.org/bugzilla/show_bug.cgi?id=49574
Summary: ConcurrentModificationException when updating a WAR
file
Product: Tomcat 6
Version: 6.0.20
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
This is on openSuSE Linux 11.2 with using the tomcat6-6.0.20-24.6.2 RPM.
I updated a WAR file and while tomcat was shutting down the app this exception
appeared in the logs:
Jul 8, 2010 4:28:24 PM org.apache.catalina.startup.HostConfig checkResources
WARNING: Error while removing context [/decider]
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:810)
at java.util.HashMap$EntryIterator.next(HashMap.java:851)
at java.util.HashMap$EntryIterator.next(HashMap.java:849)
at java.util.HashMap.putAllForCreate(HashMap.java:452)
at java.util.HashMap.clone(HashMap.java:686)
at
org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1633)
at
org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1536)
at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:707)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4611)
at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
at
org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1115)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1323)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:636)
Looks like there is some kind of race condition in tomcat.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]