You don't need two threads. If you are using an iterator and are removing from the collection you are iterating over - you will get this error.
If you are using EJB CMP then you need to know how relationships work because it is easy to run into this. sandeep --- Fedor Smirnoff <[EMAIL PROTECTED]> wrote: > Hi I asked similar question and yet did not get an > answer, I dont know why its happening in my case, > however, I know that ConcurrentModificationException > is thrown when a thread is trying to modify a > collection while another thread is still iterating > it. > Dont know if it helps you or not sorry. > > Sincerely, > Fedor > > --- Michael Ruppin <[EMAIL PROTECTED]> wrote: > > I'm getting the following, using 1.1-rc1 > > ActionMessages.add(ActionMessages messages): > > > > [6/20/03 11:15:23:344 CDT] 2d4fa5a WebGroup > E > > SRVE0026E: [Servlet Error]-[AxisPortalServlet]: > > java.util.ConcurrentModificationException > > at > > > java.util.AbstractList$Itr.checkForComodification(AbstractList.java(Inlined > > Compiled Code)) > > at > > > java.util.AbstractList$Itr.next(AbstractList.java(Compiled > > Code)) > > at > > > org.apache.struts.action.ActionMessages.add(ActionMessages.java:185) > > > > __________________________________ > > Do you Yahoo!? > > SBC Yahoo! DSL - Now only $29.95 per month! > > http://sbc.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]