RE: concurrent users
Yes. acceptCount is the number of connections to queue or block on in excess of those being handled by the pool of size maxProcessors. Jamey -Original Message- From: Vijay Kandy [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 1:40 PM To: 'Tomcat Users List' Subject: concurrent users Hello, Is there a way to specify how many concurrent requests Tomcat can handle? Is maxProcessors attribute in server.xml for this purpose? Thank you, Vijay - 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]
RE: concurrent users
Thank you Jamey. -Vijay -Original Message- From: James Courtney [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 3:48 PM To: Tomcat Users List Subject:RE: concurrent users Yes. acceptCount is the number of connections to queue or block on in excess of those being handled by the pool of size maxProcessors. Jamey -Original Message- From: Vijay Kandy [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 1:40 PM To: 'Tomcat Users List' Subject: concurrent users Hello, Is there a way to specify how many concurrent requests Tomcat can handle? Is maxProcessors attribute in server.xml for this purpose? Thank you, Vijay - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Concurrent users accesing JSP application
All tomcat binaries are free and there are no evaluations. Make sure someone isn't swindling you. As for concurrent access, tomcat can handle many concurrent users. The only restriction is your code (or code your using) must be thread safe. If you are using ODBC (JDBC-ODBC bridge) - you will probably be very unstable since ODBC isn't very thread friendly with respect to java. If you are using 3rd party code, make sure it is thread safe. -Tim Sudhir Kumar wrote: hello, I am running a JSP application with tomcat 4.1.12. It works fine when accessed individually. But when more than 3 users try to access the same page or link simultaniously,it behaves abnormally, sometimes the tomcat crashes, sometimes i get some JParser exception. I have defined my own context in server.xml. Is there any configuration to be done in server.xml to allow maximun number of concurrent users ? The tomcat i am using is freely down loaded from the net and is an evaluation copy. Can anyone help me in this regard Thanks and best regards Sudhir - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Concurrent users accesing JSP application
hi Tim, Thanks for the reply.. I am using JDBC-ODBC bridge, the JSP's are thread safe and the block of code accessing the database are Syncronized. Will that be sufficient to say that my code is thread safe ? or will i have to do anything extra ? thanks Sudhir -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 7:12 PM To: Tomcat Users List Subject: Re: Concurrent users accesing JSP application All tomcat binaries are free and there are no evaluations. Make sure someone isn't swindling you. As for concurrent access, tomcat can handle many concurrent users. The only restriction is your code (or code your using) must be thread safe. If you are using ODBC (JDBC-ODBC bridge) - you will probably be very unstable since ODBC isn't very thread friendly with respect to java. If you are using 3rd party code, make sure it is thread safe. -Tim Sudhir Kumar wrote: hello, I am running a JSP application with tomcat 4.1.12. It works fine when accessed individually. But when more than 3 users try to access the same page or link simultaniously,it behaves abnormally, sometimes the tomcat crashes, sometimes i get some JParser exception. I have defined my own context in server.xml. Is there any configuration to be done in server.xml to allow maximun number of concurrent users ? The tomcat i am using is freely down loaded from the net and is an evaluation copy. Can anyone help me in this regard Thanks and best regards Sudhir - 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]
RE: Concurrent users accesing JSP application
On Thu, 20 Mar 2003, Sudhir Kumar wrote: Date: Thu, 20 Mar 2003 10:10:36 +0530 From: Sudhir Kumar [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Concurrent users accesing JSP application hi Tim, Thanks for the reply.. I am using JDBC-ODBC bridge, You can stop wondering now. This driver is *not* designed to be used in a multi-threaded environment like a servlet container, so you are bound to have thread safety problems. the JSP's are thread safe and the block of code accessing the database are Syncronized. Will that be sufficient to say that my code is thread safe ? or will i have to do anything extra ? Using a different JDBC driver is the most important issue. Even if you very carefully ensure that only one database operation at a time occurs, your application's response time will make it totally unusable for any reasonable number of concurrent users. thanks Sudhir Craig McClanahan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]