No add, no remove. More interesting fresh result. As I said it happens
sometimes, not always. Sometimes when I send two concurrent requests (from 2
*diferent* browser sessions!) there is no errors at all but the result jsp
data sheet is summarised! E.g. I get doubled amount of elements in the list
on both pages - 304 instead of 152 in normal situation. It seems obviously
that somewhere session objects of two different users are overlapped. How do
you like it?

----- Original Message ----- 
From: "Guillermo Meyer" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, March 02, 2004 9:14 PM
Subject: RE: ConcurrentModificationException


|
| If the collection you are iterating is not synchronized, you can get
| this error if you remove or add elements. Try using java.util.Vector as
| your collection implementation.
|
| -----Original Message-----
| From: [EMAIL PROTECTED]
| [mailto:[EMAIL PROTECTED]
| Sent: Martes, 02 de Marzo de 2004 03:12 p.m.
| To: [EMAIL PROTECTED]
| Subject: RE: ConcurrentModificationException
|
|
| genarally you get this error with lists if you are iterating over list
| and remove element/add element to list..
|
| -----Original Message-----
| From: Sergei P. Volin [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, March 02, 2004 7:08 PM
| To: Struts Users Mailing List
| Subject: Re: ConcurrentModificationException
|
|
|
| The exception arised by doAfterBody method of IterateTag class, namely
| at </logic:iterate>. It means that at least one time the body of
| iteration was done. I can guarantee that inside itereator tags -
| <logic:iterate>...</logic:iterate> I do not change nor iterator either
| session attributes - just reading of session beans. So if smth of that
| changes is that only due to some kind of requests interaction. I don't
| know how it could be. This is really painful to me since I can't even
| think what could it be and the issue persists from time to time. And
| again - the application works smoothly when there is no collision of
| requests.
|
| ----- Original Message ----- 
| From: "Brad Balmer" <[EMAIL PROTECTED]>
| To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
| Sent: Tuesday, March 02, 2004 8:49 PM
| Subject: Re: ConcurrentModificationException
|
|
| |
| | Any chance that you were iterating through your HttpSession removing
| | attributes?
| |
| | Sergei P. Volin wrote:
| |
| | >Greetings!
| | >
| | >Why did I get this message when sending two concurent requests to the
| same page?
| | >I'm using:
| | >1) RH8.0, Linux 2.4.18 #2 SMP
| | >2) java version "1.4.0"
| | >Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0)
| | >Classic VM (build 1.4.0, J2RE 1.4.0 IBM build cxia32140-20020917a
| | >(JIT
| enabled: jitc))
| | >3) Tomcat 5.0.19
| | >4) Struts 1.1
| | >
| | >The same exception I've got on 4.1.24. I really have problems (with
| | >other
| symptoms) with concurrent requests. Not often (because server is not
| highly
| exploited) but persisted. And more often on Linux platform than on
| Windows. Why so? Could it be a jvm issue? Or may be Tomcat? Or Struts?
| Or mine? Without concurrent requests application works smoothly.
| | >
| | >Regards,
| | >
| | >Sergei Volin.
| | >
| | >HTTP Status 500 -
| | >



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to