Author
user configuration
Arun Prasath
Ranch Hand
Joined: May 23, 2007
Posts: 80
posted Jun 26, 2007 03:24:00
0
is there any way to configure the number of users who can access the tomcat server at a time? if so, tell me. ( i mean number of users who can hit the server a time)
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
There is a maxThreads attribute but I'm not sure I understand what you mean by number of users who can hit Tomcat at one time. Do you mean actual concurrent HTTP requests or number of active sessions that can occur at the same time? Explain, exactly what you're trying to do and we might be able to come up with a solution for you.
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Arun Prasath
Ranch Hand
Joined: May 23, 2007
Posts: 80
posted Jun 27, 2007 03:07:00
0
yes.i meant the number of concurrent http requests coming in to the tomcat server.......
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
"Arun AV", Before we continue this discussion, would you mind fixing your screen name? Bear gave you the links to our naming policy and the page for fixing it. Here they are again. JavaRanch Naming Policy Profile Editor Note after being asked/warned 3 times, accounts are subject to being closed without further warning. This will count as the second. Thanks. [ June 27, 2007: Message edited by: Ben Souther ]
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
Thanks for fixing your name. Have a look at the maxThreads, maxSpareThreads, minSpareThreads entries in this page for more information on configuring the number of concurrent hits Tomcat will accept. http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
I agree. Here's the link: jrebel
subject: user configuration