I once worked on a portal site that experienced very odd behaviour under
load.  When in development, everyone got what they were expecting.  Under
load testing, pages where missing items, some items were duplicated, etc,
etc.

The problem was the usage of variables in a JSP page declared in:
<%!  %>
or the corresponding type of variable (instance variables) in servlets.

It doesn't show up under normal load, because individual users can get "in
and out" without anyone being the wiser.  Once the container starts getting
loaded though, you can have person A's request not being completed before
person B's request is begun processing.



Mike Curwen
Product Manager
Globally Boundless 
www.globallyboundless.com

204.885.7733 ext 227



> -----Original Message-----
> From: Roberto Rios [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 22, 2004 2:51 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat lost request parameters
> 
> 
> Hi,
> 
> I know that my subject sounds crazy, but I'm going nuts...
> 
> I have an application, 100% java (jsp 1.2 and servlet 2.3). 
> This application has more or less 1,5 years. So it is stable. 
> I always used tomcat as my web server (without apache because 
> I don't have static html to be served) with no problem.
> 
> We are using TC 4.1.31, with J2SDK1.4.2_03 on a W2K/SP4 box 
> (Xeon 3.0Ghz with 2GB mem).
> 
> At this time we had more or less 25 concurrent users. We were happy...
> 
> Recently, another department in company started to use the 
> application. So now we have more or less 100 concurrent users.
> 
> Since then the problems began raising. Most of then when we 
> try to insert/update data in database. Generally we receive 
> errors telling that we tried to insert null values into a not 
> null field (BTW we are using oracle 8.1.7 with JDBC - classes12.jar).
> 
> My point is that application was working. Nothing changed 
> (except the number of users). So, I'm sure that the fields 
> are being properly filled.
> 
> What I would like to ask you, is if someone has experienced 
> this kind of problem. I was wondering if tomcat could lost 
> request parameters under heavy traffic...
> 
> I don't have any prove that it actually lost something. As I 
> said, I'm just wondering. Maybe the JDBC...
> 
> Searching into the mailing list archive, I found a thread 
> about performance. I have changed the connector maxProcessors 
> to 150 and also add maxKeepAliveRequests="1" to it after 
> reading it. Nothing change.
> 
> Does someone has some advice? I know that my posting is 
> vague, but I don't where to look anymore...
> 
> I was thinking about to do a tomcat upgrade (to 5.0.X).
> 
> TIA,
> 
> Bob
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to