----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Yeah, I'm aware of that.
However, this is not the problem here. I have my own development machine and
I am the only person making requests to servlets on it, so it is not
possible that some other servlet request is messing with the variables.
Thanks!
Otis
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Wilks, Dan
Sent: Monday, May 15, 2000 4:38 PM
To: 'Java Apache Users'
Subject: RE: slow JDBC calls under JServ 1.1
----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Sorry if I'm saying stuff you already know but...
>> -- OK, my code is included. I don't use any threads in my code.
JServ is, itself, multi-threaded. JServ loads a *single* instance of your
servlet. Each request to your servlet it run on a new thread through that
single instance. So although your app is not multi-threaded, it is running
in a m-t environment. A good rule of thumb is: do not put member variables
in your servlet class.
Dan
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]