wood burning stoves 2.0*
The moose likes Threads and Synchronization and the fly likes Difference between http thread and ajp threads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Difference between http thread and ajp threads" Watch "Difference between http thread and ajp threads" New topic
Forums: Threads and Synchronization Tomcat
Author

Difference between http thread and ajp threads

Radhika Chavan
Greenhorn

Joined: Jun 12, 2013
Posts: 3
hello,
I am using tomcat and web application is deployed on it.Can some one tell me ,when http threads are created and when ajp thread???
I have to monitor ajp thread pool,so how application should be so ajp threads are created.
Please guide me....
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18546
    
  40


Tomcat specific question. Adding this topic to the Tomcat forum.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15962
    
  19

Tomcat uses thread pools, and according to what I read superficially in the documentation, each Connector object has its own thread pool. Pools are constructed with a fixed initial size, and (in many cases), allowed to grow and shrink to predefined limits.

I would expect that the internal Tomcat monitoring mechanisms (such as jmx) can be used to track the pool sizes over time.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
jQuery in Action, 2nd edition
 
subject: Difference between http thread and ajp threads
 
Similar Threads
apache tomcat 6.0.14 not starting
Apache web server tomcat : Connector protocol conflict
IIS Integrated Authentication + Tomcat Form-based (or basic) Authentication
How do I close a bound socket?
Apache Web Server returns Connection Refused