File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes user configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "user configuration" Watch "user configuration" New topic
Author

user configuration

Arun Prasath
Ranch Hand

Joined: May 23, 2007
Posts: 80
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
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: http://aspose.com/file-tools
 
subject: user configuration
 
Similar Threads
Number of users connected to WAS 5.1
Logoff users from a tool if they are inactive for a certain period of time.
Count the number of times a webpage has been visited
client server architecture ,EJB architecture and distributed architecture
Get Total session count