Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 47981 invoked from network); 15 Apr 2003 16:34:19 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 15 Apr 2003 16:34:19 -0000 Received: (qmail 20400 invoked by uid 97); 15 Apr 2003 16:36:15 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 20393 invoked from network); 15 Apr 2003 16:36:15 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 15 Apr 2003 16:36:15 -0000 Received: (qmail 46562 invoked by uid 500); 15 Apr 2003 16:34:03 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 46545 invoked from network); 15 Apr 2003 16:34:03 -0000 Received: from unknown (HELO denlin.zserve.com) (64.122.16.226) by daedalus.apache.org with SMTP; 15 Apr 2003 16:34:03 -0000 Received: (qmail 9402 invoked from network); 15 Apr 2003 16:34:06 -0000 Received: from unknown (HELO zserve.com) (127.0.0.1) by localhost with SMTP; 15 Apr 2003 16:34:06 -0000 Message-ID: <3E9C347E.1080000@zserve.com> Date: Tue, 15 Apr 2003 10:34:06 -0600 From: Dennis Muhlestein User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030320 X-Accept-Language: en-us, en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: tomct-replication Exception: java.util.ConcurrentModificationException References: In-Reply-To: X-Enigmail-Version: 0.73.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thank you for the response. I guess my point in posting this, is that the exception occurs in the tomcat-replication code, not in my code. Was wondering if Filip had come accross anything like this. -Dennis Andy Eastham wrote: >Dennis, > >This is a feature of the collections framework. If you create an iterator >on a collection, then modify the underlying collection object, you get this >exception. > >I've had it when I've mistakenly used an iterator to loop over a collection >and tried to delete an object from the underling collection. Sometimes you >can perform the operation on the iterator itself to avoid this. > >You should be able to redesign the code to avoid it, once you know why it's >occurring. > >Andy > > > >>-----Original Message----- >>From: Dennis Muhlestein [mailto:dennis@zserve.com] >>Sent: 15 April 2003 15:34 >>To: tomcat-user@jakarta.apache.org >>Subject: tomct-replication Exception: >>java.util.ConcurrentModificationException >> >> >>We get this exception in our catalina.out file fairly often. Any >>suggestions? >> >>java.util.ConcurrentModificationException >> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:762) >> at java.util.HashMap$KeyIterator.next(HashMap.java:798) >> at >>org.apache.catalina.cluster.mcast.McastMembership.expire(McastMemb >>ership.java:52) >> at >>org.apache.catalina.cluster.mcast.McastServiceImpl.receive(McastSe >>rviceImpl.java:116) >> at >>org.apache.catalina.cluster.mcast.McastServiceImpl$ReceiverThread. >>run(McastServiceImpl.java:140) >> >> >>Using Filip's tomcat-replication.jar/tomcat 4.1.18/blackdown-jdk-1.4.1 >> >>-Thanks >>Dennis >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >> >> >> >> > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org