Chuck, I am very clear about the whole thing. Please try to understand my point properly too.
Your point can be right and valid and would be very significant to help Gael. Gael should be able to get to the point where his app might do wrong, or miss leading Tomcat threads. What I have been saying is that we should reconsider very carefully whether there should be any enhancement in Tomcat. From the Tomcat code you dug out, there is something not quite perfect, in term of MT safe while initializing. No argument. One of your posted messages did state that it is valid for two threads to access/operate on the ParameterMap once it has been established. So, it may be pretty hard and confusing what the app developer should be doing at the upper level. Whether it is appropriate to enhance Tomcat or not, and when, I don't think I am in the right position to justify. I guess once Gael has clarified his issue. He may be in a better position to make significant comments, and see if you can agree. Dong -----Original Message----- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, 13 December 2006 11:34 AM To: Tomcat Users List Subject: RE: Multi processor issue > From: JiaDong Huang [mailto:[EMAIL PROTECTED] > Subject: RE: Multi processor issue > > Not sure if the app really cares which thread should do the > parameterMap initialization. You're missing the entire point of this exercise: no Request object should EVER be processed by more than one thread. No synchronization changes are needed within Tomcat. The most likely cause of the problem is code in the app itself exposing a Request object at the session or context level (e.g., storing it as a session attribute), thereby causing a thread working on a second, separate request to grab the wrong Request object. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]