tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ghorpade, Rajendra" <RGhorp...@onebridge.de>
Subject RE: Conncurency issue with tomcat???
Date Thu, 16 May 2002 12:11:30 GMT
No! I did'nt tried it with JMeter.
But when I ran the test without any processing on the server then it works
fine.
So I do'nt know how this would affect the behaviour of the server.
may be it is the underlined implementation of the socket in the
HttpUrlConnection..Just a wild guess!!

Did u heard about problem with the same session (sesion id) being processed
in two different thread at the same time?
I had put a check in the *service* method for this.I store the session ID in
hashtable(class variable to the servlet) when I enter the service method and
remove it when i get out of this method.The adding and removing is done in a
synchronized block with hashtable as an argument.So this is thread safe.If
there is a session with the same id I throw an Concurrent exception.
And to mine suprise I get this exception...:-)

Any suggestion????

Raj

-----Original Message-----
From: peter lin [mailto:peter.lin@labs.gte.com]
Sent: Thursday, May 16, 2002 1:44 PM
To: Tomcat Users List
Subject: Re: Conncurency issue with tomcat???



have you tried using jakarta JMeter to perform the same test?

peter



"Ghorpade, Rajendra" wrote:
> 
> Hi again,
> 
> One information missing in the previous mail
> I am using tomcat 4.0.1
> 
> Raj
> 
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message