----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Well, what I meant was not to declare PrintWriter object as a class field but
rather as local one in doGet/doPost method. I do not think you did this stupid
mistake though, but we had here such problems with students developing servlets
...
- Boris
>
>----------------------------------------------------------------
>BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
>WHEN YOU POST, include all relevant version numbers, log files,
>and configuration files. Don't make us guess your problem!!!
>----------------------------------------------------------------
>
>I am having a similar kind of problem with servlets supposedly
>returning the info to the wrong person under heavy load. If I can't
>use the PrintWriter object to print a page to the requester how can I
>do it? The HttpResponse output stream is a printwriter.
>
>The page I am returning has all the no-cache meta-tags in its head
>section.
>
>Any suggestions?
>
>
>Boris Niyazov wrote:
>>
>> ----------------------------------------------------------------
>> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
>> WHEN YOU POST, include all relevant version numbers, log files,
>> and configuration files. Don't make us guess your problem!!!
>> ----------------------------------------------------------------
>>
>> Are you sure your servlets are coded for threads properly so they do not have
>> shared objects like PrintWriter?
>>
>> *********************************************************************
>> * Boris Niyazov Ph: 212-854-4094 Fax: 212-854-1749 *
>> * Systems Manager Email: [EMAIL PROTECTED] *
>> * Columbia Law School URL: http://www.law.columbia.edu *
>> *********************************************************************
>>
>> >Date: Fri, 24 Nov 2000 20:21:47 -0200
>> >From: Claudio Higashi <[EMAIL PROTECTED]>
>> >X-Accept-Language: en,pdf
>> >MIME-Version: 1.0
>> >To: Java Apache Users <[EMAIL PROTECTED]>
>> >Subject: Session problems
>> >Content-Transfer-Encoding: 7bit
>> >List-Software: LetterRip Pro 3.0.7 by Fog City Software, Inc.
>> >List-Subscribe: <mailto:[EMAIL PROTECTED]>
>> >List-Digest: <mailto:[EMAIL PROTECTED]>
>> >List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
>> >
>> >----------------------------------------------------------------
>> >BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
>> >WHEN YOU POST, include all relevant version numbers, log files,
>> >and configuration files. Don't make us guess your problem!!!
>> >----------------------------------------------------------------
>> >
>> >Hi all,
>> >
>> >i'm using Apache JServ 1.1.2, Apache 1.3.12 under Solaris 8.
>> >
>> >I have a servlet application that stores users data in the session. When
>> >the application is overloaded, sometimes an user session is changed to
>> >another user's session.
>> >
>> >For example, sometimes an user A whose name is Albert and an user B
>> >named Beth are logged in the application and the system is overloaded,
>> >the user B see Albert as her name (but she is Beth).
>> >
>> >
>> >It's similar to a bug reported in
>> >http://bugs.apache.org/index.cgi/full/6112
>> >but this bug is in open state, yet...
>> >
>> >Does anybody have experienced something like this?
>> >Please, any comments will be very appreciated.
>> >
>> >
>> >--
>> >Claudio Higashi
>> >Software Engineer
>> >Phone: +55 19 3737-4540
>> >Fax : +55 19 3737-4501
>> >CI&T - software enabling the e-world
>> >http://www.cit.com.br
>> >
>> >
>> >--
>> >--------------------------------------------------------------
>> >Please read the FAQ! <http://java.apache.org/faq/>
>> >To subscribe: [EMAIL PROTECTED]
>> >To unsubscribe: [EMAIL PROTECTED]
>> >Search Archives:
>> ><http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
>> >Problems?: [EMAIL PROTECTED]
>> >
>>
>> --
>> --------------------------------------------------------------
>> Please read the FAQ! <http://java.apache.org/faq/>
>> To subscribe: [EMAIL PROTECTED]
>> To unsubscribe: [EMAIL PROTECTED]
>> Search Archives:
>> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
>> Problems?: [EMAIL PROTECTED]
>
>--
>Chris Cheshire
>Manager of Software Development
>bigredwire.com
>Phone : +1 805 560 6666 (w)
> +1 805 559 9166 (m)
>Fax : +1 805 560 8901
>Email : [EMAIL PROTECTED]
>
> Real Programmers don't draw flowcharts.
> Flowcharts are the illiterate's form of
> documentation. Cavemen drew flowcharts;
> look at how much good it did for them
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Search Archives:
><http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
>Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]