More info:

   Took me some time to see, that you are using 1.4.5 as I think (maybe even
more recent, but definitely not the latest 1.5.2).

   com.evermind.server.rmi.RmiServer has:

   java.util.List eb;

<snatch>

    public final void gb(ba ba1)
    {
        synchronized(eb)
        {
            eb.remove(ba1);
        }
    }

</snatch>

<snatch>
    public RMIServer(ApplicationServer applicationserver)
    {
      ..... blah blah blah .....
        eb = new ArrayList();
      ..... blah blah blah .....
    }
</snatch>

   This is it... I don't however know what is the eb used for.
   It looks ok (there is syncronized working with the list), however
something does not work right.
   My guess: Move to 1.5.2 maybe?

   Lachezar.


> Hi ted,
> You are right, but the exeption is in an AbstractList and I'm not using
any
> extension of AbstractList. In addition, the exeption is in com.evermind
> pakage.
> I have analyzed this package and I've seen that the method
> com.evermind.server.rmi.RMIServer.gb uses a java.util.List. Therefore I
> suppose that it is an orion problem when the SLSB is created.
> Thanks, Esteban
>
>
>
> -----Original Message-----
> From: Rice, Ted [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 27, 2001 1:45 PM
> To: Orion-Interest
> Subject: RE: Concurrency
>
>
> you are working with a non-synchronized
> collection. if you get an iterator and
> attempt to modify the backing list with
> multiple threads you will receive a
> ConcurrentModificationException. synchronize
> on the the iterator or list.
>
> ./ted
>
> -----Original Message-----
> From: Lopez Esteban [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 27, 2001 3:44 AM
> To: Orion-Interest
> Subject: Concurrency
>
>
> > Hi
> > Please help me. I am working with a stateless EJB and I have about 250
> > clients which has to use this EJB.
> > When the clients access to the SLEJB concurretly, the Orion crash, and
the
> > server.log shows:
> >
> > 7/4/01 6:45 PM Internal server error
> > java.util.ConcurrentModificationException
> > at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
> > at java.util.AbstractList$Itr.next(Unknown Source)
> > at java.util.AbstractCollection.remove(Unknown Source)
> > at com.evermind.server.rmi.RMIServer.gb(JAX)
> > at com.evermind.server.rmi.ba.run(JAX)
> > at com.evermind.util.f.run(JAX)
> >
> > Anyone knows something about this.
> > Thanks!
> >
> > Esteban.
> >
>
>
>
>



Reply via email to