Bug 44534 - ConcurrentModificationException upon container startup
Summary: ConcurrentModificationException upon container startup
Status: RESOLVED INVALID
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 5.5.26
Hardware: PC Linux
: P2 major (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-04 13:27 UTC by Justin
Modified: 2008-03-06 13:16 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin 2008-03-04 13:27:23 UTC
I have to restart my server several times to avoid the following:

4-Mar-08 12:56:12 AM org.apache.catalina.connector.MapperListener init
WARNING: Error registering contexts
java.util.ConcurrentModificationException
   at java.util.HashMap$HashIterator.next(libgcj.so.8rh)
   at gnu.javax.management.Server.queryMBeans(libgcj.so.8rh)
   at org.apache.catalina.connector.MapperListener.init(catalina-5.5.26.jar.so)
   at org.apache.catalina.connector.Connector.start(catalina-5.5.26.jar.so)
   at org.apache.catalina.core.StandardService.start(catalina-5.5.26.jar.so)
   at org.apache.catalina.core.StandardServer.start(catalina-5.5.26.jar.so)
   at org.apache.catalina.startup.Catalina.start(catalina-5.5.26.jar.so)
   at java.lang.reflect.Method.invoke(libgcj.so.8rh)
   at org.apache.catalina.startup.Bootstrap.start(bootstrap.jar.so)
   at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)
4-Mar-08 12:56:12 AM org.apache.jk.common.ChannelSocket init

When I get it, the webapps do not load properly.

I installed Tomcat 5.5.26 on Fedora 8 x86_64 with RPMs:

108$rpm -qa | grep tomcat
jakarta-commons-pool-tomcat5-1.3-9jpp.3.fc8
tomcat5-servlet-2.4-api-5.5.26-1jpp.2.fc8
tomcat5-jsp-2.0-api-5.5.26-1jpp.2.fc8
tomcat5-jasper-5.5.26-1jpp.2.fc8
jakarta-commons-collections-tomcat5-3.1-9jpp.2.fc7.1
tomcat5-common-lib-5.5.26-1jpp.2.fc8
tomcat5-server-lib-5.5.26-1jpp.2.fc8
tomcat5-admin-webapps-5.5.26-1jpp.2.fc8
tomcat5-webapps-5.5.26-1jpp.2.fc8
jakarta-commons-dbcp-tomcat5-1.2.1-10jpp.2.fc8
tomcat5-5.5.26-1jpp.2.fc8

The machine is dual CPU with dual cores, and is using gcj as installed by default with Fedora 8 RPMs.
Comment 1 Mark Thomas 2008-03-06 13:16:02 UTC
This is a problem with the gnu java distro.