Hi, > -----Original Message----- > From: John Wadkin [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 11, 2002 4:34 PM > To: 'Tomcat Users List' > Subject: RE: Database servlets > >
I've looked through your servlet and it definitely shouldn't work with more than one simultaneous request. Take a look at that class instance variables private Statement stmt; private Connection dbCon; private HttpServletRequest req; private HttpServletResponse res; private PrintWriter out; They can't be safely used in multithreaded environment. This servlet can work only if implements SingleThreadModel. Anton -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>