tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: session#getId changes during doGet invocation under heavy load
Date Sat, 30 Dec 2006 23:19:49 GMT
Also be aware of the distinction between Request.getSession(true) and Request.getSession(false)
Request.getSession(true) will attempt to create a new session (if none exists)
Request.getSession(false) will NOT create a new session
(perhaps you should use option 2)

Also which mechanism are you are using to create,prepare,execute and commit your DB statement?
It appears you *may* have some asynchronous operations executing which may not be synchronsing
to the invoking call 

This e-mail message (including attachments, if any) is intended for the use of the individual
or entity to which it is addressed and may contain information that is privileged, proprietary
, confidential and exempt from disclosure. If you are not the intended recipient, you are
notified that any dissemination, distribution or copying of this communication is strictly
Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant)
s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé
ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il
est strictement interdit de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
From: "Hassan Schroeder" <>
To: "Tomcat Users List" <>
Sent: Saturday, December 30, 2006 2:39 PM
Subject: Re: session#getId changes during doGet invocation under heavy load

> On 12/30/06, Peter Coppens <> wrote:
>> That said, I am baffled by the fact that some connections take >15minutes.
> Are you referring to MySQL connection setup time? Or query time?
> Either way, it certainly doesn't sound like a Tomcat problem... :-)
> -- 
> Hassan Schroeder ------------------------
> ---------------------------------------------------------------------
> To start a new topic, e-mail:
> To unsubscribe, e-mail:
> For additional commands, e-mail:
View raw message