[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 07, 2005 1:15 PM
To: Tomcat Users List
Subject: RE: Servlet Concurrency Issues
From: Michael Pasko [mailto:[EMAIL PROTECTED]
Subject: Servlet Concurrency Issues
I started allowing other users on it, I stumbled on some problems.
Basically what
[mailto:[EMAIL PROTECTED]
Sent: 08 June 2005 13:33
To: 'Tomcat Users List'
Subject: RE: Servlet Concurrency Issues
Thanks Chuck, that was exactly the problem. I was under the very poor
assumption that a new thread and newly instantiated servlet object was
created every time a request was made
From: Michael Pasko [mailto:[EMAIL PROTECTED]
To mimic the desired behavior I've fixed
the problem by adding this (implements SingleThreadModel)...
public class ServletName implements SingleThreadModel
Note that SingleThreadModel isn't supported in more recent versions of
Tomcat. This may
On 6/8/05, Peter Crowther [EMAIL PROTECTED] wrote:
Note that SingleThreadModel isn't supported in more recent versions of
Tomcat. This may or may not worry you depending on whether you want to
move to a more recent version :-).
I've posted already about that: if you don't know about
From: Remy Maucherat [mailto:[EMAIL PROTECTED]
Your statement is completely wrong, STM is fully supported in Tomcat
5.5, with instance pooling for good performance.
Sorry, Remy - I should have checked rather than relying on memory.
- Peter
On 6/8/05, Peter Crowther [EMAIL PROTECTED] wrote:
From: Remy Maucherat [mailto:[EMAIL PROTECTED]
Your statement is completely wrong, STM is fully supported in Tomcat
5.5, with instance pooling for good performance.
Sorry, Remy - I should have checked rather than relying on memory.
No
, what is the most common method of
writing thread safe code?
Thank you very much for your help.
-Mike
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 07, 2005 1:15 PM
To: Tomcat Users List
Subject: RE: Servlet Concurrency Issues
On 6/8/05, Dakota Jack [EMAIL PROTECTED] wrote:
Your best bet for understanding multithreading issues is to get a good
understanding of the JVM.
Can you recommend one ?
--
rgds
Anto Paul
-
To unsubscribe, e-mail: [EMAIL
hihi all,
does Tomcat 5.5.x handle this instance pooling transparently for
objects implementing STM?
do i need to configure Tomcat to turn on this feature?
tia,
woodchuck
--- Remy Maucherat [EMAIL PROTECTED] wrote:
Your statement is completely wrong, STM is fully supported in Tomcat
5.5,
I've recently developed a servlet that connects to an AS/400, and returns
results off an sql query based off criteria submitted by a form. I've had
pretty much exclusive use of the Tomcat server during development, but when
I started allowing other users on it, I stumbled on some problems.
From: Michael Pasko [mailto:[EMAIL PROTECTED]
Subject: Servlet Concurrency Issues
I started allowing other users on it, I stumbled on some problems.
Basically what happens, when user A submits the form, and then 2
seconds later user B submits the same form. User A stops getting
results
@jakarta.apache.org'
Subject: Servlet Concurrency Issues
I've recently developed a servlet that connects to an AS/400,
and returns
results off an sql query based off criteria submitted by a
form. I've had
pretty much exclusive use of the Tomcat server during
development, but when
I started allowing
12 matches
Mail list logo