Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 22629 invoked from network); 4 Oct 2000 00:28:30 -0000 Received: from msp-26-164-174.mn.rr.com (HELO localhost.localdomain) (24.26.164.174) by locus.apache.org with SMTP; 4 Oct 2000 00:28:30 -0000 Received: from fatman (IDENT:nobody@localhost [127.0.0.1]) by localhost.localdomain (8.9.3/8.9.3) with SMTP id SAA13047 for ; Tue, 3 Oct 2000 18:26:28 -0500 Message-ID: <135635909.970615588719.JavaMail.nobody@fatman> Date: Tue, 3 Oct 2000 18:26:28 -0500 (CDT) From: BugRat Mail System Reply-To: BugRat Mail System To: tomcat-bugs@cortexity.com Subject: BugRat Report #200 has been filed. Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="135619073.970615588684.JavaMail.nobody@fatman" X-Mailer: org.gjt.mail.EnhancedMimeMsg, Organization: The Giant Java Tree, X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N --135619073.970615588684.JavaMail.nobody@fatman Content-Type: text/plain Content-Transfer-Encoding: 7bit Bug report #200 has just been filed. You can view the report at the following URL: REPORT #200 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: high Severity: critical Confidence: public Environment: Release: 3.1 JVM Release: 1.2.2 Operating System: Solaris OS Release: 2.8 Platform: Sun Sparc Synopsis: Simultaneous requests from browsers cause data returned by JSPs to be garbled Description: We have a servlet that queries an Oracle DB. The data that is returned is stored in a Vector that is passed from the servlet to a JSP to be rendered to the client browser. Everything works like a charm when we have a single client browser firing the query. But when two or more (we tested for 3) client browsers fire the same query simultaneously, the results are inconsistent. Sometimes all the client browsers get the correct results. Sometimes some records are missing for one of the clients, while another client may get multiple copies of the same record. the flow is as follows:- BROWSER -> SERVLET -> ORACLE -> SERVLET -> JSP -> BROWSER. The results that come back from ORACLE to the servlet are fine. We checked that by writing those out to a different file. We are capturing the results from the database in a Vector Object in the servlet and passing that Vector on to the JSP. According to my knowledge, each client request creates a seperate instance of the servlet and hence each client request can be associated with a unique Vector Object. I believe the JSESSIONID variable ensures that Tomcat knows which Vector Object belongs to which client browser. We are suspecting our problem lies when the data is being passed on to the client browser. Is there something special we need to add in our JSP? Any help would be most welcome. We suspect that the problem lies in --135619073.970615588684.JavaMail.nobody@fatman Content-Type: text/html; name=Report-200.html Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=Report-200.html Content-Description: DataSource attachment 'Report-200.html' BugRat Report # 200

BugRat Report # 200

Project: Tomcat Release: 3.1
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: high Severity: critical
Confidence: public

Submitter: Aditya Shah ( aditya103@hotmail.com )
Date Submitted: Oct 3 2000, 06:26:28 CDT
Responsible: Z_Tomcat Alias ( tomcat-bugs@cortexity.com )

Synopsis:
Simultaneous requests from browsers cause data returned by JSPs to be garbled
Environment: (jvm, os, osrel, platform)
1.2.2, Solaris, 2.8, Sun Sparc

Additional Environment Description:
Apache 1.3.12 is the Web Server

Report Description:
We have a servlet that queries an Oracle DB. The data that is returned is stored in a Vector that is passed from the servlet to a JSP to be rendered to the client browser. Everything works like a charm when we have a single client browser firing the query. But when two or more (we tested for 3) client browsers fire the same query simultaneously, the results are inconsistent. Sometimes all the client browsers get the correct results. Sometimes some records are missing for one of the clients, while another client may get multiple copies of the same record. the flow is as follows:- BROWSER -> SERVLET -> ORACLE -> SERVLET -> JSP -> BROWSER. The results that come back from ORACLE to the servlet are fine. We checked that by writing those out to a different file. We are capturing the results from the database in a Vector Object in the servlet and passing that Vector on to the JSP. According to my knowledge, each client request creates a seperate instance of the servlet and hence each client request can be associated with a unique Vector Object. I believe the JSESSIONID variable ensures that Tomcat knows which Vector Object belongs to which client browser. We are suspecting our problem lies when the data is being passed on to the client browser. Is there something special we need to add in our JSP? Any help would be most welcome. We suspect that the problem lies in

View this report online...
--135619073.970615588684.JavaMail.nobody@fatman--