From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive
> Now, is this a fixable thing within the Java stack? Or is it an > application limitation? The other option is re-write the STM Servlet(s) as non-STM. What Mark didn't say is that, in this day and age, using the single-thread model is really rather dumb. It can be used to work around sloppy programming techniques, but shouldn't appear in any proper modern application. To quote from the servlet spec: "It is recommended that a developer take other means to resolve those issues instead of implementing this interface, such as avoiding the usage of an instance variable or synchronizing the block of the code accessing those resources. The SingleThreadModel Interface is deprecated in this version of the specification." (The above has been in the spec for many years.) - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org